org.alfresco.repo.web.scripts.invite
Class Invites

java.lang.Object
  extended by org.springframework.extensions.webscripts.AbstractWebScript
      extended by org.springframework.extensions.webscripts.DeclarativeWebScript
          extended by org.alfresco.repo.web.scripts.invite.Invites
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript

public class Invites
extends org.springframework.extensions.webscripts.DeclarativeWebScript

Web Script which returns pending Site invitations matching at least one of (1a) inviter (inviter user name). i.e. pending invitations which have been sent by that inviter, but which have not been responded to (accepted or rejected) by the invitee, and have not been cancelled by that inviter (1b) invitee (invitee user name), i.e. pending invitations which have not been accepted or rejected yet by that inviter (1c) site (site short name), i.e. pending invitations sent out to join that Site. If only the site is given, then all pending invites are returned, irrespective of who the inviters or invitees are or (2) matching the given invite ID


Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
 
Constructor Summary
Invites()
           
 
Method Summary
protected  java.util.Map executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status)
           
 org.alfresco.service.cmr.invitation.InvitationService getInvitationService()
           
 void setInvitationService(org.alfresco.service.cmr.invitation.InvitationService invitationService)
           
 void setServiceRegistry(org.alfresco.service.ServiceRegistry serviceRegistry)
           
 void setSiteService(org.alfresco.service.cmr.site.SiteService siteService)
           
 void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
          Set the workflow service property
 
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
 
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Invites

public Invites()
Method Detail

setWorkflowService

public void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
Set the workflow service property

Parameters:
workflowService - the workflow service to set

setServiceRegistry

public void setServiceRegistry(org.alfresco.service.ServiceRegistry serviceRegistry)

setSiteService

public void setSiteService(org.alfresco.service.cmr.site.SiteService siteService)

setInvitationService

public void setInvitationService(org.alfresco.service.cmr.invitation.InvitationService invitationService)

getInvitationService

public org.alfresco.service.cmr.invitation.InvitationService getInvitationService()

executeImpl

protected java.util.Map executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
                                    org.springframework.extensions.webscripts.Status status)
Overrides:
executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScript


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.