use of com.hortonworks.streamline.registries.dashboard.entites.Dashboard in project streamline by hortonworks.
the class DashboardCatalogService method removeDashboard.
public Dashboard removeDashboard(Long dashboardId) {
Dashboard dashboard = new Dashboard();
dashboard.setId(dashboardId);
return dao.remove(new StorableKey(DASHBOARD_NAMESPACE, dashboard.getPrimaryKey()));
}
use of com.hortonworks.streamline.registries.dashboard.entites.Dashboard in project streamline by hortonworks.
the class DashboardCatalogService method getDashboard.
public Dashboard getDashboard(Long dashboardId) {
Dashboard dashboard = new Dashboard();
dashboard.setId(dashboardId);
return dao.get(new StorableKey(DASHBOARD_NAMESPACE, dashboard.getPrimaryKey()));
}
Aggregations