|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowPackageComponent
Contract for managing Workflow Packages. A package is a container of Content that's routed through a Workflow.
Method Summary | |
---|---|
org.alfresco.service.cmr.repository.NodeRef |
createPackage(org.alfresco.service.cmr.repository.NodeRef container)
Create a Workflow Package (a container of content to route through the Workflow). |
void |
deletePackage(org.alfresco.service.cmr.repository.NodeRef container)
Deletes a Workflow Package The workflow package aspect is removed, and if the container was previously created by the workflow service (i.e. |
java.util.List |
getWorkflowIdsForContent(org.alfresco.service.cmr.repository.NodeRef packageItem)
Gets the Workflows that act upon the specified Repository content. |
boolean |
setWorkflowForPackage(WorkflowInstance instance)
Initialises the workflow package node on the WorkflowInstance ,
adding the appropriate aspect and setting the appropriate properties to
mark it as a package for the given WorkflowInstance . |
Method Detail |
---|
org.alfresco.service.cmr.repository.NodeRef createPackage(org.alfresco.service.cmr.repository.NodeRef container)
container
- (optional) a pre-created container (e.g. folder, versioned folder or layered folder)
void deletePackage(org.alfresco.service.cmr.repository.NodeRef container)
container
- java.util.List getWorkflowIdsForContent(org.alfresco.service.cmr.repository.NodeRef packageItem)
packageItem
- the repository content item to get workflows for
boolean setWorkflowForPackage(WorkflowInstance instance)
WorkflowInstance
,
adding the appropriate aspect and setting the appropriate properties to
mark it as a package for the given WorkflowInstance
.
instance
- the workflow instance to which the package belongs.
true
if the package node was modified.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |