public class ViewUserProfileAction extends AbstractUserProfileAction implements FormAware, UserAware
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, userStatusManager, wikiStyleRenderer
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
ViewUserProfileAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
int |
getAuthoredPagesCount() |
List |
getAuthoredSpaces() |
String |
getEmail() |
List |
getFavouriteSpaces() |
Date |
getLastLoginDate() |
String |
getPathToProfilePicture() |
protected List<String> |
getPermissionTypes() |
List |
getRecentlyUpdatedContent() |
Date |
getSignupDate() |
List<String> |
getUserDetailsGroups() |
List<String> |
getUserDetailsKeys(String groupKey) |
String |
getUsername() |
boolean |
isEditMode() |
boolean |
isEmailVisible() |
String |
renderEmail(String email) |
void |
setContentEntityManager(ContentEntityManager contentEntityManager) |
void |
setPageManager(PageManager pageManager) |
void |
setUsername(String username) |
currentUserHasLicensedAccess, getAttachments, getBreadcrumb, getContext, getCurrentStatus, getFullName, getHasStatusUpdates, getPageTitle, getPersonalInformation, getPersonalInformationEntity, getPersonalSpaceKey, getRenderedAboutMe, getStatusTextRenderer, getUser, getUserPreferences, getUserProfilePicture, getUserProperty, getWebInterfaceContext, hasPersonalSpace, isFavourite, isFollowing, isHasAboutMe, isMyProfile, isUserRequired, isViewingMyProfile, isViewPermissionRequired, setAttachmentManager, setFavouriteManager, setFollowManager, setNotificationManager, setPersonalInformation, setPersonalInformationManager, setSpaceManager, setStatusTextRenderer, setUserDetailsManager, setUserStatusManager, setWikiStyleRenderer
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, 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, 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, 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
getUser, isUserRequired, isViewPermissionRequired
validate
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public String getPathToProfilePicture()
public void setPageManager(PageManager pageManager)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public String getUsername()
getUsername
in class AbstractUserProfileAction
public void setUsername(String username)
public Date getSignupDate()
public Date getLastLoginDate()
public int getAuthoredPagesCount()
public List getRecentlyUpdatedContent()
public List getAuthoredSpaces()
public boolean isEmailVisible()
isEmailVisible
in class ConfluenceActionSupport
public List getFavouriteSpaces()
public boolean isEditMode()
isEditMode
in interface FormAware
protected List<String> getPermissionTypes()
getPermissionTypes
in class ConfluenceActionSupport
public String getEmail()
getEmail
in class AbstractUserProfileAction
Copyright © 2003–2016 Atlassian. All rights reserved.