public class EditMySettingsAction extends ViewMySettingsAction implements FormAware
DEFAULT_KEY, highlightOptionPanelEnabled, installedLocalePairs, keyboardShortcutsEnabled, preferredUserLocale, siteHomePage, userTimeZone
attachmentManager, favouriteManager, followManager, HOMEPAGE_DASHBOARD, HOMEPAGE_PROFILE, HOMEPAGE_SITEHOME, HTML_FRIENDLY_NAME, HTML_MIME_TYPE, notificationManager, personalInformationManager, spaceManager, statusTextRenderer, TEXT_FRIENDLY_NAME, TEXT_MIME_TYPE, userDetailsManager, 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 |
---|
EditMySettingsAction() |
Modifier and Type | Method and Description |
---|---|
String |
doEdit() |
boolean |
isEditMode() |
boolean |
isPermitted() |
void |
setHighlightOptionPanelEnabled(boolean highlightOptionPanelEnabled) |
void |
setKeyboardShortcutsEnabled(boolean keyboardShortcutsEnabled) |
void |
setPreferredUserLocale(String locale) |
void |
setSiteHomePage(String siteHomePage) |
void |
setUserTimeZone(String timeZoneID) |
protected void |
updateUserPreferences() |
void |
validate() |
doView, getAvailableTimeZones, getGlobalHomepageSetting, getInstalledLocalePairs, getPreferredUserLocale, getSiteHomePage, getSiteHomePages, getUserLocaleName, getUserTimeZone, isHighlightOptionPanelEnabled, isHighlightPluginEnabled, isKeyboardShortcutsEnabled
currentUserHasLicensedAccess, getAttachments, getBreadcrumb, getContext, getEmail, getFullName, getPageTitle, getPersonalInformation, getPersonalInformationEntity, getPersonalSpaceKey, getRenderedAboutMe, getStatusTextRenderer, getUser, getUsername, getUserPreferences, getUserProfilePicture, getUserProperty, getWebInterfaceContext, hasPersonalSpace, isFavourite, isFollowing, isHasAboutMe, isMyProfile, isUserRequired, isViewPermissionRequired, setAttachmentManager, setFavouriteManager, setFollowManager, setNotificationManager, setPersonalInformation, setPersonalInformationManager, setSpaceManager, setStatusTextRenderer, setUserDetailsManager, setWikiStyleRenderer
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, 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
public String doEdit() throws com.atlassian.core.AtlassianCoreException
doEdit
in class ViewMySettingsAction
com.atlassian.core.AtlassianCoreException
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
protected void updateUserPreferences() throws com.atlassian.core.AtlassianCoreException
com.atlassian.core.AtlassianCoreException
public void setPreferredUserLocale(String locale)
public void setKeyboardShortcutsEnabled(boolean keyboardShortcutsEnabled)
public void setHighlightOptionPanelEnabled(boolean highlightOptionPanelEnabled)
public void setSiteHomePage(String siteHomePage)
public void setUserTimeZone(String timeZoneID)
public boolean isPermitted()
isPermitted
in class ViewMySettingsAction
public boolean isEditMode()
isEditMode
in interface FormAware
isEditMode
in class ViewMySettingsAction
Copyright © 2003–2021 Atlassian. All rights reserved.