Class DlpServiceConnector

  • All Implemented Interfaces:
    org.exoplatform.container.component.ComponentPlugin

    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.
    • Constructor Detail

      • DlpServiceConnector

        public 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 Detail

      • 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)