|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserProfile
Interface for carrying out user profile operations
Nested Class Summary | |
---|---|
static interface |
UserProfile.Link
|
Method Summary | |
---|---|
UserProfile |
changeAutowatch(boolean autowatch)
Changes the current user's autowatch preference. |
void |
changeDefaultSharingType(boolean global)
Changes the default sharing settings for users that have not configured any. |
UserProfile |
changeNotifyMyChanges(boolean notify)
Changes the current user would like to be notified by their own changes. |
void |
changeUserLanguage(String lang)
Changes the current user's language preferences. |
void |
changeUserLanguageByValue(String langValue)
Changes the current user's language preferences by value. |
void |
changeUserLanguageToJiraDefault()
Changes the current user's language preferences to the system default. |
void |
changeUserNotificationType(boolean useHtml)
Changes the current user's notification preferences. |
void |
changeUserSharingType(boolean global)
Changes the user's default sharing settings. |
UserProfile |
changeUserTimeZone(String timeZoneID)
Changes the current user's time zone. |
void |
gotoCurrentUserProfile()
Goto the current user's profile page. |
void |
gotoRoadmap(String userName)
Go to the user's roadmap tab in their profile |
void |
gotoRoadmap(String userName,
Long projectId)
|
void |
gotoUserProfile(String userName)
Go to the user's profile page. |
UserProfile.Link |
link()
Retrieves the user profile link on the JIRA Header. |
String |
userName()
Retrieves the username on the profile for the currently logged in user. |
Method Detail |
---|
void changeUserNotificationType(boolean useHtml)
useHtml
- Set to True for HTML notifications, False for plain text notificationsvoid changeUserSharingType(boolean global)
global
- true if default sharing should be public, false otherwise.void changeDefaultSharingType(boolean global)
global
- true if default sharing should be public, false otherwise.void changeUserLanguage(String lang)
lang
- the full language text to change to e.g. "German (Germany)"void changeUserLanguageByValue(String langValue)
changeUserLanguageToJiraDefault()
langValue
- the language value to change to e.g. "en_AU"void changeUserLanguageToJiraDefault()
void gotoCurrentUserProfile()
void gotoUserProfile(String userName)
userName
- The user name of the other user.void gotoRoadmap(String userName)
userName
- the user whose roadmap you want to go toUserProfile changeUserTimeZone(String timeZoneID)
timeZoneID@return
- thisUserProfile changeNotifyMyChanges(boolean notify)
notify
- UserProfile changeAutowatch(boolean autowatch)
autowatch
- true if autowatch should be enabledString userName()
UserProfile.Link link()
void gotoRoadmap(String userName, Long projectId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |