|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.functest.framework.AbstractFuncTestUtil
com.atlassian.jira.functest.framework.UserProfileImpl
public class UserProfileImpl
Default implementation of UserProfile
Nested Class Summary | |
---|---|
static class |
UserProfileImpl.DefaultLink
|
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.UserProfile |
---|
UserProfile.Link |
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
environmentData, FS, locators, logger, logIndentLevel, tester |
Constructor Summary | |
---|---|
UserProfileImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
Navigation navigation)
|
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. |
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserProfileImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, Navigation navigation)
Method Detail |
---|
public String userName()
UserProfile
userName
in interface UserProfile
public UserProfile.Link link()
UserProfile
link
in interface UserProfile
public void changeUserNotificationType(boolean useHtml)
UserProfile
changeUserNotificationType
in interface UserProfile
useHtml
- Set to True for HTML notifications, False for plain text notificationspublic void changeUserSharingType(boolean global)
UserProfile
changeUserSharingType
in interface UserProfile
global
- true if default sharing should be public, false otherwise.public void changeDefaultSharingType(boolean global)
UserProfile
changeDefaultSharingType
in interface UserProfile
global
- true if default sharing should be public, false otherwise.public void changeUserLanguage(String lang)
UserProfile
changeUserLanguage
in interface UserProfile
lang
- the full language text to change to e.g. "German (Germany)"public void changeUserLanguageByValue(String langValue)
UserProfile
UserProfile.changeUserLanguageToJiraDefault()
changeUserLanguageByValue
in interface UserProfile
langValue
- the language value to change to e.g. "en_AU"public void changeUserLanguageToJiraDefault()
UserProfile
changeUserLanguageToJiraDefault
in interface UserProfile
public void gotoCurrentUserProfile()
UserProfile
gotoCurrentUserProfile
in interface UserProfile
public void gotoUserProfile(String userName)
UserProfile
gotoUserProfile
in interface UserProfile
userName
- The user name of the other user.public void gotoRoadmap(String userName)
UserProfile
gotoRoadmap
in interface UserProfile
userName
- the user whose roadmap you want to go topublic void gotoRoadmap(String userName, Long projectId)
gotoRoadmap
in interface UserProfile
public UserProfile changeUserTimeZone(String timeZoneID)
UserProfile
changeUserTimeZone
in interface UserProfile
public UserProfile changeNotifyMyChanges(boolean notify)
UserProfile
changeNotifyMyChanges
in interface UserProfile
public UserProfile changeAutowatch(boolean autowatch)
UserProfile
changeAutowatch
in interface UserProfile
autowatch
- true if autowatch should be enabled
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |