Class DashboardConfiguration
java.lang.Object
com.orchestranetworks.addon.dqid.dashboard.DashboardConfiguration
Represents a dashboard configuration in 
DashboardExportSpec.- 
Method Summary
Modifier and TypeMethodDescriptionstatic DashboardConfigurationgetDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode) Returns aDashboardConfigurationinstance for the default storage configured for the dashbhoard.static DashboardConfigurationgetDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) Deprecated.Since 2.5.0, the dashboard context is no longer available.static DashboardConfigurationgetDashboardConfigForIntegrationStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode) Returns aDashboardConfigurationinstance for integration storage.static DashboardConfigurationgetDashboardConfigForIntegrationStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) Deprecated.Since 2.5.0, the dashboard context is no longer available.static DashboardConfigurationgetDashboardConfigForProductionStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode) Returns aDashboardConfigurationinstance for production storage.static DashboardConfigurationgetDashboardConfigForProductionStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) Deprecated.Since 2.5.0, the dashboard context is no longer available.com.onwbp.adaptation.PrimaryKeyDeprecated.Since 2.5.0, the dashboard context is removed.com.onwbp.adaptation.PrimaryKeyReturns thePrimaryKeyof the dashboard.com.onwbp.adaptation.PrimaryKeyReturns thePrimaryKeyof the storage. 
- 
Method Details
- 
getDashboardConfigForDefaultStorage
public static DashboardConfiguration getDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository, 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, String dashboardCode, 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, 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, String dashboardCode, 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, String dashboardCode, 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, 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. 
 -