Interface RegisterIntegrationObjectService

All Known Implementing Classes:
RegisterIntegrationObjectDefaultService

public interface RegisterIntegrationObjectService
This interface provides the functionality to create an input channel configuration ICC from an integration object IO and to add the IO to destination targets with Basic or OAuth credentials.
  • Method Details

    • createExposedDestinations

      void createExposedDestinations(List<DestinationTargetModel> destinationTargets, InboundChannelConfigurationModel inboundChannelConfig, AbstractCredentialModel credential)
      For the given ICC create the exposed destinations
      Parameters:
      destinationTargets - given destination targets
      inboundChannelConfig - given ICC
      credential - given credentials to be used for the exposed destination
    • createExposedOAuthCredential

      void createExposedOAuthCredential(IntegrationClientCredentialsDetailsModel integrationCCD)
      Create exposed OAuth credential for the exposed destination
      Parameters:
      integrationCCD - given integration CCD
    • createBasicCredential

      AbstractCredentialModel createBasicCredential(String username, String password)
      Create basic credential based on the an existing employee
      Parameters:
      username - given employee ID
      password - given employee password
      Returns:
      returns associated basic credential with the employee
    • createOAuthCredential

      AbstractCredentialModel createOAuthCredential(EmployeeModel employee)
      Create OAuth credential based on the an existing employee
      Parameters:
      employee - given employee
      Returns:
      returns associated OAuth credential with the employee
    • readDestinationTargets

      List<DestinationTargetModel> readDestinationTargets()
      Read destination targets
      Returns:
      destination targets
    • readBasicCredentials

      List<BasicCredentialModel> readBasicCredentials()
      Read basic credentials
      Returns:
      basic credentials
    • readExposedOAuthCredentials

      List<ExposedOAuthCredentialModel> readExposedOAuthCredentials()
      Read exposed OAuth credentials
      Returns:
      exposed OAuth credentials
    • readEmployees

      List<EmployeeModel> readEmployees()
      Read employees
      Returns:
      employees