Package com.hybris.backoffice.workflow
Class WorkflowTemplateActivationCtx
java.lang.Object
com.hybris.cockpitng.dataaccess.context.impl.DefaultContext
com.hybris.backoffice.workflow.WorkflowTemplateActivationCtx
- All Implemented Interfaces:
com.hybris.cockpitng.dataaccess.context.Context
public class WorkflowTemplateActivationCtx
extends com.hybris.cockpitng.dataaccess.context.impl.DefaultContext
Context which holds information necessary to evaluate
WorkflowTemplateModel.getActivationScript().-
Nested Class Summary
Nested classes/interfaces inherited from class com.hybris.cockpitng.dataaccess.context.impl.DefaultContext
com.hybris.cockpitng.dataaccess.context.impl.DefaultContext.Builder -
Field Summary
Fields inherited from interface com.hybris.cockpitng.dataaccess.context.Context
TYPE_CODE -
Constructor Summary
ConstructorsConstructorDescriptionWorkflowTemplateActivationCtx(ItemModel item, Map<String, Object> initialValues, String workflowOperationType) This constructor should be used when item is being created.WorkflowTemplateActivationCtx(ItemModel item, Map<String, Object> currentValues, Map<String, Object> initialValues, String workflowOperationType) -
Method Summary
Methods inherited from class com.hybris.cockpitng.dataaccess.context.impl.DefaultContext
addAttribute, clearAttributes, getAttribute, getAttributeNames, removeAttribute
-
Constructor Details
-
WorkflowTemplateActivationCtx
public WorkflowTemplateActivationCtx(ItemModel item, Map<String, Object> currentValues, Map<String, Object> initialValues, String workflowOperationType) - Parameters:
item- an item being savedcurrentValues- new values which will be savedinitialValues- original values of modified attributesworkflowOperationType- one of given valuesWorkflowConstants.WorkflowActivationScriptActions
-
WorkflowTemplateActivationCtx
public WorkflowTemplateActivationCtx(ItemModel item, Map<String, Object> initialValues, String workflowOperationType) This constructor should be used when item is being created.- Parameters:
item- item being created.initialValues- list of values used for object creation.workflowOperationType- one of given valuesWorkflowConstants.WorkflowActivationScriptActions
-
-
Method Details
-
getCurrentValues
-
getInitialValues
-
getItem
-
getWorkflowOperationType
-