com.xpn.xwiki.web
Class DeleteSpaceAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.xpn.xwiki.web.XWikiAction
          extended by com.xpn.xwiki.web.DeleteSpaceAction

public class DeleteSpaceAction
extends XWikiAction

Action for deleting an entire space, optionally saving all the deleted documents to the document trash, if enabled.

Since:
3.4M1
Version:
$Id: 2706f7afd8e770970fd1768dc9965eaff0708756 $

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
DeleteSpaceAction()
           
 
Method Summary
 boolean action(XWikiContext context)
          
 String render(XWikiContext context)
          
 
Methods inherited from class com.xpn.xwiki.web.XWikiAction
cleanupComponents, csrfTokenCheck, execute, execute, getRealPath, getTranslatedDocument, handleRevision, initializeContainerComponent, initializeXWikiContext, sendGlobalRedirect, sendRedirect
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteSpaceAction

public DeleteSpaceAction()
Method Detail

action

public boolean action(XWikiContext context)
               throws XWikiException

Overrides:
action in class XWikiAction
Throws:
XWikiException

render

public String render(XWikiContext context)
              throws XWikiException

Overrides:
render in class XWikiAction
Throws:
XWikiException


Copyright © 2004–2014 XWiki. All rights reserved.