com.ibm.team.fvt.tests.clm.pages.jts.admin
Class JtsAdminEditUserPage

java.lang.Object
  extended by com.ibm.team.fvt.tests.web.WebPage
      extended by com.ibm.team.fvt.tests.clm.pages.ClmWebPage
          extended by com.ibm.team.fvt.tests.clm.pages.jts.JtsWebPage
              extended by com.ibm.team.fvt.tests.clm.pages.jts.admin.JtsAdminPage
                  extended by com.ibm.team.fvt.tests.clm.pages.jts.admin.JtsAdminEditUserPage
All Implemented Interfaces:
ClmWebPageConstants, ClmLicensingConstants

public class JtsAdminEditUserPage
extends JtsAdminPage
implements ClmLicensingConstants

Manage the user Overview web page.

The page address is: https://server:port/jts/admin#action=com.ibm.team.repository.editUser&itemId=User UUID.

Following actions are accessible on this page:

Following functionalities are also defined or specialized by this page:


Field Summary
 
Fields inherited from class com.ibm.team.fvt.tests.web.WebPage
NO_DATA
 
Fields inherited from interface com.ibm.team.fvt.tests.clm.pages.jts.admin.ClmLicensingConstants
ALL_LICENSES, CCM_COLLECTOR, CCM_DATA_COLLECTOR, CLM_CONTRIBUTOR, CLM_PRACTITIONER, CLM_STAKEHOLDER, DEFAULT_LICENSES, LPA_APPLICATION_INTERNAL, QM_DATA_COLLECTOR, RM_ANALYST, RM_APPLICATION_INTERNAL, RM_CONTRIBUTOR, RM_DATA_COLLECTOR, RQM_CONNECTOR, RQM_CONTRIBUTOR, RQM_QUALITY_PROFESSIONAL, RTC_BUILD_SYSTEM, RTC_CLEARCASE_SYNCHRONIZER, RTC_CLEARQUEST_SYNCHRONIZER, RTC_CONTRIBUTOR, RTC_DEVELOPER, RTC_DEVELOPER_PLATFORMS, RTC_STAKEHOLDER, TRS_CONSUMER_INTERNAL
 
Fields inherited from interface com.ibm.team.fvt.tests.clm.pages.ClmWebPageConstants
ADMINISTRATION_HOME_MENU_GROUP, JAZZ_TEAM_SERVER_HOME_MENU_ITEM, LIFECYCLE_PROJECT_ADMIN_MENU_ITEM, USER_NOT_AUTHORIZED_MESSAGE_ID, USER_NOT_AUTHORIZED_MESSAGE_LOCATOR
 
Constructor Summary
JtsAdminEditUserPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user)
           
 
Method Summary
 int changeLicense(ClmClientAccessLicense license, boolean activate)
          Change the given license for the edited user.
 void changeMultipleLicenses(boolean activate, java.util.List<ClmClientAccessLicense> licenses)
          Change then several given licenses for the edited user.
 void clearAllLicenses(boolean save)
          Clear all licenses of the current user.
 JtsAdminActiveUsersPage clickActiveUsersLink()
          Go to the Active Users page using Active Users link in the current page.
 void setDefaultCALs()
          Set user default Client Access Licenses.
 void setUserInformation(com.ibm.team.fvt.tests.config.User newUser)
          Set the user information (ie.
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.jts.admin.JtsAdminPage
clickActiveUsers, clickHome, clickReports
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.ClmWebPage
checkRichHover, clickHomeMenuItem, getBannerTitle, getCcmApplication, getConfig, getDmApplication, getJtsApplication, getLpaApplication, getMiniDashboard, getQmApplication, getRmApplication, getTitle, getUser, gotoCcmProjectPage, gotoCcmProjectPage, gotoDmProjectPage, gotoDmProjectPage, gotoJtsAdminHomePage, gotoLpaAllProjectsPage, gotoQmProjectPage, gotoQmProjectPage, gotoRmProjectPage, gotoRmProjectPage, logout, openAdminUIMenu, openHelpMenu, openHomeMenu, openMenu, openMenu, openToolbarMenu, openUserProfileMenu, refresh, save, waitWhileBusy
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebPage
changeUser, checkHoverTitle, checkRichHover, get, getBrowser, getLocation, getPage, getPage, getPageUsingBrowser, goBack, openPage, openPage, openPageUsingBrowser, openPageUsingHoverTitle, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, richHoverOverLink, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JtsAdminEditUserPage

public JtsAdminEditUserPage(java.lang.String url,
                            ClmConfig config,
                            com.ibm.team.fvt.tests.config.User user)
Method Detail

changeLicense

public int changeLicense(ClmClientAccessLicense license,
                         boolean activate)
Change the given license for the edited user.

Parameters:
license - The license to be changed for the edited user
activate - Tells whether to activate or disable the license
Returns:
The number of found licenses

changeMultipleLicenses

public void changeMultipleLicenses(boolean activate,
                                   java.util.List<ClmClientAccessLicense> licenses)
Change then several given licenses for the edited user.

Parameters:
activate - Tells whether to activate or disable the licenses
licenses - The licenses list to be changed

clickActiveUsersLink

public JtsAdminActiveUsersPage clickActiveUsersLink()
Go to the Active Users page using Active Users link in the current page.

Returns:
The opened Active Users page as JtsAdminActiveUsersPage

clearAllLicenses

public void clearAllLicenses(boolean save)
Clear all licenses of the current user.

Parameters:
save - Tells whether the user has to be saved after the operation or not.

setDefaultCALs

public void setDefaultCALs()
Set user default Client Access Licenses.

The default CALs are:


setUserInformation

public void setUserInformation(com.ibm.team.fvt.tests.config.User newUser)
Set the user information (ie. name, id and mail).

Parameters:
newUser - The user from which to get the information.