|
||||||||||
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, log, 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 | |
---|---|
String |
doDefault()
Default webwork action execution method. |
String |
doUpdate()
Remove the existing user macro and then add the updated user macro |
String |
getMode()
|
String |
getOriginalName()
|
List<HTMLPairType> |
getOutputTypes()
Populates the output type select box if the macro being edited is a legacy one with a wiki markup template. |
String |
getSubmitKey()
|
void |
setOriginalName(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 String getOriginalName()
public void setOriginalName(String originalName)
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public String doDefault() throws Exception
ConfluenceActionSupport
doDefault
in class UserMacroAction
Exception
- if something goes wrongpublic String doUpdate()
public List<HTMLPairType> getOutputTypes()
public String getMode()
public String getSubmitKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |