@Component @Named(value="edit") @Singleton public class EditAction extends XWikiAction
ACTION_PROGRESS, componentDescriptor, container, execution, handleRedirectObject, observation, waitForXWikiInitialization| Constructor and Description |
|---|
EditAction()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends XWikiForm> |
getFormClass() |
protected XWikiDocument |
prepareEditedDocument(XWikiContext context)
Determines the edited document (translation) and updates it based on the template specified on the request and
any additional request parameters that overwrite the default values from the template.
|
String |
render(XWikiContext context) |
action, answerJSON, cleanupComponents, csrfTokenCheck, csrfTokenCheck, execute, execute, getContextualAuthorizationManager, getCurrentMixedDocumentReferenceResolver, getCurrentScriptContext, getEntityNameValidationConfiguration, getEntityNameValidationManager, getLocalization, getLocalSerializer, getName, getProgress, getRealPath, getTranslatedDocument, handleRedirectObject, handleRevision, initializeContainerComponent, initializeXWikiContext, initializeXWikiContext, isEntityReferenceNameValid, localizePlainOrKey, readFromTemplate, resolveTemplate, sendGlobalRedirect, sendRedirect, setContentLength, writeAjaxErrorResponseprotected Class<? extends XWikiForm> getFormClass()
getFormClass in class XWikiActionpublic String render(XWikiContext context) throws XWikiException
render in class XWikiActionXWikiExceptionprotected XWikiDocument prepareEditedDocument(XWikiContext context) throws XWikiException
context - the XWiki contextXWikiException - if something goes wrongCopyright © 2004–2021 XWiki. All rights reserved.