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​(java.lang.String invId, java.lang.String siteShortName)  
      protected java.util.Map<java.lang.String,​java.lang.Object> executeImpl​(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)  
      void setInvitationService​(org.alfresco.service.cmr.invitation.InvitationService invitationService)  
      void setSiteService​(org.alfresco.service.cmr.site.SiteService siteService)  
      protected void throwInvitationNotFoundException​(java.lang.String invId, java.lang.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
      • Methods inherited from class java.lang.Object

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

      • InvitationDelete

        public InvitationDelete()
    • Method Detail

      • setInvitationService

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

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

        protected java.util.Map<java.lang.String,​java.lang.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​(java.lang.String invId,
                                                   java.lang.String siteShortName)
      • throwInvitationNotFoundException

        protected void throwInvitationNotFoundException​(java.lang.String invId,
                                                        java.lang.String siteShortName)