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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Map<String,Object>
    executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status)
     
     
    void
     
    void
     
    void
     
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Invites

      public Invites()
  • Method Details

    • setWorkflowService

      public void setWorkflowService(WorkflowService workflowService)
      Set the workflow service property
      Parameters:
      workflowService - the workflow service to set
    • setServiceRegistry

      public void setServiceRegistry(ServiceRegistry serviceRegistry)
    • setSiteService

      public void setSiteService(SiteService siteService)
    • setInvitationService

      public void setInvitationService(InvitationService invitationService)
    • getInvitationService

      public InvitationService getInvitationService()
    • executeImpl

      protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status)
      Overrides:
      executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScript