ALFCOM-2811 Need to hide old deprecated invite workflow wf:invite from UI.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14085 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2009-04-27 10:06:40 +00:00
parent a7089e9144
commit 137df81980

View File

@@ -148,13 +148,15 @@ public class InvitationServiceImpl implements InvitationService, NodeServicePoli
/**
* Get the names of the workflows which are managed by the invitation service
* @return
* @return the workflows which are managed by the invitation service
*/
public List<String> getInvitationServiceWorkflowNames()
{
List<String> ret = new ArrayList<String>(2);
List<String> ret = new ArrayList<String>(3);
ret.add(WorkflowModelNominatedInvitation.WORKFLOW_DEFINITION_NAME);
ret.add(WorkflowModelModeratedInvitation.WORKFLOW_DEFINITION_NAME);
// old deprecated invitation workflow.
ret.add("jbpm$wf:invite");
return ret;
}