Package de.hybris.platform.task.action
Class TaskActionExecutionStrategy
java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
de.hybris.platform.task.action.TaskActionExecutionStrategy
- All Implemented Interfaces:
ActionExecutionStrategy,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class TaskActionExecutionStrategy
extends AbstractBusinessService
implements ActionExecutionStrategy
- 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) protected ActionTaskCreationStrategyprotected TaskServicevoidisActionValid(ActionType type, String target) <T> TriggeredAction<T>prepareAction(AbstractActionModel action, T argument) voidsetCreationStrategy(ActionTaskCreationStrategy creationStrategy) voidsetTaskService(TaskService taskService) <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
-
TaskActionExecutionStrategy
public TaskActionExecutionStrategy()
-
-
Method Details
-
getAcceptedTypes
- Specified by:
getAcceptedTypesin interfaceActionExecutionStrategy
-
isActionValid
- Specified by:
isActionValidin interfaceActionExecutionStrategy- Throws:
InvalidActionException
-
prepareAction
public <T> TriggeredAction<T> prepareAction(AbstractActionModel action, T argument) throws ActionException - Specified by:
prepareActionin interfaceActionExecutionStrategy- Throws:
ActionException
-
triggerAction
- Specified by:
triggerActionin interfaceActionExecutionStrategy- Throws:
ActionException
-
cancelAction
- Specified by:
cancelActionin interfaceActionExecutionStrategy- Throws:
ActionException
-
setTaskService
-
getTaskService
-
setCreationStrategy
-
getCreationStrategy
-