com.ibm.team.fvt.tests.clm.pages.clm
Class ClmAdminProjectAreaPage

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.clm.ClmAdminWebPage
              extended by com.ibm.team.fvt.tests.clm.pages.clm.ClmAdminProjectAreaPage
All Implemented Interfaces:
ClmWebPageConstants
Direct Known Subclasses:
QmNewWebProjectPage

public class ClmAdminProjectAreaPage
extends ClmAdminWebPage

Class to manage any admin project area page.

The page address is: https://server:port/appli/admin.

Following features are available on this page:

Here are some other specific functionalities that this page specializes:


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.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
ClmAdminProjectAreaPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
           
 
Method Summary
 void addMember(ClmUser member, java.lang.String role)
          Adds a user with the given role to the current project.
 java.lang.String getProjectAreaName()
          Return the project area name.
 java.lang.String getTitle()
          Return the title of the page.
 ClmAdminActiveProjectAreasPage gotoActiveProjectAreasPage()
          Go to the Active Project Areas page.
 void selectSection(java.lang.String section)
          Select the given section.
 void setAdministrator(ClmUser user)
          Set the given user as administrator of the project area and save.
 void setAdministrator(ClmUser user, boolean save)
          Set the given user as administrator of the project area.
 void setProjectAreaName(java.lang.String name)
          Set the name of the current project area.
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.clm.ClmAdminWebPage
clickReports, gotoProjectAreasPage
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.ClmWebPage
checkRichHover, clickHomeMenuItem, getBannerTitle, getCcmApplication, getConfig, getDmApplication, getJtsApplication, getLpaApplication, getMiniDashboard, getQmApplication, getRmApplication, 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

ClmAdminProjectAreaPage

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

addMember

public void addMember(ClmUser member,
                      java.lang.String role)
Adds a user with the given role to the current project.

Parameters:
member - The user to be added as a member
role - The member role

getProjectAreaName

public java.lang.String getProjectAreaName()
Return the project area name.

Returns:
The name as a String.

getTitle

public java.lang.String getTitle()
Description copied from class: ClmWebPage
Return the title of the page.

Overrides:
getTitle in class ClmWebPage
Returns:
The title as a String.

gotoActiveProjectAreasPage

public ClmAdminActiveProjectAreasPage gotoActiveProjectAreasPage()
Go to the Active Project Areas page.

Returns:
The opened page as a ClmAdminActiveProjectAreasPage.

selectSection

public void selectSection(java.lang.String section)
Select the given section.

Parameters:
section - The section to select

setAdministrator

public void setAdministrator(ClmUser user)
Set the given user as administrator of the project area and save.

Note that the project area admin page is saved at the end of the operation.

Parameters:
user - The user to be set as administrator

setAdministrator

public void setAdministrator(ClmUser user,
                             boolean save)
Set the given user as administrator of the project area.

Parameters:
user - The user to be set as administrator
save - Flag telling whether the page will be saved after having set the administrator or not

setProjectAreaName

public void setProjectAreaName(java.lang.String name)
Set the name of the current project area.

Parameters:
name - The new name