Class DefaultActionService
java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
de.hybris.platform.servicelayer.action.impl.DefaultActionService
- All Implemented Interfaces:
ActionService,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
AbstractService.SerializableDTO -
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
modelService, sessionService, txManagerFields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidcancelAction(TriggeredAction<T> preparedAction) voidisActionValid(ActionType type, String target) <T> TriggeredAction<T>prepareAction(AbstractActionModel action, T argument) <T> TriggeredAction<T>prepareAndTriggerAction(AbstractActionModel action, T argument) voidsetExecutionStrategyRegistry(ActionExecutionStrategyRegistry executionStrategyRegistry) <T> voidtriggerAction(TriggeredAction<T> preparedAction) Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplace
-
Constructor Details
-
DefaultActionService
public DefaultActionService()
-
-
Method Details
-
isActionValid
- Specified by:
isActionValidin interfaceActionService- Throws:
InvalidActionException
-
prepareAction
public <T> TriggeredAction<T> prepareAction(AbstractActionModel action, T argument) throws ActionException - Specified by:
prepareActionin interfaceActionService- Throws:
ActionException
-
triggerAction
- Specified by:
triggerActionin interfaceActionService- Throws:
ActionException
-
cancelAction
- Specified by:
cancelActionin interfaceActionService- Throws:
ActionException
-
prepareAndTriggerAction
public <T> TriggeredAction<T> prepareAndTriggerAction(AbstractActionModel action, T argument) throws ActionException - Specified by:
prepareAndTriggerActionin interfaceActionService- Throws:
ActionException
-
setExecutionStrategyRegistry
-
getExecutionStrategyRegistry
-