com.atlassian.jira.functest.framework.admin.user.shared
Class DefaultSharedDashboardsAdministration

java.lang.Object
  extended by com.atlassian.jira.functest.framework.admin.user.shared.DefaultSharedDashboardsAdministration
All Implemented Interfaces:
SharedDashboardsAdministration

public class DefaultSharedDashboardsAdministration
extends Object
implements SharedDashboardsAdministration

Since:
v4.4.1

Nested Class Summary
static class DefaultSharedDashboardsAdministration.DefaultDashboards
           
 
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.admin.user.shared.SharedDashboardsAdministration
SharedDashboardsAdministration.Dashboards
 
Constructor Summary
DefaultSharedDashboardsAdministration(net.sourceforge.jwebunit.WebTester tester, Navigation navigation, LocatorFactory locators)
           
 
Method Summary
 SharedDashboardsAdministration changeDashboardOwner(long dashboardId, String newOwner)
          Change the owner of the dashboard
 SharedDashboardsAdministration.Dashboards dashboards()
          Retrieves an instance of SharedDashboardsAdministration.Dashboards that represents the list of dashboards currently displayed on the Shared Dashboards Administration Page.
 SharedDashboardsAdministration deleteDashboard(long dashboardId)
          Deletes the dashboard represented by the dashboard id
 SharedDashboardsAdministration goTo()
          Navigates to the Shared Dashboards Administration Page.
 SharedDashboardsAdministration search(String searchText, String owner)
          Searches for shared dashboards from the Shared Dashboards Administration Page according to the specified criteria.
 SharedDashboardsAdministration searchAll()
          Searches for all the shared dashboards in this instance of JIRA from the Shared dashboards Administration Page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSharedDashboardsAdministration

public DefaultSharedDashboardsAdministration(net.sourceforge.jwebunit.WebTester tester,
                                             Navigation navigation,
                                             LocatorFactory locators)
Method Detail

goTo

public SharedDashboardsAdministration goTo()
Description copied from interface: SharedDashboardsAdministration
Navigates to the Shared Dashboards Administration Page.

Specified by:
goTo in interface SharedDashboardsAdministration
Returns:
This instance of SharedDashboardsAdministration.

search

public SharedDashboardsAdministration search(String searchText,
                                             String owner)
Description copied from interface: SharedDashboardsAdministration
Searches for shared dashboards from the Shared Dashboards Administration Page according to the specified criteria.

Specified by:
search in interface SharedDashboardsAdministration
Parameters:
searchText - The text to search for in the name/description of the dashboard.
owner - The name of the user that owns the dashboards to search for.
Returns:
This instance of SharedDashboardsAdministration.

searchAll

public SharedDashboardsAdministration searchAll()
Description copied from interface: SharedDashboardsAdministration
Searches for all the shared dashboards in this instance of JIRA from the Shared dashboards Administration Page.

Specified by:
searchAll in interface SharedDashboardsAdministration
Returns:
This instance of ShareddashboardsAdministration.

dashboards

public SharedDashboardsAdministration.Dashboards dashboards()
Description copied from interface: SharedDashboardsAdministration
Retrieves an instance of SharedDashboardsAdministration.Dashboards that represents the list of dashboards currently displayed on the Shared Dashboards Administration Page.

Specified by:
dashboards in interface SharedDashboardsAdministration
Returns:
an instance of SharedDashboardsAdministration.Dashboards.

deleteDashboard

public SharedDashboardsAdministration deleteDashboard(long dashboardId)
Description copied from interface: SharedDashboardsAdministration
Deletes the dashboard represented by the dashboard id

Specified by:
deleteDashboard in interface SharedDashboardsAdministration
Parameters:
dashboardId - Id of the dashboard to be deleted

changeDashboardOwner

public SharedDashboardsAdministration changeDashboardOwner(long dashboardId,
                                                           String newOwner)
Description copied from interface: SharedDashboardsAdministration
Change the owner of the dashboard

Specified by:
changeDashboardOwner in interface SharedDashboardsAdministration
Parameters:
dashboardId - id of the dashboard
newOwner - the new owner username
Returns:


Copyright © 2002-2012 Atlassian. All Rights Reserved.