public class UserProfile extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UserProfile.EmailFormat |
Modifier and Type | Field and Description |
---|---|
static String |
NOTIFY_BY_EMAIL |
static String |
SITE_TITLE_SUFFIX |
static String |
TITLE_SEPARATOR |
public static final String TITLE_SEPARATOR
public static final String SITE_TITLE_SUFFIX
public static final String NOTIFY_BY_EMAIL
public static UserProfile newInstance(net.sourceforge.jwebunit.junit.WebTester webTester, ConfluenceRpc confluenceRpc)
public void setUserProfilePicture(String fileName)
fileName
- the filename to set as the user's profile picture.public void addUserProfilePicture(String fileName)
fileName
- Filenamepublic void viewProfile()
public void viewProfile(String username)
public void viewProfile(User user)
public void viewMyFavourites()
public void viewMyWatches()
public void viewMyDrafts()
public void viewMySettings()
public void editPassword()
public void viewMyEmailSettings()
public void editMyEmailSettings()
public void gotoEditProfile()
public void editProfile(String fullName, String email, String aboutMe)
public void viewSettings()
public void editProfile(String info)
public void createPersonalSpace()
GlobalPermission.PERSONAL_SPACE
.public void viewPersonalSpace()
public void setNotifyOnMyActions(boolean notify)
public boolean isNotifyOnMyOwnActionsChecked()
public void setWatchMyOwnContent(boolean watchOwnContent)
public boolean isWatchMyOwnContent()
public void setDailyEmailPreference(boolean dailyEmail)
public boolean isDailyEmailPreferenceChecked()
public void setWatchAllBlogsPreference(boolean siteBlogWatchForUser)
public boolean isWatchAllBlogsPreferenceChecked()
public void setWatchNetworkPreference(boolean watchNetwork)
public boolean isWatchNetworkPreference()
public boolean isNotifyOnNewFollowersPreferenceChecked()
public void setNotifyOnNewFollowersPreference(boolean notify)
public void setShowChangedContent(boolean showDiff)
public boolean isShowChangedContent()
public void setShowFullContent(boolean showFull)
public boolean isShowFullContent()
public void setEmailFormatPreference(UserProfile.EmailFormat format)
public void browseToTimeZoneSelection()
public void browseToFollow()
public void goToWatches()
public void follow(User user)
public void setTimeZone(TimeZone timeZone)
public EditMyProfileBean editDetails()
public void viewFollowTab(String username)
public void setLanguage(String languageValue)
public String getCurrentLanguage()
public void setHomepage(String homepage)
public String getHomepage()
public void stopWatchingPage(Long id)
public void startWatchingPage(Long id)
public void stopWatchingSpace(String spaceKey)
public void startWatchingSpace(String spaceKey)
public static UrlBuilder getStopWatchingPageUrl(long id)
public static UrlBuilder getStopWatchingSpacePath(String spaceKey)
public static UrlBuilder getStopWatchingSpaceBlogsPath(String spaceKey)
public static UrlBuilder getStopWatchingAllBlogsPath()
public static UrlBuilder getEditEmailSettingsPath()
public static UrlBuilder getUnfollowUserPath(User user)
public static UrlBuilder getViewUserProfile(User user)
public static UrlBuilder getViewFollowers(User user)
Copyright © 2003–2021 Atlassian. All rights reserved.