Class WorkflowModelMother
- java.lang.Object
-
- de.hybris.platform.cmsfacades.util.models.AbstractModelMother<WorkflowModel>
-
- de.hybris.platform.cmsfacades.util.models.WorkflowModelMother
-
public class WorkflowModelMother extends AbstractModelMother<WorkflowModel>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAPPROVAL_WORKFLOW_TEMPLATE_CODEstatic java.lang.StringAPPROVAL_WORKFLOW_TEMPLATE_NAME
-
Constructor Summary
Constructors Constructor Description WorkflowModelMother()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowModelcreateAndStartApprovalWorkflow(WorkflowTemplateModel workflowTemplate, java.util.List<CMSItemModel> attachments)protected WorkflowModelcreateAndStartWorkflow(java.lang.String code, java.lang.String name, WorkflowTemplateModel workflowTemplate, java.util.List<CMSItemModel> attachmentItems)protected WorkflowActionModelMothergetWorkflowActionModelMother()protected WorkflowItemAttachmentModelMothergetWorkflowItemAttachmentModelMother()protected WorkflowProcessingServicegetWorkflowProcessingService()voidsetWorkflowActionModelMother(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 Detail
-
APPROVAL_WORKFLOW_TEMPLATE_CODE
public static final java.lang.String APPROVAL_WORKFLOW_TEMPLATE_CODE
- See Also:
- Constant Field Values
-
APPROVAL_WORKFLOW_TEMPLATE_NAME
public static final java.lang.String APPROVAL_WORKFLOW_TEMPLATE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
createAndStartApprovalWorkflow
public WorkflowModel createAndStartApprovalWorkflow(WorkflowTemplateModel workflowTemplate, java.util.List<CMSItemModel> attachments)
-
createAndStartWorkflow
protected WorkflowModel createAndStartWorkflow(java.lang.String code, java.lang.String name, WorkflowTemplateModel workflowTemplate, java.util.List<CMSItemModel> attachmentItems)
-
getWorkflowItemAttachmentModelMother
protected WorkflowItemAttachmentModelMother getWorkflowItemAttachmentModelMother()
-
setWorkflowItemAttachmentModelMother
public void setWorkflowItemAttachmentModelMother(WorkflowItemAttachmentModelMother workflowItemAttachmentModelMother)
-
getWorkflowProcessingService
protected WorkflowProcessingService getWorkflowProcessingService()
-
setWorkflowProcessingService
public void setWorkflowProcessingService(WorkflowProcessingService workflowProcessingService)
-
getWorkflowActionModelMother
protected WorkflowActionModelMother getWorkflowActionModelMother()
-
setWorkflowActionModelMother
public void setWorkflowActionModelMother(WorkflowActionModelMother workflowActionModelMother)
-
-