Package com.adobe.cq.dashboards
Interface DashboardService
public interface DashboardService
The
DashboardService provides methods to get user- and shared Dashboards.-
Method Summary
Modifier and TypeMethodDescriptiongetUserDashboards(ResourceResolver resolver, Principal principal) Returns the Dashboard resources for a certainprincipal.
-
Method Details
-
getUserDashboards
Iterator<Resource> getUserDashboards(ResourceResolver resolver, Principal principal) throws DashboardException Returns the Dashboard resources for a certainprincipal.- Parameters:
resolver- ResourceResolver used to access resources.principal- User principal to get the resources for- Returns:
- a
Iteratorover resources representing the users dashboard's - Throws:
DashboardException- if an error occurs while accessing the resources
-