|
||||||||||
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, macroMetadataManager, userMacro, userMacroLibrary |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, 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 |
getMode()
|
java.lang.String |
getOriginalName()
|
java.util.List<HTMLPairType> |
getOutputTypes()
Populates the output type select box if the macro being edited is a legacy one with a wiki markup template. |
java.lang.String |
getSubmitKey()
|
void |
setOriginalName(java.lang.String originalName)
|
void |
validate()
|
Methods inherited from class com.atlassian.confluence.admin.actions.macros.UserMacroAction |
---|
addUpdateMacro, countUserMacrosWithoutMetadata, countUserMacrosWithWikiTemplates, getBodyTypes, getCategories, getShowInMacroBrowser, getUserMacro, getUserMacros, isMissingMetadata, isPermitted, isWikiTemplate, setMacro, setMacroManager, setMacroMetadataManager, setShowInMacroBrowser, setUserMacro, setUserMacroLibrary, validateMacroForm, validateNewMacroName |
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 MessageHolderAware
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()
public java.util.List<HTMLPairType> getOutputTypes()
public java.lang.String getMode()
public java.lang.String getSubmitKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |