Class DefaultDestinationTargetDeletionStrategy
java.lang.Object
de.hybris.platform.apiregistryservices.strategies.impl.DefaultDestinationTargetDeletionStrategy
- All Implemented Interfaces:
DestinationTargetDeletionStrategy
public class DefaultDestinationTargetDeletionStrategy
extends Object
implements DestinationTargetDeletionStrategy
Default implementation of
DestinationTargetDeletionStrategy-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDestinationTargetDeletionStrategy(@NotNull ModelService modelService, @NotNull DestinationService<AbstractDestinationModel> destinationService, @NotNull EventConfigurationDao eventConfigurationDao, @NotNull CredentialService credentialService) Constructor to create DefaultDestinationTargetDeletionStrategy -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteDestinationTarget(DestinationTargetModel destinationTarget) Delete destination target and all related objects (such as destinations, event configurations) are not consumed by other destinations targets, destinations or other possible entities
-
Constructor Details
-
DefaultDestinationTargetDeletionStrategy
public DefaultDestinationTargetDeletionStrategy(@NotNull @NotNull ModelService modelService, @NotNull @NotNull DestinationService<AbstractDestinationModel> destinationService, @NotNull @NotNull EventConfigurationDao eventConfigurationDao, @NotNull @NotNull CredentialService credentialService) Constructor to create DefaultDestinationTargetDeletionStrategy- Parameters:
modelService- a model service implementation to be used by this servicedestinationService- a service for searchingDestinationTargetModelseventConfigurationDao- a DAO for theEventConfigurationModelcredentialService- a service for searchingOAuthClientDetailsModel
-
-
Method Details
-
deleteDestinationTarget
Description copied from interface:DestinationTargetDeletionStrategyDelete destination target and all related objects (such as destinations, event configurations) are not consumed by other destinations targets, destinations or other possible entities- Specified by:
deleteDestinationTargetin interfaceDestinationTargetDeletionStrategy- Parameters:
destinationTarget- the destinations target
-