Class DlpServiceConnector

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.dlp.connector.DlpServiceConnector
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
Direct Known Subclasses:
FileDlpConnector

public abstract class DlpServiceConnector extends org.exoplatform.container.component.BaseComponentPlugin
Is extended by all DlpService connectors, and allows to build configuration needed by a list of connectors that is used for Dlp.
  • Field Details

  • Constructor Details

    • DlpServiceConnector

      protected DlpServiceConnector(org.exoplatform.container.xml.InitParams initParams)
      Initializes a dlp service connector. The constructor is default that connectors must implement.
      Parameters:
      initParams - The parameters which are used for initializing the dlp service connector from configuration.
      eXo level API
      Experimental
  • Method Details

    • getType

      public String getType()
      Returns:
      the type
    • setType

      public void setType(String type)
      Parameters:
      type - the type to set
    • getDisplayName

      public String getDisplayName()
      Returns:
      the displayName
    • setDisplayName

      public void setDisplayName(String displayName)
      Parameters:
      displayName - the displayName to set
    • isEnable

      public boolean isEnable()
      Returns:
      the enable
    • setEnable

      public void setEnable(boolean enable)
      Parameters:
      enable - the enable to set
    • processItem

      public abstract boolean processItem(String entityId)
    • removePositiveItem

      public abstract void removePositiveItem(String itemReference)
    • getItemUrl

      public abstract String getItemUrl(String itemReference)
    • checkExternal

      public abstract boolean checkExternal(String userId)
    • restorePositiveItem

      public abstract void restorePositiveItem(String itemReference)