Class DashboardConfiguration
java.lang.Object
com.orchestranetworks.addon.dqid.dashboard.DashboardConfiguration
Represents a dashboard configuration in
DashboardExportSpec
.-
Method Summary
Modifier and TypeMethodDescriptionstatic DashboardConfiguration
getDashboardConfigForDefaultStorage
(com.orchestranetworks.instance.Repository repository, String dashboardCode) Returns aDashboardConfiguration
instance for the default storage configured for the dashbhoard.static DashboardConfiguration
getDashboardConfigForDefaultStorage
(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) Deprecated.Since 2.5.0, the dashboard context is no longer available.static DashboardConfiguration
getDashboardConfigForIntegrationStorage
(com.orchestranetworks.instance.Repository repository, String dashboardCode) Returns aDashboardConfiguration
instance for integration storage.static DashboardConfiguration
getDashboardConfigForIntegrationStorage
(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) Deprecated.Since 2.5.0, the dashboard context is no longer available.static DashboardConfiguration
getDashboardConfigForProductionStorage
(com.orchestranetworks.instance.Repository repository, String dashboardCode) Returns aDashboardConfiguration
instance for production storage.static DashboardConfiguration
getDashboardConfigForProductionStorage
(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) Deprecated.Since 2.5.0, the dashboard context is no longer available.com.onwbp.adaptation.PrimaryKey
Deprecated.Since 2.5.0, the dashboard context is removed.com.onwbp.adaptation.PrimaryKey
Returns thePrimaryKey
of the dashboard.com.onwbp.adaptation.PrimaryKey
Returns thePrimaryKey
of the storage.
-
Method Details
-
getDashboardConfigForDefaultStorage
public static DashboardConfiguration getDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode) throws DQIdException Returns aDashboardConfiguration
instance for the default storage configured for the dashbhoard.- Parameters:
repository
- The current repository.dashboardCode
- The unique code of the target dashboard.- Throws:
DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid.
-
getDashboardConfigForDefaultStorage
public static DashboardConfiguration getDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) throws DQIdException Deprecated.Since 2.5.0, the dashboard context is no longer available. UsegetDashboardConfigForDefaultStorage(Repository, String)
instead.Returns aDashboardConfiguration
instance for the default storage configured for the dashbhoard.- Parameters:
repository
- The current repository.dashboardCode
- The unique code of the target dashboard.dashboardContextCode
- The unique code of the target dashboard context. This is optional if the dashboard is not configured with any contexts.- Throws:
DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid.
-
getDashboardConfigForProductionStorage
public static DashboardConfiguration getDashboardConfigForProductionStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode) throws DQIdException Returns aDashboardConfiguration
instance for production storage.- Parameters:
repository
- The current repository.dashboardCode
- The unique code of the target dashboard.- Throws:
DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid, or the storage is not found.
-
getDashboardConfigForProductionStorage
public static DashboardConfiguration getDashboardConfigForProductionStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) throws DQIdException Deprecated.Since 2.5.0, the dashboard context is no longer available. UsegetDashboardConfigForProductionStorage(Repository, String)
instead.Returns aDashboardConfiguration
instance for production storage.- Parameters:
repository
- The current repository.dashboardCode
- The unique code of the target dashboard.dashboardContextCode
- The unique code of the target dashboard context. This is optional if the dashboard is not configured with any contexts.- Throws:
DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid, or the storage is not found.
-
getDashboardConfigForIntegrationStorage
public static DashboardConfiguration getDashboardConfigForIntegrationStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) throws DQIdException Deprecated.Since 2.5.0, the dashboard context is no longer available. UsegetDashboardConfigForIntegrationStorage(Repository, String)
instead.Returns aDashboardConfiguration
instance for integration storage.- Parameters:
repository
- The current repository.dashboardCode
- The unique code of the target dashboard.dashboardContextCode
- The unique code of the target dashboard context. This is optional if the dashboard is not configured with any contexts.- Throws:
DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid, or the storage is not found.
-
getDashboardConfigForIntegrationStorage
public static DashboardConfiguration getDashboardConfigForIntegrationStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode) throws DQIdException Returns aDashboardConfiguration
instance for integration storage.- Parameters:
repository
- The current repository.dashboardCode
- The unique code of the target dashboard.- Throws:
DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid, or the storage is not found.
-
getDashboardKey
public com.onwbp.adaptation.PrimaryKey getDashboardKey()Returns thePrimaryKey
of the dashboard. -
getDashboardContextKey
public com.onwbp.adaptation.PrimaryKey getDashboardContextKey()Deprecated.Since 2.5.0, the dashboard context is removed.Returns thePrimaryKey
of the dashboard context. -
getStorageKey
public com.onwbp.adaptation.PrimaryKey getStorageKey()Returns thePrimaryKey
of the storage.
-