public class DeleteAction extends XWikiAction
Modifier and Type | Field and Description |
---|---|
protected static String |
ACTION_NAME |
protected static String |
ASYNC_PARAM |
protected static String |
CONFIRM_PARAM
confirm parameter name.
|
protected static String |
RECYCLED_DOCUMENT_ID_PARAM |
ACTION_PROGRESS, handleRedirectObject, waitForXWikiInitialization
Constructor and Description |
---|
DeleteAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
action(XWikiContext context) |
protected boolean |
delete(XWikiContext context) |
protected boolean |
deleteToRecycleBin(EntityReference entityReference,
XWikiContext context) |
String |
render(XWikiContext context) |
cleanupComponents, csrfTokenCheck, execute, execute, getCurrentScriptContext, getLocalization, getProgress, getRealPath, getTranslatedDocument, handleRedirectObject, handleRevision, initializeContainerComponent, initializeXWikiContext, localizePlainOrKey, sendGlobalRedirect, sendRedirect
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
protected static final String CONFIRM_PARAM
protected static final String ACTION_NAME
protected static final String ASYNC_PARAM
protected static final String RECYCLED_DOCUMENT_ID_PARAM
public boolean action(XWikiContext context) throws XWikiException
action
in class XWikiAction
XWikiException
public String render(XWikiContext context) throws XWikiException
render
in class XWikiAction
XWikiException
protected boolean delete(XWikiContext context) throws XWikiException
XWikiException
protected boolean deleteToRecycleBin(EntityReference entityReference, XWikiContext context) throws XWikiException
XWikiException
Copyright © 2004–2017 XWiki. All rights reserved.