mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed ALF-9398: Alfresco deployments in the Activiti Admin UI need to be more descriptive than "Nameless Deployment"
A new method has been added to WorkflowService that takes an additional "name" parameter. The WorkflowDeployer now passes the name of the file being deployed as the name parameter. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29240 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -284,13 +284,17 @@ public class JBPMEngine extends AlfrescoBpmEngine implements WorkflowEngine
|
||||
//
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see
|
||||
* org.alfresco.repo.workflow.WorkflowDefinitionComponent#deployDefinition
|
||||
* (java.io.InputStream)
|
||||
* @see org.alfresco.repo.workflow.WorkflowComponent#deployDefinition(java.io.InputStream, java.lang.String)
|
||||
*/
|
||||
public WorkflowDeployment deployDefinition(final InputStream workflowDefinition, final String mimetype)
|
||||
{
|
||||
return deployDefinition(workflowDefinition, mimetype, null);
|
||||
}
|
||||
|
||||
/*
|
||||
* @see org.alfresco.repo.workflow.WorkflowComponent#deployDefinition(java.io.InputStream, java.lang.String, java.lang.String)
|
||||
*/
|
||||
public WorkflowDeployment deployDefinition(final InputStream workflowDefinition, final String mimetype, final String name)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user