public abstract class AbstractUserProfileAction extends ConfluenceActionSupport implements BreadcrumbAware, UserAware
Modifier and Type | Field and Description |
---|---|
protected AttachmentManager |
attachmentManager |
protected FavouriteManager |
favouriteManager |
protected FollowManagerInternal |
followManager |
static String |
HOMEPAGE_DASHBOARD |
static String |
HOMEPAGE_PROFILE |
static String |
HOMEPAGE_SITEHOME |
static String |
HTML_FRIENDLY_NAME |
static String |
HTML_MIME_TYPE |
protected NotificationManager |
notificationManager |
protected PersonalInformationManager |
personalInformationManager |
protected SpaceManager |
spaceManager |
protected StatusTextRenderer |
statusTextRenderer |
static String |
TEXT_FRIENDLY_NAME |
static String |
TEXT_MIME_TYPE |
protected UserDetailsManager |
userDetailsManager |
protected UserStatusManager |
userStatusManager |
protected com.atlassian.renderer.WikiStyleRenderer |
wikiStyleRenderer |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
AbstractUserProfileAction() |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermitted, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
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
validate
public static final String HTML_FRIENDLY_NAME
public static final String TEXT_FRIENDLY_NAME
public static final String HTML_MIME_TYPE
public static final String TEXT_MIME_TYPE
public static final String HOMEPAGE_DASHBOARD
public static final String HOMEPAGE_SITEHOME
public static final String HOMEPAGE_PROFILE
protected UserStatusManager userStatusManager
protected StatusTextRenderer statusTextRenderer
protected com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer
protected FollowManagerInternal followManager
protected FavouriteManager favouriteManager
protected NotificationManager notificationManager
protected PersonalInformationManager personalInformationManager
protected AttachmentManager attachmentManager
protected SpaceManager spaceManager
protected UserDetailsManager userDetailsManager
public ConfluenceUser getUser()
public Object getFullName()
public Object getEmail()
protected com.atlassian.core.user.preferences.UserPreferences getUserPreferences()
public PersonalInformation getPersonalInformationEntity()
public String getPersonalInformation()
public void setPersonalInformation(String personalInformation)
public String getUsername()
@Deprecated public boolean isViewingMyProfile()
public boolean isMyProfile()
public ProfilePictureInfo getUserProfilePicture()
public List getAttachments()
public final void setAttachmentManager(AttachmentManager attachmentManager)
public final void setNotificationManager(NotificationManager notificationManager)
public final void setPersonalInformationManager(PersonalInformationManager personalInformationManager)
public final void setSpaceManager(SpaceManager spaceManager)
protected String getPersonalSpaceKey(com.atlassian.user.User user)
public String getPageTitle()
public WebInterfaceContext getWebInterfaceContext()
WebInterface
Typically, WebWork actions will implement this to provide extra details in the context such as content objects, and so on.
getWebInterfaceContext
in interface WebInterface
getWebInterfaceContext
in class ConfluenceActionSupport
public boolean isHasAboutMe()
public Object getRenderedAboutMe()
public Breadcrumb getBreadcrumb()
BreadcrumbAware
getBreadcrumb
in interface BreadcrumbAware
public UserStatus getCurrentStatus()
public boolean getHasStatusUpdates()
public final void setUserDetailsManager(UserDetailsManager userDetailsManager)
public final void setUserStatusManager(UserStatusManager userStatusManager)
public final void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
public final void setFollowManager(FollowManagerInternal followManager)
public final void setFavouriteManager(FavouriteManager favouriteManager)
public StatusTextRenderer getStatusTextRenderer()
public void setStatusTextRenderer(StatusTextRenderer statusTextRenderer)
public boolean isFollowing()
public boolean isFavourite()
public boolean hasPersonalSpace()
public boolean currentUserHasLicensedAccess()
public final boolean isUserRequired()
UserAware
isUserRequired
in interface UserAware
public final boolean isViewPermissionRequired()
isViewPermissionRequired
in interface UserAware
public Map<String,Object> getContext()
getContext
in class ConfluenceActionSupport
Copyright © 2003–2016 Atlassian. All rights reserved.