public class EditSpaceLabelAction extends AbstractSpaceAdminAction implements SpaceLabelAware, Evented<SpaceLabelsViewEvent>
key, notificationManager, space, spaceManager, themeManager, wikiStyleRenderer
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
EditSpaceLabelAction() |
Modifier and Type | Method and Description |
---|---|
Label |
addLabel(Space space,
String labelName) |
List |
getAvailableTeamLabels() |
SpaceLabelsViewEvent |
getEventToPublish(String result)
Gets the event to publish.
|
List |
getLabelsOnThisSpace()
Returns the labels for the space (excluding team labels) for rendering in the UI
|
SpaceLabelManager |
getSpaceLabelManager() |
List |
getSuggestedLabelsForSpace() |
List |
getTeamLabelsOnThisSpace()
Returns the teams labels for the space for rendering in the UI
|
void |
setSpaceLabelManager(SpaceLabelManager spaceLabelManager) |
doDefault, getPermissionTypes, isSpaceRequired, isViewPermissionRequired
getKey, getSpace, getSpaceKey, getSubscribableName, getThemeManager, hasSpaceIA, isPermitted, isPersonalSpace, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRenderer
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setSpace
validate
public SpaceLabelManager getSpaceLabelManager()
public void setSpaceLabelManager(SpaceLabelManager spaceLabelManager)
public List getTeamLabelsOnThisSpace()
SpaceLabelAware
getTeamLabelsOnThisSpace
in interface SpaceLabelAware
public List getLabelsOnThisSpace()
SpaceLabelAware
getLabelsOnThisSpace
in interface SpaceLabelAware
public List getAvailableTeamLabels()
public List getSuggestedLabelsForSpace() throws Exception
Exception
public SpaceLabelsViewEvent getEventToPublish(String result)
Evented
getEventToPublish
in interface Evented<SpaceLabelsViewEvent>
result
- the result of the action executing.Copyright © 2003–2020 Atlassian. All rights reserved.