|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.confluence.core.ConfluenceActionSupport com.atlassian.confluence.admin.actions.macros.UserMacroAction com.atlassian.confluence.admin.actions.macros.UpdateUserMacroAction
public class UpdateUserMacroAction
Action for updating a user macro
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.admin.actions.macros.UserMacroAction |
---|
macro, macroManager, userMacro, userMacroLibrary |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
UpdateUserMacroAction()
|
Method Summary | |
---|---|
java.lang.String |
doDefault()
Default webwork action execution method. |
java.lang.String |
doUpdate()
Remove the existing user macro and then add the updated user macro |
java.lang.String |
getOriginalName()
|
void |
setOriginalName(java.lang.String originalName)
|
void |
validate()
|
Methods inherited from class com.atlassian.confluence.admin.actions.macros.UserMacroAction |
---|
getBodyTypes, getOutputTypes, getUserMacro, getUserMacros, isPermitted, setMacro, setMacroManager, setUserMacro, setUserMacroLibrary |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpdateUserMacroAction()
Method Detail |
---|
public java.lang.String getOriginalName()
public void setOriginalName(java.lang.String originalName)
public void validate()
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public java.lang.String doDefault() throws java.lang.Exception
ConfluenceActionSupport
doDefault
in class UserMacroAction
java.lang.Exception
- if something goes wrongpublic java.lang.String doUpdate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |