@Component @Named(value="propenable") @Singleton public class PropEnableAction extends AbstractPropChangeAction
propname
request parameter, and the class is the one defined in the requested document.ACTION_PROGRESS, componentDescriptor, container, execution, handleRedirectObject, observation, waitForXWikiInitialization
Constructor and Description |
---|
PropEnableAction() |
Modifier and Type | Method and Description |
---|---|
void |
changePropertyDefinition(BaseClass xclass,
String propertyName,
XWikiContext context)
The method which does the actual modification of the property definition.
|
action, getFormClass, render
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
public void changePropertyDefinition(BaseClass xclass, String propertyName, XWikiContext context) throws XWikiException
AbstractPropChangeAction
changePropertyDefinition
in class AbstractPropChangeAction
xclass
- the affected classpropertyName
- the property to changecontext
- the current request contextXWikiException
- if a storage error occursCopyright © 2004–2021 XWiki. All rights reserved.