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 Summary
Modifier and TypeMethodDescriptioncreateBasicCredential(String username, String password) Create basic credential based on the an existing employeevoidcreateExposedDestinations(List<DestinationTargetModel> destinationTargets, InboundChannelConfigurationModel inboundChannelConfig, AbstractCredentialModel credential) For the given ICC create the exposed destinationsvoidcreateExposedOAuthCredential(IntegrationClientCredentialsDetailsModel integrationCCD) Create exposed OAuth credential for the exposed destinationcreateOAuthCredential(EmployeeModel employee) Create OAuth credential based on the an existing employeeRead basic credentialsRead destination targetsRead employeesRead exposed 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 targetsinboundChannelConfig- given ICCcredential- given credentials to be used for the exposed destination
-
createExposedOAuthCredential
Create exposed OAuth credential for the exposed destination- Parameters:
integrationCCD- given integration CCD
-
createBasicCredential
Create basic credential based on the an existing employee- Parameters:
username- given employee IDpassword- given employee password- Returns:
- returns associated basic credential with the employee
-
createOAuthCredential
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
-