Class InvitationDelete
- java.lang.Object
-
- org.springframework.extensions.webscripts.AbstractWebScript
-
- org.springframework.extensions.webscripts.DeclarativeWebScript
-
- org.alfresco.repo.web.scripts.invitation.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
-
-
Constructor Summary
Constructors Constructor Description InvitationDelete()
-
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
-
-
-
-
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 classorg.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)
-
-