Package com.xpn.xwiki.web
Class UndeleteAction
- java.lang.Object
-
- com.xpn.xwiki.web.XWikiAction
-
- com.xpn.xwiki.web.UndeleteAction
-
- All Implemented Interfaces:
com.xpn.xwiki.internal.web.LegacyAction
@Component @Named("undelete") @Singleton public class UndeleteAction extends XWikiActionAction for restoring documents from the recycle bin.- Since:
- 1.2M1
- Version:
- $Id: 073d9e601d58e5f6d07c5c91120393b8951bc5df $
-
-
Field Summary
-
Fields inherited from class com.xpn.xwiki.web.XWikiAction
ACTION_PROGRESS, componentDescriptor, container, execution, observation, waitForXWikiInitialization
-
-
Constructor Summary
Constructors Constructor Description UndeleteAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaction(XWikiContext context)Stringrender(XWikiContext context)-
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, localizePlainOrKey, readFromTemplate, resolveTemplate, sendGlobalRedirect, sendRedirect, setContentLength, supportRedirections, writeAjaxErrorResponse
-
-
-
-
Method Detail
-
action
public boolean action(XWikiContext context) throws XWikiException
- Overrides:
actionin classXWikiAction- Throws:
XWikiException
-
render
public String render(XWikiContext context) throws XWikiException
- Overrides:
renderin classXWikiAction- Throws:
XWikiException
-
-