|
||||||||||
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 String |
SITE_TITLE_SUFFIX
|
static String |
TITLE_SEPARATOR
|
Method Summary | |
---|---|
void |
addUserProfilePicture(String fileName)
Adds the given File as the user's profile picture. |
void |
assertDailyEmailPreference(boolean checked)
|
void |
assertWatchAllBlogsPreference(boolean checked)
|
void |
assertWatchNetworkPreference(boolean checked)
|
void |
browseMyStatusUpdates()
|
void |
browseToFollow()
|
void |
browseToTimeZoneSelection()
|
void |
browseToWatches()
|
void |
clearStatus(long statusId)
|
void |
createPersonalSpace()
Create a personal space for the *current* user, who must have GlobalPermission.PERSONAL_SPACE . |
void |
createPersonalSpace(String fullname)
|
void |
deleteStatus(long statusId,
String statusText)
|
EditMyProfileBean |
editDetails()
|
void |
editProfile(String info)
|
void |
editProfile(String fullName,
String email,
String aboutMe)
Edit the profile for the current user. |
void |
follow(User user)
|
String |
getCurrentLanguage()
|
static UserProfile |
newInstance(net.sourceforge.jwebunit.junit.WebTester webTester,
ConfluenceRpc confluenceRpc)
|
void |
setDailyEmailPreference(boolean dailyEmail)
|
void |
setEmailFormatPreference(UserProfile.EmailFormat format)
|
void |
setLanguage(String languageName)
|
void |
setNotifyOnMyActions(boolean notify)
|
void |
setTimeZone(TimeZone timeZone)
|
void |
setUserProfilePicture(String fileName)
Sets the user's profile picture as the provided file. |
void |
setUserStatus(String s)
|
void |
setWatchAllBlogsPreference(boolean siteBlogWatchForUser)
|
void |
setWatchNetworkPreference(boolean watchNetwork)
|
void |
viewEmailSettings()
|
void |
viewFollowTab(String username)
|
void |
viewMyDrafts()
|
void |
viewMyEmailSettings()
|
void |
viewMyLabels()
|
void |
viewMySettings()
|
void |
viewMyWatches()
|
void |
viewPersonalSpace()
|
void |
viewProfile()
|
void |
viewProfile(String username)
|
void |
viewProfile(User user)
|
void |
viewSettings()
|
void |
viewStatus(User user,
long id)
|
void |
viewStatusUpdates(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 String TITLE_SEPARATOR
public static final String SITE_TITLE_SUFFIX
Method Detail |
---|
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 viewMyLabels()
public void viewMyWatches()
public void viewMyDrafts()
public void viewMySettings()
public void viewMyEmailSettings()
public void viewStatusUpdates(String username)
public void viewStatusUpdates(User user)
public void editProfile(String fullName, String email, String aboutMe)
public void viewSettings()
public void viewEmailSettings()
public void editProfile(String info)
public void createPersonalSpace(String fullname)
public void createPersonalSpace()
GlobalPermission.PERSONAL_SPACE
.
public void viewPersonalSpace()
public void setNotifyOnMyActions(boolean notify)
public void setDailyEmailPreference(boolean dailyEmail)
public void assertDailyEmailPreference(boolean checked)
public void setWatchAllBlogsPreference(boolean siteBlogWatchForUser)
public void assertWatchAllBlogsPreference(boolean checked)
public void setWatchNetworkPreference(boolean watchNetwork)
public void assertWatchNetworkPreference(boolean checked)
public void setEmailFormatPreference(UserProfile.EmailFormat format)
public void browseToTimeZoneSelection()
public void browseMyStatusUpdates()
public void browseToFollow()
public void browseToWatches()
public void follow(User user)
public void setTimeZone(TimeZone timeZone)
public EditMyProfileBean editDetails()
public void clearStatus(long statusId)
public void deleteStatus(long statusId, String statusText)
public void setUserStatus(String s)
public void viewStatus(User user, long id)
public void viewFollowTab(String username)
public void setLanguage(String languageName)
public String getCurrentLanguage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |