public class CompaignsManagementRest extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
CompaignsManagementRest(CompaignManagementService compaignsManagementService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(javax.ws.rs.core.UriInfo uriInfo,
CompaignDTO compaignDTO) |
javax.ws.rs.core.Response |
delete(javax.ws.rs.core.UriInfo uriInfo,
Long id) |
javax.ws.rs.core.Response |
getCompaigns(javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
update(javax.ws.rs.core.UriInfo uriInfo,
CompaignDTO compaignDTO) |
public CompaignsManagementRest(CompaignManagementService compaignsManagementService)
@RolesAllowed(value="ux-team") public javax.ws.rs.core.Response getCompaigns(@Context javax.ws.rs.core.UriInfo uriInfo) throws Exception
Exception@RolesAllowed(value="ux-team") public javax.ws.rs.core.Response add(@Context javax.ws.rs.core.UriInfo uriInfo, CompaignDTO compaignDTO) throws Exception
Exception@RolesAllowed(value="ux-team") public javax.ws.rs.core.Response delete(@Context javax.ws.rs.core.UriInfo uriInfo, Long id) throws Exception
Exception@RolesAllowed(value="ux-team") public javax.ws.rs.core.Response update(@Context javax.ws.rs.core.UriInfo uriInfo, CompaignDTO compaignDTO) throws Exception
ExceptionCopyright © 2003–2021 eXo Platform SAS. All rights reserved.