Package com.adobe.cq.dashboards
Interface DashboardService
-
public interface DashboardService
TheDashboardService
provides methods to get user- and shared Dashboards.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Iterator<Resource>
getUserDashboards(ResourceResolver resolver, java.security.Principal principal)
Returns the Dashboard resources for a certainprincipal
.
-
-
-
Method Detail
-
getUserDashboards
java.util.Iterator<Resource> getUserDashboards(ResourceResolver resolver, java.security.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
Iterator
over resources representing the users dashboard's - Throws:
DashboardException
- if an error occurs while accessing the resources
-
-