Continuing refactor of InvitationServiceImpl to use Activiti workflows.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
N Smith
2011-08-24 10:04:18 +00:00
parent c9eda64276
commit 4c867eb9dc
5 changed files with 16 additions and 13 deletions

View File

@@ -584,7 +584,7 @@ public class InvitationServiceImpl implements InvitationService, NodeServicePoli
// get workflow instance (ID) that pendingInvite task (in query
// result set)
String workflowId = workflowTask.path.instance.id;
String workflowId = workflowTask.getPath().getInstance().getId();
// TODO ALFCOM-2597 workflowTask.properties does not contain
// custom process values
// NominatedInvitationImpl result = new
@@ -1007,8 +1007,7 @@ public class InvitationServiceImpl implements InvitationService, NodeServicePoli
inviteeUserName = null;
Set<NodeRef> peopleWithInviteeEmail = this.personService.getPeopleFilteredByProperty(
ContentModel.PROP_EMAIL, inviteeEmail);
Set<NodeRef> peopleWithInviteeEmail = personService.getPeopleFilteredByProperty(ContentModel.PROP_EMAIL, inviteeEmail);
if (peopleWithInviteeEmail.size() > 0)
{