Class Invites
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
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
- Author:
- glen dot johnson at alfresco dot com
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteImpl
(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status) void
setInvitationService
(InvitationService invitationService) void
setServiceRegistry
(ServiceRegistry serviceRegistry) void
setSiteService
(SiteService siteService) void
setWorkflowService
(WorkflowService workflowService) Set the workflow service propertyMethods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
Constructor Details
-
Invites
public Invites()
-
-
Method Details
-
setWorkflowService
Set the workflow service property- Parameters:
workflowService
- the workflow service to set
-
setServiceRegistry
-
setSiteService
-
setInvitationService
-
getInvitationService
-
executeImpl
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status) - Overrides:
executeImpl
in classorg.springframework.extensions.webscripts.DeclarativeWebScript
-