|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.user.UserProfile
public class UserProfile
Represents a user's profile.
Nested Class Summary | |
---|---|
static class |
UserProfile.EmailFormat
|
Field Summary | |
---|---|
static java.lang.String |
NOTIFY_BY_EMAIL
|
static java.lang.String |
SITE_TITLE_SUFFIX
|
static java.lang.String |
TITLE_SEPARATOR
|
Method Summary | |
---|---|
void |
addUserProfilePicture(java.lang.String fileName)
Adds the given File as the user's profile picture. |
void |
browseMyStatusUpdates()
|
void |
browseToFollow()
|
void |
browseToTimeZoneSelection()
|
void |
clearStatus(long statusId)
|
void |
createPersonalSpace()
Create a personal space for the *current* user, who must have GlobalPermission.PERSONAL_SPACE . |
Space |
createPersonalSpace(User user)
|
void |
deleteStatus(long statusId,
java.lang.String statusText)
|
EditMyProfileBean |
editDetails()
|
void |
editMyEmailSettings()
|
void |
editPassword()
|
void |
editProfile(java.lang.String info)
|
void |
editProfile(java.lang.String fullName,
java.lang.String email,
java.lang.String aboutMe)
Edit the profile for the current user. |
void |
follow(User user)
|
java.lang.String |
getCurrentLanguage()
|
static UrlBuilder |
getEditEmailSettingsPath()
|
java.lang.String |
getHomepage()
|
static UrlBuilder |
getStopWatchingAllBlogsPath()
|
static UrlBuilder |
getStopWatchingPageUrl(long id)
|
static UrlBuilder |
getStopWatchingSpaceBlogsPath(java.lang.String spaceKey)
|
static UrlBuilder |
getStopWatchingSpacePath(java.lang.String spaceKey)
|
static UrlBuilder |
getUnfollowUserPath(User user)
|
static UrlBuilder |
getViewFollowers(User user)
|
static UrlBuilder |
getViewUserProfile(User user)
|
void |
gotoEditProfile()
|
void |
goToWatches()
|
boolean |
isDailyEmailPreferenceChecked()
|
boolean |
isNotifyOnMyOwnActionsChecked()
|
boolean |
isNotifyOnNewFollowersPreferenceChecked()
|
boolean |
isShowChangedContent()
|
boolean |
isShowFullContent()
|
boolean |
isWatchAllBlogsPreferenceChecked()
|
boolean |
isWatchMyOwnContent()
|
boolean |
isWatchNetworkPreference()
|
static UserProfile |
newInstance(net.sourceforge.jwebunit.junit.WebTester webTester,
ConfluenceRpc confluenceRpc)
|
void |
setDailyEmailPreference(boolean dailyEmail)
|
void |
setEmailFormatPreference(UserProfile.EmailFormat format)
|
void |
setHomepage(java.lang.String homepage)
|
void |
setLanguage(java.lang.String languageValue)
|
void |
setNotifyOnMyActions(boolean notify)
|
void |
setNotifyOnNewFollowersPreference(boolean notify)
|
void |
setShowChangedContent(boolean showDiff)
|
void |
setShowFullContent(boolean showFull)
|
void |
setTimeZone(TimeZone timeZone)
|
void |
setUserProfilePicture(java.lang.String fileName)
Sets the user's profile picture as the provided file. |
void |
setUserStatus(java.lang.String s)
|
void |
setWatchAllBlogsPreference(boolean siteBlogWatchForUser)
|
void |
setWatchMyOwnContent(boolean watchOwnContent)
|
void |
setWatchNetworkPreference(boolean watchNetwork)
|
void |
startWatchingPage(java.lang.Long id)
|
void |
startWatchingSpace(java.lang.String spaceKey)
|
void |
stopWatchingPage(java.lang.Long id)
|
void |
stopWatchingSpace(java.lang.String spaceKey)
|
void |
viewFollowTab(java.lang.String username)
|
void |
viewMyDrafts()
|
void |
viewMyEmailSettings()
|
void |
viewMyFavourites()
|
void |
viewMySettings()
|
void |
viewMyWatches()
|
void |
viewPersonalSpace()
|
void |
viewProfile()
|
void |
viewProfile(java.lang.String username)
|
void |
viewProfile(User user)
|
void |
viewSettings()
|
void |
viewStatus(User user,
long id)
|
void |
viewStatusUpdates(java.lang.String username)
|
void |
viewStatusUpdates(User user)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TITLE_SEPARATOR
public static final java.lang.String SITE_TITLE_SUFFIX
public static final java.lang.String NOTIFY_BY_EMAIL
Method Detail |
---|
public static UserProfile newInstance(net.sourceforge.jwebunit.junit.WebTester webTester, ConfluenceRpc confluenceRpc)
public void setUserProfilePicture(java.lang.String fileName)
fileName
- the filename to set as the user's profile picture.public void addUserProfilePicture(java.lang.String fileName)
fileName
- Filenamepublic void viewProfile()
public void viewProfile(java.lang.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 viewStatusUpdates(java.lang.String username)
public void viewStatusUpdates(User user)
public void gotoEditProfile()
public void editProfile(java.lang.String fullName, java.lang.String email, java.lang.String aboutMe)
public void viewSettings()
public void editProfile(java.lang.String info)
public Space createPersonalSpace(User user)
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 browseMyStatusUpdates()
public void browseToFollow()
public void goToWatches()
public void follow(User user)
public void setTimeZone(TimeZone timeZone)
public EditMyProfileBean editDetails()
public void clearStatus(long statusId)
public void deleteStatus(long statusId, java.lang.String statusText)
public void setUserStatus(java.lang.String s)
public void viewStatus(User user, long id)
public void viewFollowTab(java.lang.String username)
public void setLanguage(java.lang.String languageValue)
public java.lang.String getCurrentLanguage()
public void setHomepage(java.lang.String homepage)
public java.lang.String getHomepage()
public void stopWatchingPage(java.lang.Long id)
public void startWatchingPage(java.lang.Long id)
public void stopWatchingSpace(java.lang.String spaceKey)
public void startWatchingSpace(java.lang.String spaceKey)
public static UrlBuilder getStopWatchingPageUrl(long id)
public static UrlBuilder getStopWatchingSpacePath(java.lang.String spaceKey)
public static UrlBuilder getStopWatchingSpaceBlogsPath(java.lang.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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |