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, processParameterHelperFields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAuditHistory(OrderModel order, ItemModel historyEntryOwner, String messageKey, Object[] localizationArguments) Creates aOrderHistoryEntryModelfor a given order with a snapshot of the order seeOrderHistoryService.createHistorySnapshot(de.hybris.platform.core.model.order.OrderModel).protected I18NServiceprotected L10NServiceabstract Object[]protected OrderHistoryServiceprotected SessionServiceprotected UserServicevoidsetI18NService(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, executeActionMethods inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
execute, getTransitionsMethods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.processengine.spring.Action
getCurrentActionDefinitionContext
-
Constructor Details
-
AbstractProceduralB2BOrderApproveAuditAction
public AbstractProceduralB2BOrderApproveAuditAction()
-
-
Method Details
-
createAuditHistory
public OrderHistoryEntryModel createAuditHistory(OrderModel order, ItemModel historyEntryOwner, String messageKey, 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
-
getL10NService
-
setL10NService
-
getOrderHistoryService
-
setOrderHistoryService
-
getUserService
-
setUserService
-
getI18NService
-
setI18NService
-
getSessionService
-
setSessionService
-