Class PlainActionExecutionStrategy
java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
de.hybris.platform.servicelayer.action.plain.PlainActionExecutionStrategy
- All Implemented Interfaces:
ActionExecutionStrategy,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class PlainActionExecutionStrategy
extends AbstractBusinessService
implements ActionExecutionStrategy, org.springframework.context.ApplicationContextAware
- 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) org.springframework.context.ApplicationContextprotected ActionPerformablegetPerformable(String target) voidisActionValid(ActionType type, String target) <T> TriggeredAction<T>prepareAction(AbstractActionModel action, T argument) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) <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
-
PlainActionExecutionStrategy
public PlainActionExecutionStrategy()
-
-
Method Details
-
getAcceptedTypes
- Specified by:
getAcceptedTypesin interfaceActionExecutionStrategy
-
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
-
getPerformable
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
isActionValid
- Specified by:
isActionValidin interfaceActionExecutionStrategy- Throws:
InvalidActionException
-