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:
WebInterface, Spaced, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable

public class ViewUserProfileAction
extends AbstractUserProfileAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.confluence.user.actions.AbstractUserProfileAction
attachmentManager, dashboardLabels, email, fullName, HOMEPAGE_DASHBOARD, HOMEPAGE_PROFILE, HOMEPAGE_SITEHOME, installedLocalePairs, mimeType, notificationManager, notifyByEmail, notifyForMyOwnActions, personalInformation, personalInformationEntity, personalInformationManager, preferredUserLocale, siteHomePage, spaceManager, useWysiwygEditor
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, 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
 
Constructor Summary
ViewUserProfileAction()
           
 
Method Summary
 java.lang.String execute()
           
 int getAuthoredPagesCount()
           
 java.util.List getAuthoredSpaces()
           
 java.util.List getFavouriteSpaces()
           
 java.util.Date getLastLoginDate()
           
 java.lang.String getPathToProfilePicture()
           
 java.util.List getRecentlyUpdatedContent()
           
 java.util.Date getSignupDate()
           
 java.lang.String getUsername()
           
 java.lang.String getXHtmlPersonalInformation()
           
 boolean isEmailVisible()
           
 boolean isPermitted()
           
 java.lang.String renderEmail(java.lang.String email)
           
 void setContentEntityManager(ContentEntityManager contentEntityManager)
           
 void setPageManager(PageManager pageManager)
           
 void setUsername(java.lang.String username)
           
 void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
           
 
Methods inherited from class com.atlassian.confluence.user.actions.AbstractUserProfileAction
doDefault, getAttachments, getDashboardLabels, getEmail, getFullName, getGlobalHomepageSetting, getInstalledLocalePairs, getMimeType, getMimeTypes, getMimeTypeUserFriendly, getPersonalInformation, getPersonalInformationEntity, getPersonalSpaceKey, getPreferredUserLocale, getSiteHomePage, getSiteHomePageName, getSpace, getUser, getUserLocaleName, getUserPreferences, getUserProfilePicture, getUserTimeZone, getWebInterfaceContext, isMyProfile, isNotifyByEmail, isNotifyForMyOwnActions, isShowingAttachments, isUseWysiwygEditor, isViewingMyProfile, setAttachmentManager, setDashboardLabels, setEmail, setFullName, setMimeType, setNotificationManager, setNotifyByEmail, setNotifyForMyOwnActions, setPersonalInformation, setPersonalInformationManager, setPreferredUserLocale, setSiteHomePage, setSpaceManager, setUserTimeZone, setUseWysiwygEditor
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, 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, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, 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
 

Constructor Detail

ViewUserProfileAction

public ViewUserProfileAction()
Method Detail

isPermitted

public boolean isPermitted()
Overrides:
isPermitted in class AbstractUserProfileAction

execute

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

getPathToProfilePicture

public java.lang.String getPathToProfilePicture()

setWikiStyleRenderer

public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)

setPageManager

public void setPageManager(PageManager pageManager)

setContentEntityManager

public void setContentEntityManager(ContentEntityManager contentEntityManager)

getUsername

public java.lang.String getUsername()
Overrides:
getUsername in class AbstractUserProfileAction

setUsername

public void setUsername(java.lang.String username)

getXHtmlPersonalInformation

public java.lang.String getXHtmlPersonalInformation()

getSignupDate

public java.util.Date getSignupDate()

getLastLoginDate

public java.util.Date getLastLoginDate()

getAuthoredPagesCount

public int getAuthoredPagesCount()

getRecentlyUpdatedContent

public java.util.List getRecentlyUpdatedContent()

getAuthoredSpaces

public java.util.List getAuthoredSpaces()

isEmailVisible

public boolean isEmailVisible()
Overrides:
isEmailVisible in class ConfluenceActionSupport

renderEmail

public java.lang.String renderEmail(java.lang.String email)

getFavouriteSpaces

public java.util.List getFavouriteSpaces()


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.