Interface RegisterIntegrationObjectService
-
- All Known Implementing Classes:
RegisterIntegrationObjectDefaultService
public interface RegisterIntegrationObjectServiceThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractCredentialModelcreateBasicCredential(java.lang.String username, java.lang.String password)Create basic credential based on the an existing employeevoidcreateExposedDestinations(java.util.List<DestinationTargetModel> destinationTargets, InboundChannelConfigurationModel inboundChannelConfig, AbstractCredentialModel credential)For the given ICC create the exposed destinationsvoidcreateExposedOAuthCredential(IntegrationClientCredentialsDetailsModel integrationCCD)Create exposed OAuth credential for the exposed destinationAbstractCredentialModelcreateOAuthCredential(EmployeeModel employee)Create OAuth credential based on the an existing employeejava.util.List<BasicCredentialModel>readBasicCredentials()Read basic credentialsjava.util.List<DestinationTargetModel>readDestinationTargets()Read destination targetsjava.util.List<EmployeeModel>readEmployees()Read employeesjava.util.List<ExposedOAuthCredentialModel>readExposedOAuthCredentials()Read exposed 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 targetsinboundChannelConfig- given ICCcredential- 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 IDpassword- 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
-
-