Class RegisterIntegrationObjectDefaultService
- java.lang.Object
-
- de.hybris.platform.integrationbackoffice.widgets.authentication.registration.RegisterIntegrationObjectDefaultService
-
- All Implemented Interfaces:
RegisterIntegrationObjectService
public class RegisterIntegrationObjectDefaultService extends java.lang.Object implements RegisterIntegrationObjectService
The default implementation for this interfaceRegisterIntegrationObjectService.
-
-
Constructor Summary
Constructors Constructor Description RegisterIntegrationObjectDefaultService()
-
Method Summary
All Methods Instance Methods Concrete 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 credentialsvoidsetCockpitEventQueue(com.hybris.cockpitng.core.events.CockpitEventQueue cockpitEventQueue)voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService)voidsetIccCredentialGenerator(KeyGenerator iccCredentialGenerator)voidsetModelService(ModelService modelService)voidsetNameSequenceNumberGenerator(NameSequenceNumberGenerator nameSequenceNumberGenerator)
-
-
-
Method Detail
-
createExposedDestinations
public void createExposedDestinations(java.util.List<DestinationTargetModel> destinationTargets, InboundChannelConfigurationModel inboundChannelConfig, AbstractCredentialModel credential)
Description copied from interface:RegisterIntegrationObjectServiceFor the given ICC create the exposed destinations- Specified by:
createExposedDestinationsin interfaceRegisterIntegrationObjectService- Parameters:
destinationTargets- given destination targetsinboundChannelConfig- given ICCcredential- given credentials to be used for the exposed destination
-
createExposedOAuthCredential
public void createExposedOAuthCredential(IntegrationClientCredentialsDetailsModel integrationCCD)
Description copied from interface:RegisterIntegrationObjectServiceCreate exposed OAuth credential for the exposed destination- Specified by:
createExposedOAuthCredentialin interfaceRegisterIntegrationObjectService- Parameters:
integrationCCD- given integration CCD
-
createBasicCredential
public AbstractCredentialModel createBasicCredential(java.lang.String username, java.lang.String password)
Description copied from interface:RegisterIntegrationObjectServiceCreate basic credential based on the an existing employee- Specified by:
createBasicCredentialin interfaceRegisterIntegrationObjectService- Parameters:
username- given employee IDpassword- given employee password- Returns:
- returns associated basic credential with the employee
-
createOAuthCredential
public AbstractCredentialModel createOAuthCredential(EmployeeModel employee)
Description copied from interface:RegisterIntegrationObjectServiceCreate OAuth credential based on the an existing employee- Specified by:
createOAuthCredentialin interfaceRegisterIntegrationObjectService- Parameters:
employee- given employee- Returns:
- returns associated OAuth credential with the employee
-
readDestinationTargets
public java.util.List<DestinationTargetModel> readDestinationTargets()
Description copied from interface:RegisterIntegrationObjectServiceRead destination targets- Specified by:
readDestinationTargetsin interfaceRegisterIntegrationObjectService- Returns:
- destination targets
-
readBasicCredentials
public java.util.List<BasicCredentialModel> readBasicCredentials()
Description copied from interface:RegisterIntegrationObjectServiceRead basic credentials- Specified by:
readBasicCredentialsin interfaceRegisterIntegrationObjectService- Returns:
- basic credentials
-
readExposedOAuthCredentials
public java.util.List<ExposedOAuthCredentialModel> readExposedOAuthCredentials()
Description copied from interface:RegisterIntegrationObjectServiceRead exposed OAuth credentials- Specified by:
readExposedOAuthCredentialsin interfaceRegisterIntegrationObjectService- Returns:
- exposed OAuth credentials
-
readEmployees
public java.util.List<EmployeeModel> readEmployees()
Description copied from interface:RegisterIntegrationObjectServiceRead employees- Specified by:
readEmployeesin interfaceRegisterIntegrationObjectService- Returns:
- employees
-
setFlexibleSearchService
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
setNameSequenceNumberGenerator
public void setNameSequenceNumberGenerator(NameSequenceNumberGenerator nameSequenceNumberGenerator)
-
setModelService
public void setModelService(ModelService modelService)
-
setCockpitEventQueue
public void setCockpitEventQueue(com.hybris.cockpitng.core.events.CockpitEventQueue cockpitEventQueue)
-
setIccCredentialGenerator
public void setIccCredentialGenerator(KeyGenerator iccCredentialGenerator)
-
-