Package com.xpn.xwiki.web
Class DeleteSpaceAction
- java.lang.Object
-
- com.xpn.xwiki.web.XWikiAction
-
- com.xpn.xwiki.web.DeleteAction
-
- com.xpn.xwiki.web.DeleteSpaceAction
-
- All Implemented Interfaces:
com.xpn.xwiki.internal.web.LegacyAction
@Component @Named("deletespace") @Singleton public class DeleteSpaceAction extends DeleteAction
Action for deleting an entire space, optionally saving all the deleted documents to the document trash, if enabled.- Since:
- 3.4M1
- Version:
- $Id: 36f23d807256705b3580cbcc731dcd26ad50d4a7 $
-
-
Field Summary
-
Fields inherited from class com.xpn.xwiki.web.DeleteAction
ACTION_NAME, ASYNC_PARAM, CONFIRM_PARAM, EMPTY_RECYCLE_BIN, RECYCLED_DOCUMENT_ID_PARAM
-
Fields inherited from class com.xpn.xwiki.web.XWikiAction
ACTION_PROGRESS, componentDescriptor, container, execution, observation, waitForXWikiInitialization
-
-
Constructor Summary
Constructors Constructor Description DeleteSpaceAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
delete(XWikiContext context)
String
render(XWikiContext context)
-
Methods inherited from class com.xpn.xwiki.web.DeleteAction
action, deleteDocument
-
Methods inherited from class com.xpn.xwiki.web.XWikiAction
answerJSON, cleanupComponents, csrfTokenCheck, csrfTokenCheck, execute, execute, getContextualAuthorizationManager, getCurrentMixedDocumentReferenceResolver, getCurrentScriptContext, getEntityNameValidationConfiguration, getEntityNameValidationManager, getFormClass, getLocalization, getLocalSerializer, getName, getProgress, getRealPath, getTranslatedDocument, handleRevision, initializeContainerComponent, initializeXWikiContext, initializeXWikiContext, isEntityReferenceNameValid, localizeOrReturnKey, localizePlainOrKey, localizePlainOrReturnKey, readFromTemplate, resolveTemplate, sendGlobalRedirect, sendRedirect, setContentLength, supportRedirections, writeAjaxErrorResponse
-
-
-
-
Method Detail
-
delete
protected boolean delete(XWikiContext context) throws XWikiException
- Overrides:
delete
in classDeleteAction
- Throws:
XWikiException
-
render
public String render(XWikiContext context) throws XWikiException
- Overrides:
render
in classDeleteAction
- Throws:
XWikiException
-
-