mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merge V1.4 to HEAD
- Ignored Enterprise-specific changes svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3701 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3703 . svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3704 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3705 . svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3707 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3876 . svn revert root\projects\web-client\source\web\jsp\admin\admin-console.jsp git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -148,6 +148,15 @@ public interface WorkflowService
|
||||
*/
|
||||
@Auditable(parameters = {"workflowDefinitionId"})
|
||||
public List<WorkflowInstance> getActiveWorkflows(String workflowDefinitionId);
|
||||
|
||||
/**
|
||||
* Gets a specific workflow instances
|
||||
*
|
||||
* @param workflowId the id of the workflow to retrieve
|
||||
* @return the workflow instance
|
||||
*/
|
||||
@Auditable(parameters = {"workflowId"})
|
||||
public WorkflowInstance getWorkflowById(String workflowId);
|
||||
|
||||
/**
|
||||
* Gets all Paths for the specified Workflow instance
|
||||
@@ -241,6 +250,11 @@ public interface WorkflowService
|
||||
@Auditable(parameters = {"taskId", "transitionId"})
|
||||
public WorkflowTask endTask(String taskId, String transitionId);
|
||||
|
||||
|
||||
//
|
||||
// Package Management
|
||||
//
|
||||
|
||||
/**
|
||||
* Create a Workflow Package (a container of content to route through the Workflow).
|
||||
*
|
||||
@@ -251,5 +265,15 @@ public interface WorkflowService
|
||||
*/
|
||||
@Auditable(key = Auditable.Key.ARG_0, parameters = {"container"})
|
||||
public NodeRef createPackage(NodeRef container);
|
||||
|
||||
/**
|
||||
* Gets the Workflows that act upon the specified Repository content.
|
||||
*
|
||||
* @param packageItem the repository content item to get workflows for
|
||||
* @param active true => active workflows only, false => completed workflows only
|
||||
* @return list of workflows which act upon the specified content
|
||||
*/
|
||||
@Auditable(key = Auditable.Key.ARG_0, parameters = {"packageItem", "active"})
|
||||
public List<WorkflowInstance> getWorkflowsForContent(NodeRef packageItem, boolean active);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user