Class InvitationDelete

  • All Implemented Interfaces:
    org.springframework.extensions.webscripts.WebScript

    public class InvitationDelete
    extends org.springframework.extensions.webscripts.DeclarativeWebScript
    Cancel invitation for a web site; This is the controller for the org/alfresco/repository/site/invitation/invitation.delete.desc.xml webscript
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript

        org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void checkAndCancelTheInvitation​(String invId, String siteShortName)  
      protected Map<String,​Object> executeImpl​(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)  
      void setInvitationService​(InvitationService invitationService)  
      void setSiteService​(SiteService siteService)  
      protected void throwInvitationNotFoundException​(String invId, String siteShortName)  
      • 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
    • Constructor Detail

      • InvitationDelete

        public InvitationDelete()
    • Method Detail

      • setInvitationService

        public void setInvitationService​(InvitationService invitationService)
      • setSiteService

        public void setSiteService​(SiteService siteService)
      • executeImpl

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

        protected void checkAndCancelTheInvitation​(String invId,
                                                   String siteShortName)
      • throwInvitationNotFoundException

        protected void throwInvitationNotFoundException​(String invId,
                                                        String siteShortName)