mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
WCM submit (for approval) workflow.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4540 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -658,7 +658,7 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
if (index != -1)
|
||||
{
|
||||
WorkflowDefinition workflow = (WorkflowDefinition)this.workflowsList.get(index).getValue();
|
||||
this.workflows.add(new WorkflowWrapper(workflow.getName(), workflow.getTitle()));
|
||||
this.workflows.add(new WorkflowWrapper(workflow.getName(), workflow.getTitle(), workflow.getDescription()));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -782,7 +782,7 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
WorkflowDefinition wf = this.form.getDefaultWorkflow();
|
||||
if (this.workflow == null && wf != null)
|
||||
{
|
||||
this.workflow = new WorkflowWrapper(wf.name, wf.getTitle());
|
||||
this.workflow = new WorkflowWrapper(wf.name, wf.getTitle(), wf.getDescription());
|
||||
}
|
||||
return this.workflow;
|
||||
}
|
||||
@@ -937,14 +937,16 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
{
|
||||
private String name;
|
||||
private String title;
|
||||
private String description;
|
||||
private String filenamePattern;
|
||||
private QName type;
|
||||
private Map<QName, Serializable> params;
|
||||
|
||||
public WorkflowWrapper(String name, String title)
|
||||
public WorkflowWrapper(String name, String title, String description)
|
||||
{
|
||||
this.name = name;
|
||||
this.title = title;
|
||||
this.description = description;
|
||||
this.filenamePattern = filenamePattern;
|
||||
}
|
||||
|
||||
@@ -964,6 +966,14 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
return this.title;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the display label of the workflow.
|
||||
*/
|
||||
public String getDescription()
|
||||
{
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Returns the filename pattern.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user