|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
com.xpn.xwiki.web.XWikiAction
com.xpn.xwiki.web.AbstractPropChangeAction
com.xpn.xwiki.web.PropDisableAction
public class PropDisableAction
Action for disabling a property definition of the current class. The property to disable is specified in the propname
request parameter, and the class is the one defined in the requested document.
Field Summary |
---|
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
PropDisableAction()
|
Method Summary | |
---|---|
void |
changePropertyDefinition(BaseClass xclass,
String propertyName,
XWikiContext context)
The method which does the actual modification of the property definition. |
Methods inherited from class com.xpn.xwiki.web.AbstractPropChangeAction |
---|
action, render |
Methods inherited from class com.xpn.xwiki.web.XWikiAction |
---|
cleanupComponents, csrfTokenCheck, execute, execute, getRealPath, getTranslatedDocument, handleRevision, initializeContainerComponent, initializeXWikiContext, sendGlobalRedirect, sendRedirect |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropDisableAction()
Method Detail |
---|
public void changePropertyDefinition(BaseClass xclass, String propertyName, XWikiContext context) throws XWikiException
changePropertyDefinition
in class AbstractPropChangeAction
xclass
- the affected classpropertyName
- the property to changecontext
- the current request context
XWikiException
- if a storage error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |