Class WorkflowModelMother
java.lang.Object
de.hybris.platform.cmsfacades.util.models.AbstractModelMother<WorkflowModel>
de.hybris.platform.cmsfacades.util.models.WorkflowModelMother
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAndStartApprovalWorkflow(WorkflowTemplateModel workflowTemplate, List<CMSItemModel> attachments) protected WorkflowModelcreateAndStartWorkflow(String code, String name, WorkflowTemplateModel workflowTemplate, List<CMSItemModel> attachmentItems) protected WorkflowActionModelMotherprotected WorkflowItemAttachmentModelMotherprotected WorkflowProcessingServicevoidsetWorkflowActionModelMother(WorkflowActionModelMother workflowActionModelMother) voidsetWorkflowItemAttachmentModelMother(WorkflowItemAttachmentModelMother workflowItemAttachmentModelMother) voidsetWorkflowProcessingService(WorkflowProcessingService workflowProcessingService) Methods inherited from class de.hybris.platform.cmsfacades.util.models.AbstractModelMother
getFlexibleSearchService, getFromCollectionOrSaveAndReturn, getModelFromCollection, getModelService, getOrSaveAndReturn, saveModel, setFlexibleSearchService, setModelService
-
Field Details
-
APPROVAL_WORKFLOW_TEMPLATE_CODE
- See Also:
-
APPROVAL_WORKFLOW_TEMPLATE_NAME
- See Also:
-
-
Constructor Details
-
WorkflowModelMother
public WorkflowModelMother()
-
-
Method Details
-
createAndStartApprovalWorkflow
public WorkflowModel createAndStartApprovalWorkflow(WorkflowTemplateModel workflowTemplate, List<CMSItemModel> attachments) -
createAndStartWorkflow
protected WorkflowModel createAndStartWorkflow(String code, String name, WorkflowTemplateModel workflowTemplate, List<CMSItemModel> attachmentItems) -
getWorkflowItemAttachmentModelMother
-
setWorkflowItemAttachmentModelMother
public void setWorkflowItemAttachmentModelMother(WorkflowItemAttachmentModelMother workflowItemAttachmentModelMother) -
getWorkflowProcessingService
-
setWorkflowProcessingService
-
getWorkflowActionModelMother
-
setWorkflowActionModelMother
-