public class DashboardInformationRESTService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
And for each dashboard, you can access to all gadgets installed
| Modifier and Type | Class and Description |
|---|---|
static class |
DashboardInformationRESTService.JsonDashboardInfo
DTO Object used to create JSON response
|
static class |
DashboardInformationRESTService.JsonGadgetInfo
DTO Object used to create JSON response
|
| Modifier and Type | Field and Description |
|---|---|
protected static String |
STANDALONE_ROOT_PATH |
protected static String |
WS_ROOT_PATH |
| Constructor and Description |
|---|
DashboardInformationRESTService(org.exoplatform.portal.config.DataStorage dataStorageService,
org.exoplatform.application.gadget.GadgetRegistryService gadgetRegistryService,
org.exoplatform.portal.mop.description.DescriptionService descriptionService,
org.exoplatform.portal.mop.navigation.NavigationService navigationService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getDashboards(javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getGadgetInformation(String userName,
String dashboardName,
javax.ws.rs.core.UriInfo uriInfo) |
protected static final String WS_ROOT_PATH
protected static final String STANDALONE_ROOT_PATH
public DashboardInformationRESTService(org.exoplatform.portal.config.DataStorage dataStorageService,
org.exoplatform.application.gadget.GadgetRegistryService gadgetRegistryService,
org.exoplatform.portal.mop.description.DescriptionService descriptionService,
org.exoplatform.portal.mop.navigation.NavigationService navigationService)
@RolesAllowed(value="users") public javax.ws.rs.core.Response getDashboards(@Context javax.ws.rs.core.UriInfo uriInfo)
@RolesAllowed(value="users") public javax.ws.rs.core.Response getGadgetInformation(String userName, String dashboardName, @Context javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.