com.atlassian.confluence.it.user
Class UserProfile
java.lang.Object
com.atlassian.confluence.it.user.UserProfile
public class UserProfile
- extends java.lang.Object
Represents a user's profile.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TITLE_SEPARATOR
public static final java.lang.String TITLE_SEPARATOR
- See Also:
- Constant Field Values
SITE_TITLE_SUFFIX
public static final java.lang.String SITE_TITLE_SUFFIX
- See Also:
- Constant Field Values
newInstance
public static UserProfile newInstance(net.sourceforge.jwebunit.junit.WebTester webTester,
ConfluenceRpc confluenceRpc)
setUserProfilePicture
public void setUserProfilePicture(java.lang.String fileName)
- Sets the user's profile picture as the provided file. The filename must match a previously uploaded
profile picture, or one of the default icons.
- Parameters:
fileName
- the filename to set as the user's profile picture.
addUserProfilePicture
public void addUserProfilePicture(java.lang.String fileName)
- Adds the given File as the user's profile picture. The file must be available on the test classpath
- Parameters:
fileName
- Filename
viewProfile
public void viewProfile()
viewProfile
public void viewProfile(java.lang.String username)
viewProfile
public void viewProfile(User user)
viewMyLabels
public void viewMyLabels()
viewMyWatches
public void viewMyWatches()
viewMyDrafts
public void viewMyDrafts()
viewMySettings
public void viewMySettings()
viewMyEmailSettings
public void viewMyEmailSettings()
viewStatusUpdates
public void viewStatusUpdates(java.lang.String username)
viewStatusUpdates
public void viewStatusUpdates(User user)
editProfile
public void editProfile(java.lang.String fullName,
java.lang.String email,
java.lang.String aboutMe)
- Edit the profile for the current user. A null value for any of the parameters signifies that they should not be
changed.
viewSettings
public void viewSettings()
editProfile
public void editProfile(java.lang.String info)
createPersonalSpace
public void createPersonalSpace(java.lang.String fullname)
setNotifyOnMyActions
public void setNotifyOnMyActions(boolean notify)
setDailyEmailPreference
public void setDailyEmailPreference(boolean dailyEmail)
setEmailFormatPreference
public void setEmailFormatPreference(UserProfile.EmailFormat format)
browseToTimeZoneSelection
public void browseToTimeZoneSelection()
browseMyStatusUpdates
public void browseMyStatusUpdates()
browseToFollow
public void browseToFollow()
browseToWatches
public void browseToWatches()
follow
public void follow(User user)
setTimeZone
public void setTimeZone(TimeZone timeZone)
editDetails
public EditMyProfileBean editDetails()
clearStatus
public void clearStatus(long statusId)
deleteStatus
public void deleteStatus(long statusId,
java.lang.String statusText)
setUserStatus
public void setUserStatus(java.lang.String s)
viewStatus
public void viewStatus(User user,
long id)
viewFollowTab
public void viewFollowTab(java.lang.String username)
setLanguage
public void setLanguage(java.lang.String languageName)
getCurrentLanguage
public java.lang.String getCurrentLanguage()
Copyright © 2003-2010 Atlassian. All Rights Reserved.