Class AbstractProceduralB2BOrderApproveAuditAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractProceduralAction
-
- de.hybris.platform.b2b.process.approval.actions.AbstractProceduralB2BOrderApproveAction
-
- de.hybris.platform.b2b.process.approval.actions.AbstractProceduralB2BOrderApproveAuditAction
-
- All Implemented Interfaces:
Action
- Direct Known Subclasses:
SystemAuditAction
public abstract class AbstractProceduralB2BOrderApproveAuditAction extends AbstractProceduralB2BOrderApproveAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
AbstractProceduralAction.Transition
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.processengine.action.AbstractAction
modelService, processParameterHelper
-
Fields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE
-
-
Constructor Summary
Constructors Constructor Description AbstractProceduralB2BOrderApproveAuditAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description OrderHistoryEntryModelcreateAuditHistory(OrderModel order, ItemModel historyEntryOwner, java.lang.String messageKey, java.lang.Object[] localizationArguments)Creates aOrderHistoryEntryModelfor a given order with a snapshot of the order seeOrderHistoryService.createHistorySnapshot(de.hybris.platform.core.model.order.OrderModel).protected I18NServicegetI18NService()protected L10NServicegetL10NService()abstract java.lang.Object[]getLocalizationArguments(OrderModel order)protected OrderHistoryServicegetOrderHistoryService()protected SessionServicegetSessionService()protected UserServicegetUserService()voidsetI18NService(I18NService i18NService)voidsetL10NService(L10NService l10NService)voidsetOrderHistoryService(OrderHistoryService orderHistoryService)voidsetSessionService(SessionService sessionService)voidsetUserService(UserService userService)-
Methods inherited from class de.hybris.platform.b2b.process.approval.actions.AbstractProceduralB2BOrderApproveAction
executeAction, executeAction
-
Methods inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
execute, getTransitions
-
Methods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelper
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.processengine.spring.Action
getCurrentActionDefinitionContext
-
-
-
-
Method Detail
-
createAuditHistory
public OrderHistoryEntryModel createAuditHistory(OrderModel order, ItemModel historyEntryOwner, java.lang.String messageKey, java.lang.Object[] localizationArguments)
Creates aOrderHistoryEntryModelfor a given order with a snapshot of the order seeOrderHistoryService.createHistorySnapshot(de.hybris.platform.core.model.order.OrderModel).- Parameters:
order- Original OrderhistoryEntryOwner- Will be set as the owner of theOrderHistoryEntryModelmessageKey- the resource key to the Resource Bundle seeL10NService.getLocalizedString(String, Object[])localizationArguments- A list of values for the text arguments (see MessageFormat.format(String, Object[]))- Returns:
- An
OrderHistoryEntryModel
-
getLocalizationArguments
public abstract java.lang.Object[] getLocalizationArguments(OrderModel order)
-
getL10NService
protected L10NService getL10NService()
-
setL10NService
public void setL10NService(L10NService l10NService)
-
getOrderHistoryService
protected OrderHistoryService getOrderHistoryService()
-
setOrderHistoryService
public void setOrderHistoryService(OrderHistoryService orderHistoryService)
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getI18NService
protected I18NService getI18NService()
-
setI18NService
public void setI18NService(I18NService i18NService)
-
getSessionService
protected SessionService getSessionService()
-
setSessionService
public void setSessionService(SessionService sessionService)
-
-