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 Detail

      • createExposedDestinations

        void createExposedDestinations​(java.util.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​(java.lang.String username,
                                                      java.lang.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

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

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

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

        java.util.List<EmployeeModel> readEmployees()
        Read employees
        Returns:
        employees