Merged HEAD-QA to HEAD (4.2) (including moving test classes into separate folders)

51903 to 54309 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Samuel Langlois
2013-08-20 17:17:31 +00:00
parent 0a36e2af67
commit ab4ca7177f
1576 changed files with 36419 additions and 8603 deletions

View File

@@ -205,7 +205,7 @@ public class LazyActivitiWorkflowTask extends WorkflowTask
}
else if(WorkflowModel.PROP_TASK_ID.equals(key))
{
return id;
return getId();
}
else
{
@@ -248,6 +248,18 @@ public class LazyActivitiWorkflowTask extends WorkflowTask
return ensureProperties().values();
}
private String getId()
{
if(task != null)
{
return task.getId();
}
else
{
return historicTask.getExecutionId();
}
}
private Date getDueDate()
{
if(task != null)

View File

@@ -634,6 +634,15 @@ public interface WorkflowService
@Auditable(parameters = {"packageItem", "active"})
public List<NodeRef> getPackageContents(String taskId);
/**
* Get a list of node refs to all the package contents.
*
* @param packageRef the nodeRef to the package
* @return A list of nodeRefs the package is referring to
*/
@Auditable(parameters = {"packageRef"})
public List<NodeRef> getPackageContents(NodeRef packageRef);
/**
* @return true, if all workflows (in workflowDeployers) have a copy deployed per tenant and workflows
* can be deployed in tenant. False when workflows are shared system-wide, regardless of the tenant context.