Class DashboardConfiguration
- java.lang.Object
-
- com.orchestranetworks.addon.dqid.dashboard.DashboardConfiguration
-
public final class DashboardConfiguration extends java.lang.ObjectRepresents a dashboard configuration inDashboardExportSpec.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DashboardConfigurationgetDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository, java.lang.String dashboardCode)Returns aDashboardConfigurationinstance for the default storage configured for the dashbhoard.static DashboardConfigurationgetDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository, java.lang.String dashboardCode, java.lang.String dashboardContextCode)Deprecated.Since 2.5.0, the dashboard context is no longer available.static DashboardConfigurationgetDashboardConfigForIntegrationStorage(com.orchestranetworks.instance.Repository repository, java.lang.String dashboardCode)Returns aDashboardConfigurationinstance for integration storage.static DashboardConfigurationgetDashboardConfigForIntegrationStorage(com.orchestranetworks.instance.Repository repository, java.lang.String dashboardCode, java.lang.String dashboardContextCode)Deprecated.Since 2.5.0, the dashboard context is no longer available.static DashboardConfigurationgetDashboardConfigForProductionStorage(com.orchestranetworks.instance.Repository repository, java.lang.String dashboardCode)Returns aDashboardConfigurationinstance for production storage.static DashboardConfigurationgetDashboardConfigForProductionStorage(com.orchestranetworks.instance.Repository repository, java.lang.String dashboardCode, java.lang.String dashboardContextCode)Deprecated.Since 2.5.0, the dashboard context is no longer available.com.onwbp.adaptation.PrimaryKeygetDashboardContextKey()Deprecated.Since 2.5.0, the dashboard context is removed.com.onwbp.adaptation.PrimaryKeygetDashboardKey()Returns thePrimaryKeyof the dashboard.com.onwbp.adaptation.PrimaryKeygetStorageKey()Returns thePrimaryKeyof the storage.
-
-
-
Method Detail
-
getDashboardConfigForDefaultStorage
public static DashboardConfiguration getDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository, java.lang.String dashboardCode) throws DQIdException
Returns aDashboardConfigurationinstance 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, java.lang.String dashboardCode, java.lang.String dashboardContextCode) throws DQIdException
Deprecated.Since 2.5.0, the dashboard context is no longer available. UsegetDashboardConfigForDefaultStorage(Repository, String)instead.Returns aDashboardConfigurationinstance 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, java.lang.String dashboardCode) throws DQIdException
Returns aDashboardConfigurationinstance 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, java.lang.String dashboardCode, java.lang.String dashboardContextCode) throws DQIdException
Deprecated.Since 2.5.0, the dashboard context is no longer available. UsegetDashboardConfigForProductionStorage(Repository, String)instead.Returns aDashboardConfigurationinstance 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, java.lang.String dashboardCode, java.lang.String dashboardContextCode) throws DQIdException
Deprecated.Since 2.5.0, the dashboard context is no longer available. UsegetDashboardConfigForIntegrationStorage(Repository, String)instead.Returns aDashboardConfigurationinstance 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, java.lang.String dashboardCode) throws DQIdException
Returns aDashboardConfigurationinstance 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 thePrimaryKeyof the dashboard.
-
getDashboardContextKey
public com.onwbp.adaptation.PrimaryKey getDashboardContextKey()
Deprecated.Since 2.5.0, the dashboard context is removed.Returns thePrimaryKeyof the dashboard context.
-
getStorageKey
public com.onwbp.adaptation.PrimaryKey getStorageKey()
Returns thePrimaryKeyof the storage.
-
-