public class DefaultSharedDashboardsAdministration extends Object implements SharedDashboardsAdministration
Modifier and Type | Class and Description |
---|---|
static class |
DefaultSharedDashboardsAdministration.DefaultDashboards |
SharedDashboardsAdministration.Dashboards
Constructor and Description |
---|
DefaultSharedDashboardsAdministration(net.sourceforge.jwebunit.WebTester tester,
Navigation navigation,
LocatorFactory locators) |
Modifier and Type | Method and Description |
---|---|
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.
|
@Inject public DefaultSharedDashboardsAdministration(net.sourceforge.jwebunit.WebTester tester, Navigation navigation, LocatorFactory locators)
public SharedDashboardsAdministration goTo()
SharedDashboardsAdministration
goTo
in interface SharedDashboardsAdministration
public SharedDashboardsAdministration search(String searchText, String owner)
SharedDashboardsAdministration
search
in interface SharedDashboardsAdministration
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.public SharedDashboardsAdministration searchAll()
SharedDashboardsAdministration
searchAll
in interface SharedDashboardsAdministration
public SharedDashboardsAdministration.Dashboards dashboards()
SharedDashboardsAdministration
SharedDashboardsAdministration.Dashboards
that represents the list of dashboards currently displayed on the Shared
Dashboards Administration Page.dashboards
in interface SharedDashboardsAdministration
SharedDashboardsAdministration.Dashboards
.public SharedDashboardsAdministration deleteDashboard(long dashboardId)
SharedDashboardsAdministration
deleteDashboard
in interface SharedDashboardsAdministration
dashboardId
- Id of the dashboard to be deletedpublic SharedDashboardsAdministration changeDashboardOwner(long dashboardId, String newOwner)
SharedDashboardsAdministration
changeDashboardOwner
in interface SharedDashboardsAdministration
dashboardId
- id of the dashboardnewOwner
- the new owner usernameCopyright © 2002-2022 Atlassian. All Rights Reserved.