Class DemandRestService
- java.lang.Object
-
- fr.paris.lutece.plugins.notificationstore.web.rs.DemandRestService
-
@Path("/rest/notificationstore/v3/demand") public class DemandRestService extends ObjectService Rest DemandNotificationRestService
-
-
Constructor Summary
Constructors Constructor Description DemandRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsedoDeleteAllDemands(String strCustomerId)javax.ws.rs.core.ResponsegetListDemand(String strIdDemandType, String strIndex, String strLimitResult, String strCustomerId, String strNotificationType)Return list of demandjavax.ws.rs.core.ResponsegetListOfDemandByStatus(String strIdDemandType, String strIndex, String strLimitResult, String strCustomerId, String strListStatus, String strNotificationType, String strCategoryCode)Get list by status
-
-
-
Method Detail
-
getListDemand
@GET @Path("/list") @Produces("application/json") public javax.ws.rs.core.Response getListDemand(@QueryParam("idDemandType") String strIdDemandType, @QueryParam("index") String strIndex, @QueryParam("limitResult") String strLimitResult, @QueryParam("customerId") String strCustomerId, @QueryParam("notificationType") String strNotificationType)Return list of demand- Parameters:
strDemandType-strPage-
-
getListOfDemandByStatus
@GET @Path("/status") @Produces("application/json") public javax.ws.rs.core.Response getListOfDemandByStatus(@QueryParam("idDemandType") String strIdDemandType, @QueryParam("index") String strIndex, @QueryParam("limitResult") String strLimitResult, @QueryParam("customerId") String strCustomerId, @QueryParam("listStatus") String strListStatus, @QueryParam("notificationType") String strNotificationType, @QueryParam("categoryCode") String strCategoryCode)Get list by status- Parameters:
strIdDemandType-strIndex-strCustomerId-- Returns:
- list of active demand
-
doDeleteAllDemands
@DELETE @Path("/{customerId}") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response doDeleteAllDemands(@PathParam("customerId") String strCustomerId)
-
-