Interface ConnectorSettingService

All Known Implementing Classes:
ConnectorSettingServiceImpl

public interface ConnectorSettingService
  • Method Details

    • saveConnectorSettings

      void saveConnectorSettings(RemoteConnectorSettings remoteConnectorSettings, org.exoplatform.services.security.Identity aclIdentity) throws IllegalAccessException
      Save connector RemoteConnectorSettings which contains the api key, secret key and connector status
      Parameters:
      remoteConnectorSettings - RemoteConnectorSettings To Store
      aclIdentity - Security identity of user attempting to save connector settings
      Throws:
      IllegalAccessException
    • deleteConnectorSettings

      void deleteConnectorSettings(String connectorName, org.exoplatform.services.security.Identity aclIdentity) throws IllegalAccessException
      Delete connector settings identified by connector name
      Parameters:
      connectorName - connector name
      aclIdentity - Security identity of user attempting to retrieve connector settings
      Throws:
      IllegalAccessException
    • getConnectorSettings

      RemoteConnectorSettings getConnectorSettings(String connectorName, org.exoplatform.services.security.Identity aclIdentity) throws IllegalAccessException
      Parameters:
      connectorName - connector name
      aclIdentity - Security identity of user attempting to retrieve connector settings
      Returns:
      RemoteConnectorSettings connector settings
      Throws:
      IllegalAccessException
    • getConnectorSettings

      RemoteConnectorSettings getConnectorSettings(String connectorName)
      Parameters:
      connectorName - connector name
      Returns:
      RemoteConnectorSettings connector settings
    • getConnectorSecretKey

      String getConnectorSecretKey(String connectorName)
      Parameters:
      connectorName - connector name
      Returns:
      String connector secret key
    • getConnectorsSettings

      List<RemoteConnectorSettings> getConnectorsSettings(ConnectorService connectorService, org.exoplatform.services.security.Identity aclIdentity) throws IllegalAccessException
      Retrieves the list of Connectors setting
      Parameters:
      aclIdentity - Security identity of user attempting to retrieve connectors settings
      Returns:
      list of RemoteConnectorSettings connector settings
      Throws:
      IllegalAccessException
    • canManageConnectorSettings

      boolean canManageConnectorSettings(org.exoplatform.services.security.Identity aclIdentity)
      Check whether user can can edit connectors Settings or not
      Parameters:
      aclIdentity - Security identity of user
      Returns:
      true if user has enough privileges to edit connectors Setting, else false