|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.spaces.actions.AbstractSpaceAction
com.atlassian.confluence.spaces.actions.AbstractSpaceAdminAction
com.atlassian.confluence.spaces.actions.EditSpaceLabelAction
com.atlassian.confluence.spaces.actions.AddLabelToSpaceAction
public class AddLabelToSpaceAction
labels are added to the Space's SpaceDescription object
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction |
---|
key, notificationManager, originalSpace, space, spaceManager, themeManager, wikiStyleRenderer |
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 | |
---|---|
AddLabelToSpaceAction()
|
Method Summary | |
---|---|
String |
execute()
|
String |
getNewLabel()
|
String |
getNewSpaceLabel()
|
String |
getNewTeamLabel()
|
protected List<String> |
getPermissionTypes()
|
void |
performSpaceLabelTransformations()
Perform any transformations to the labels required by this specific action. |
void |
setLabelType(String labelType)
|
void |
setNewSpaceLabel(String newSpaceLabel)
|
void |
setNewTeamLabel(String newTeamLabel)
|
void |
validate()
|
Methods inherited from class com.atlassian.confluence.spaces.actions.EditSpaceLabelAction |
---|
getAvailableTeamLabels, getEventToPublish, getLabelsOnThisSpace, getSpaceLabelManager, getSuggestedLabelsForSpace, getTeamLabelsOnThisSpace, setSpaceLabelManager |
Methods inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAdminAction |
---|
doDefault, isSpaceRequired, isViewPermissionRequired |
Methods inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction |
---|
getKey, getSpace, getSpaceKey, getSubscribableName, getThemeManager, hasSpaceIA, isAdminUser, isPermitted, isPersonalSpace, isSuperUser, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRenderer |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, 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 |
Methods inherited from interface com.atlassian.confluence.spaces.actions.SpaceAware |
---|
setSpace |
Methods inherited from interface com.atlassian.confluence.spaces.Spaced |
---|
getSpace |
Constructor Detail |
---|
public AddLabelToSpaceAction()
Method Detail |
---|
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public String getNewLabel()
public String getNewTeamLabel()
public void setNewTeamLabel(String newTeamLabel)
public String getNewSpaceLabel()
public void setNewSpaceLabel(String newSpaceLabel)
public void setLabelType(String labelType)
public void performSpaceLabelTransformations()
protected List<String> getPermissionTypes()
getPermissionTypes
in class AbstractSpaceAdminAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |