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.String
APPROVAL_WORKFLOW_TEMPLATE_CODE
static java.lang.String
APPROVAL_WORKFLOW_TEMPLATE_NAME
-
Constructor Summary
Constructors Constructor Description WorkflowModelMother()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowModel
createAndStartApprovalWorkflow(WorkflowTemplateModel workflowTemplate, java.util.List<CMSItemModel> attachments)
protected WorkflowModel
createAndStartWorkflow(java.lang.String code, java.lang.String name, WorkflowTemplateModel workflowTemplate, java.util.List<CMSItemModel> attachmentItems)
protected WorkflowActionModelMother
getWorkflowActionModelMother()
protected WorkflowItemAttachmentModelMother
getWorkflowItemAttachmentModelMother()
protected WorkflowProcessingService
getWorkflowProcessingService()
void
setWorkflowActionModelMother(WorkflowActionModelMother workflowActionModelMother)
void
setWorkflowItemAttachmentModelMother(WorkflowItemAttachmentModelMother workflowItemAttachmentModelMother)
void
setWorkflowProcessingService(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)
-
-