com.atlassian.confluence.user.actions
Class ViewUserProfileAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.user.actions.AbstractUserProfileAction
              extended by com.atlassian.confluence.user.actions.ViewUserProfileAction
All Implemented Interfaces:
FormAware, WebInterface, UserAware, BreadcrumbAware, MessageHolderAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, Serializable

public class ViewUserProfileAction
extends AbstractUserProfileAction
implements FormAware, UserAware

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.confluence.user.actions.AbstractUserProfileAction
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
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, 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
 
Constructor Summary
ViewUserProfileAction()
           
 
Method Summary
 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)
           
 
Methods inherited from class com.atlassian.confluence.user.actions.AbstractUserProfileAction
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
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, 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
 
Methods inherited from interface com.atlassian.confluence.user.actions.UserAware
getUser, isUserRequired, isViewPermissionRequired
 
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware
validate
 

Constructor Detail

ViewUserProfileAction

public ViewUserProfileAction()
Method Detail

execute

public String execute()
               throws Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport
Throws:
Exception

getPathToProfilePicture

public String getPathToProfilePicture()

getUserDetailsKeys

public List<String> getUserDetailsKeys(String groupKey)

getUserDetailsGroups

public List<String> getUserDetailsGroups()

setPageManager

public void setPageManager(PageManager pageManager)

setContentEntityManager

public void setContentEntityManager(ContentEntityManager contentEntityManager)

getUsername

public String getUsername()
Overrides:
getUsername in class AbstractUserProfileAction

setUsername

public void setUsername(String username)

getSignupDate

public Date getSignupDate()

getLastLoginDate

public Date getLastLoginDate()

getAuthoredPagesCount

public int getAuthoredPagesCount()

getRecentlyUpdatedContent

public List getRecentlyUpdatedContent()

getAuthoredSpaces

public List getAuthoredSpaces()

isEmailVisible

public boolean isEmailVisible()
Overrides:
isEmailVisible in class ConfluenceActionSupport

renderEmail

public String renderEmail(String email)

getFavouriteSpaces

public List getFavouriteSpaces()

isEditMode

public boolean isEditMode()
Specified by:
isEditMode in interface FormAware

getPermissionTypes

protected List<String> getPermissionTypes()
Overrides:
getPermissionTypes in class ConfluenceActionSupport

getEmail

public String getEmail()
Overrides:
getEmail in class AbstractUserProfileAction


Copyright © 2003–2015 Atlassian. All rights reserved.