|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.workflow.WorkflowPackageImpl
public class WorkflowPackageImpl
Alfresco implementation of Workflow Package where the package is stored within the Alfresco Repository.
Constructor Summary | |
---|---|
WorkflowPackageImpl()
|
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). |
org.alfresco.service.cmr.repository.NodeRef |
createSystemWorkflowContainer()
Creates the System Workflow Container |
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. |
void |
setImporterBootstrap(ImporterBootstrap bootstrap)
|
void |
setMessageService(MessageService messageService)
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
|
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
|
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
|
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowPackageImpl()
Method Detail |
---|
public void setImporterBootstrap(ImporterBootstrap bootstrap)
bootstrap
- the importer bootstrap for the store to place workflow
items intopublic void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
searchService
- search servicepublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- node servicepublic void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService
- namespace servicepublic void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
tenantService
- tenant servicepublic void setMessageService(MessageService messageService)
messageService
- the messageService to setpublic org.alfresco.service.cmr.repository.NodeRef createPackage(org.alfresco.service.cmr.repository.NodeRef container)
createPackage
in interface WorkflowPackageComponent
container
- (optional) a pre-created container (e.g. folder, versioned folder or layered folder)
public void deletePackage(org.alfresco.service.cmr.repository.NodeRef container)
deletePackage
in interface WorkflowPackageComponent
public java.util.List getWorkflowIdsForContent(org.alfresco.service.cmr.repository.NodeRef packageItem)
getWorkflowIdsForContent
in interface WorkflowPackageComponent
packageItem
- the repository content item to get workflows for
public org.alfresco.service.cmr.repository.NodeRef createSystemWorkflowContainer()
public boolean setWorkflowForPackage(WorkflowInstance instance)
WorkflowInstance
,
adding the appropriate aspect and setting the appropriate properties to
mark it as a package for the given WorkflowInstance
.
setWorkflowForPackage
in interface WorkflowPackageComponent
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 |