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
-
-
Constructor Summary
Constructors Constructor Description Invites()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<java.lang.String,java.lang.Object>
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
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
-
-
-
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<java.lang.String,java.lang.Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status)
- Overrides:
executeImpl
in classorg.springframework.extensions.webscripts.DeclarativeWebScript
-
-