Package com.adobe.cq.dashboards
Interface DashboardService
-
public interface DashboardServiceTheDashboardServiceprovides methods to get user- and shared Dashboards.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterator<Resource>getUserDashboards(ResourceResolver resolver, Principal principal)Returns the Dashboard resources for a certainprincipal.
-
-
-
Method Detail
-
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
-
-