|
||||||||||
| 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
| 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 |
gotoUserProfile(String userName)
Go to the user's profile page. |
| 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 void changeUserNotificationType(boolean useHtml)
UserProfile
changeUserNotificationType in interface UserProfileuseHtml - Set to True for HTML notifications, False for plain text notificationspublic void changeUserSharingType(boolean global)
UserProfile
changeUserSharingType in interface UserProfileglobal - true if default sharing should be public, false otherwise.public void changeDefaultSharingType(boolean global)
UserProfile
changeDefaultSharingType in interface UserProfileglobal - true if default sharing should be public, false otherwise.public void changeUserLanguage(String lang)
UserProfile
changeUserLanguage in interface UserProfilelang - the full language text to change to e.g. "German (Germany)"public void changeUserLanguageByValue(String langValue)
UserProfileUserProfile.changeUserLanguageToJiraDefault()
changeUserLanguageByValue in interface UserProfilelangValue - the language value to change to e.g. "en_AU"public void changeUserLanguageToJiraDefault()
UserProfile
changeUserLanguageToJiraDefault in interface UserProfilepublic void gotoCurrentUserProfile()
UserProfile
gotoCurrentUserProfile in interface UserProfilepublic void gotoUserProfile(String userName)
UserProfile
gotoUserProfile in interface UserProfileuserName - The user name of the other user.public void gotoRoadmap(String userName)
UserProfile
gotoRoadmap in interface UserProfileuserName - the user whose roadmap you want to go topublic UserProfile changeUserTimeZone(String timeZoneID)
UserProfile
changeUserTimeZone in interface UserProfilepublic UserProfile changeNotifyMyChanges(boolean notify)
UserProfile
changeNotifyMyChanges in interface UserProfilepublic UserProfile changeAutowatch(boolean autowatch)
UserProfile
changeAutowatch in interface UserProfileautowatch - true if autowatch should be enabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||