com.atlassian.confluence.user.actions
Class AbstractUserProfileAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.user.actions.AbstractUserProfileAction
- All Implemented Interfaces:
- com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, Serializable, Spaced, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware
- Direct Known Subclasses:
- ChangeMyPasswordAction, EditEmailPreferencesAction, EditMyPreferencesAction, EditMyProfileAction, EditMyProfilePictureAction, EditNotificationsAction, HandleProfileAttachmentsAction, RemoveProfileAttachmentAction, ViewMyDraftsAction, ViewMyLabelsAction, ViewUserProfileAction
- public abstract class AbstractUserProfileAction
- extends ConfluenceActionSupport
- implements Spaced
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, 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 |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addPermissionTypeTo, addToHistory, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEditorLanguage, getEventManager, getGlobalHelper, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSpaceHelper, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager |
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, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HOMEPAGE_DASHBOARD
public static final String HOMEPAGE_DASHBOARD
- See Also:
- Constant Field Values
HOMEPAGE_SITEHOME
public static final String HOMEPAGE_SITEHOME
- See Also:
- Constant Field Values
HOMEPAGE_PROFILE
public static final String HOMEPAGE_PROFILE
- See Also:
- Constant Field Values
notificationManager
protected NotificationManager notificationManager
fullName
protected String fullName
email
protected String email
notifyByEmail
protected boolean notifyByEmail
notifyForMyOwnActions
protected boolean notifyForMyOwnActions
personalInformationManager
protected PersonalInformationManager personalInformationManager
spaceManager
protected SpaceManager spaceManager
useWysiwygEditor
protected boolean useWysiwygEditor
mimeType
protected String mimeType
personalInformationEntity
protected PersonalInformation personalInformationEntity
personalInformation
protected String personalInformation
siteHomePage
protected String siteHomePage
dashboardLabels
protected String dashboardLabels
attachmentManager
protected AttachmentManager attachmentManager
preferredUserLocale
protected String preferredUserLocale
installedLocalePairs
protected List installedLocalePairs
AbstractUserProfileAction
public AbstractUserProfileAction()
getUser
public User getUser()
getFullName
public String getFullName()
setFullName
public void setFullName(String fullName)
isNotifyForMyOwnActions
public boolean isNotifyForMyOwnActions()
setNotifyForMyOwnActions
public void setNotifyForMyOwnActions(boolean notifyForMyOwnActions)
setNotifyByEmail
public void setNotifyByEmail(boolean notifyByEmail)
isNotifyByEmail
public boolean isNotifyByEmail()
getUserPreferences
protected UserPreferences getUserPreferences()
getMimeType
public String getMimeType()
getMimeTypeUserFriendly
public String getMimeTypeUserFriendly()
setMimeType
public void setMimeType(String mimeType)
getMimeTypes
public List getMimeTypes()
getEmail
public String getEmail()
setEmail
public void setEmail(String email)
getPersonalInformationEntity
public PersonalInformation getPersonalInformationEntity()
getPersonalInformation
public String getPersonalInformation()
setPersonalInformation
public void setPersonalInformation(String personalInformation)
getSiteHomePageName
public String getSiteHomePageName()
getSiteHomePage
public String getSiteHomePage()
setSiteHomePage
public void setSiteHomePage(String siteHomePage)
getUsername
public String getUsername()
isViewingMyProfile
public boolean isViewingMyProfile()
getUserProfilePicture
public ProfilePictureInfo getUserProfilePicture()
getAttachments
public List getAttachments()
setAttachmentManager
public void setAttachmentManager(AttachmentManager attachmentManager)
isShowingAttachments
public boolean isShowingAttachments()
doDefault
public String doDefault()
throws Exception
- Description copied from class:
ConfluenceActionSupport
- Default webwork action execution method.
- Overrides:
doDefault
in class ConfluenceActionSupport
- Returns:
- the action result
- Throws:
Exception
- if something goes wrong
isUseWysiwygEditor
public boolean isUseWysiwygEditor()
setUseWysiwygEditor
public void setUseWysiwygEditor(boolean useWysiwygEditor)
setNotificationManager
public void setNotificationManager(NotificationManager notificationManager)
setPersonalInformationManager
public void setPersonalInformationManager(PersonalInformationManager personalInformationManager)
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
setDashboardLabels
public void setDashboardLabels(String labels)
getDashboardLabels
public String getDashboardLabels()
getUserLocaleName
public String getUserLocaleName()
getInstalledLocalePairs
public List getInstalledLocalePairs()
getSpace
public Space getSpace()
- Specified by:
getSpace
in interface Spaced
getPersonalSpaceKey
protected String getPersonalSpaceKey(User user)
setPreferredUserLocale
public void setPreferredUserLocale(String locale)
getPreferredUserLocale
public String getPreferredUserLocale()
getGlobalHomepageSetting
protected String getGlobalHomepageSetting()
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in class ConfluenceActionSupport
getUserTimeZone
public String getUserTimeZone()
setUserTimeZone
public void setUserTimeZone(String timeZoneID)