com.atlassian.jira.functest.framework
Interface UserProfile

All Known Implementing Classes:
UserProfileImpl

public interface UserProfile

Interface for carrying out user profile operations

Since:
v3.13

Method Summary
 void changeDefaultSharingType(boolean global)
          Changes the default sharing settings for users that have not configured any.
 void changeUserLanguage(String lang)
          Changes the current user's language preferences.
 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 gotoUserProfile(String userName)
          Goto the another user's profile page.
 

Method Detail

changeUserNotificationType

void changeUserNotificationType(boolean useHtml)
Changes the current user's notification preferences.

Parameters:
useHtml - Set to True for HTML notifications, False for plain text notifications

changeUserSharingType

void changeUserSharingType(boolean global)
Changes the user's default sharing settings.

Parameters:
global - true if default sharing should be public, false otherwise.

changeDefaultSharingType

void changeDefaultSharingType(boolean global)
Changes the default sharing settings for users that have not configured any.

Parameters:
global - true if default sharing should be public, false otherwise.

changeUserLanguage

void changeUserLanguage(String lang)
Changes the current user's language preferences.

Parameters:
lang - the full language text to change to e.g. "German (Germany)"

gotoCurrentUserProfile

void gotoCurrentUserProfile()
Goto the current user's profile page.


gotoUserProfile

void gotoUserProfile(String userName)
Goto the another user's profile page.

Parameters:
userName - The user name of the other user.

changeUserTimeZone

UserProfile changeUserTimeZone(String timeZoneID)
Changes the current user's time zone. A null time zone means that this user will use the default JIRA user time zone.

Parameters:
timeZoneID@return - this


Copyright © 2002-2011 Atlassian. All Rights Reserved.