@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, writeAjaxErrorResponse
protected Class<? extends XWikiForm> getFormClass()
getFormClass
in class XWikiAction
public String render(XWikiContext context) throws XWikiException
render
in class XWikiAction
XWikiException
protected XWikiDocument prepareEditedDocument(XWikiContext context) throws XWikiException
context
- the XWiki contextXWikiException
- if something goes wrongCopyright © 2004–2021 XWiki. All rights reserved.