Class WorkflowProcessor
java.lang.Object
org.craftercms.studio.impl.v1.service.workflow.WorkflowProcessor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToWorkflow
(String site, List<String> paths, ZonedDateTime launchDate, String label, SubmitLifeCycleOperation operation, String approvedBy, MultiChannelPublishingContext mcpContext) Add items to workflowprotected WorkflowBatch
createBatch
(Collection<String> paths, ZonedDateTime launchDate, String label, SubmitLifeCycleOperation preSubmitOperation, String approvedBy, MultiChannelPublishingContext mcpContext) protected void
execute
(String site, WorkflowBatch workflowBatch) boolean
isInFlight
(String path) void
setDmPublishService
(DmPublishService dmPublishService) void
setItemServiceInternal
(ItemServiceInternal itemServiceInternal)
-
Field Details
-
inflightItems
-
dmPublishService
-
itemServiceInternal
-
-
Constructor Details
-
WorkflowProcessor
public WorkflowProcessor()
-
-
Method Details
-
isInFlight
-
addToWorkflow
public void addToWorkflow(String site, List<String> paths, ZonedDateTime launchDate, String label, SubmitLifeCycleOperation operation, String approvedBy, MultiChannelPublishingContext mcpContext) Add items to workflow- Parameters:
site
- the sitepaths
- paths to items to addlaunchDate
- date and time when items are to go livelabel
- the label to use for submissionoperation
-approvedBy
- username of the user that approved the submission
-
createBatch
protected WorkflowBatch createBatch(Collection<String> paths, ZonedDateTime launchDate, String label, SubmitLifeCycleOperation preSubmitOperation, String approvedBy, MultiChannelPublishingContext mcpContext) -
execute
-
setDmPublishService
-
getItemServiceInternal
-
setItemServiceInternal
-