com.ibm.team.fvt.tests.clm.pages.dm
Class DmAdminProjectAreaPage

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.dm.DmWebPage
              extended by com.ibm.team.fvt.tests.clm.pages.dm.DmAdminPage
                  extended by com.ibm.team.fvt.tests.clm.pages.dm.DmAdminProjectAreaPage
All Implemented Interfaces:
ClmWebPageConstants, DmAdminProjectAreaPageConstants

public class DmAdminProjectAreaPage
extends DmAdminPage
implements DmAdminProjectAreaPageConstants

Class to manage common actions to any DM application web page which is displaying project area information.

This class provides access to the following QM web pages through the Menu bar:

Following actions or functionalities are accessible in 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.dm.DmAdminProjectAreaPageConstants
ACCESS_CONTROL_SECTION, DESIGN_DOMAIN_SECTION, DOCUMENTATION_SYSTEM_DOMAIN, EMAIL_TEMPLATE_SECTION, EXAMPLE_DOMAIN, EXPLORER_FILTERS_SECTION, ITERATION_TYPES_SECTION, OVERVIEW_SECTION, PERMISSIONS_SECTION, PROGRESS_DESCRIPTION_SECTION, RATIONAL_SOFTWARE_ARCHITECT_BPMN_DOMAIN, RATIONAL_SOFTWARE_ARCHITECT_DEPLOYMENT_DOMAIN, RATIONAL_SOFTWARE_ARCHITECT_REALTIME_DOMAIN, RATIONAL_SOFTWARE_ARCHITECT_ROSE_DOMAIN, RATIONAL_SOFTWARE_ARCHITECT_SKETCHER_DOMAIN, RATIONAL_SOFTWARE_ARCHITECT_SOAML_DOMAIN, RATIONAL_SOFTWARE_ARCHITECT_TAU_IMPORT_DOMAIN, RATIONAL_SOFTWARE_ARCHITECT_TRANSFORMATION_DOMAIN, RATIONAL_SOFTWARE_ARCHITECT_UML_DOMAIN, RATIONAL_SOFTWARE_ARCHITECT_UPIA_DOMAIN, ROLES_SECTION, TEAM_INVITATION_SECTION, TIMELINES_SECTION
 
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
DmAdminProjectAreaPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
           
 
Method Summary
 void associateDomains(boolean save, java.lang.String... domains)
          Associate the given domains to the current project area.
 java.lang.String getProjectAreaName()
           
 void selectSection(java.lang.String section)
          Select the given section.
 void setAdministrator(ClmUser user)
          Set the given user as administrator of the project area.
 void setAdministrator(ClmUser user, boolean save)
          Set the given user as administrator of the project area.
 void setDataManagement(boolean dmManaged, boolean save)
          Set how data will be managed in the project area.
 
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

DmAdminProjectAreaPage

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

associateDomains

public void associateDomains(boolean save,
                             java.lang.String... domains)
Associate the given domains to the current project area.

Parameters:
domains - The domains to select
save - Flag telling whether the page will be saved after having done the association or not

getProjectAreaName

public java.lang.String getProjectAreaName()

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.

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

setDataManagement

public void setDataManagement(boolean dmManaged,
                              boolean save)
Set how data will be managed in the project area.

There are currently only two ways to manage the data:

  1. Managed externally using import definition
  2. Actively managed with Design Manager

Parameters:
dmManaged - Tells whether the data will be actively managed by DM or not.
save - Flag telling whether the page will be saved after having set data management or not