Invitation service

Java Script API for invitations on Site object.
    Implementation of REST API for Site / Invitations. 
    Rename of old invite workflow to invitation-nominated and renaming of properties for consistency.   Old workflow is due for deprecation.
    Rework to Nominated workflow to unscramble user creation.    
    Start Workflow UI bean now knows to avoid workflows managed by the InvitationService.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2009-03-10 14:08:22 +00:00
parent bc91efa1e0
commit fb3d5445b8
24 changed files with 935 additions and 158 deletions

View File

@@ -53,13 +53,6 @@ public class ModeratedActionApprove extends JBPMSpringActionHandler
final String reviewer = (String)executionContext.getVariable(WorkflowModelModeratedInvitation.wfVarReviewer);
final String reviewComments = (String)executionContext.getVariable(WorkflowModelModeratedInvitation.wfVarReviewComments);
System.out.println("resourceType=" + resourceType);
System.out.println("resourceName=" + resourceName);
System.out.println("role=" + inviteeRole);
System.out.println("inviteeUserName=" + inviteeUserName);
System.out.println("reviewer=" + reviewer);
System.out.println("reviewComments=" + reviewComments);
/**
* Add invitee to the site
*/
@@ -67,7 +60,9 @@ public class ModeratedActionApprove extends JBPMSpringActionHandler
{
public Object doWork() throws Exception
{
siteService.setMembership(resourceName, inviteeUserName, inviteeRole);
// Add the new user to the web site
siteService.setMembership(resourceName, inviteeUserName, inviteeRole);
return null;
}