package com.megatim.apifdxweb.service.ifaces.administration;
|
|
import com.megatim.apifdxweb.model.administration.Action;
|
import com.megatim.apifdxweb.service.ifaces.abstracts.AbstractGenericCrudResourceIFaces;
|
import com.megatim.apifdxweb.model.dtos.administration.ActionDto;
|
|
/**
|
* Interface du service JAX-RS
|
*
|
* @since Fri Sep 27 08:15:34 GMT+01:00 2019
|
*
|
*/
|
public interface ActionRS extends AbstractGenericCrudResourceIFaces<Action, ActionDto, Long, Action> {
|
|
// @POST
|
// @Consumes({MediaType.APPLICATION_JSON})
|
// @Produces({MediaType.APPLICATION_JSON})
|
// @Path("add")
|
//// @Secured(action = "add")
|
//// @SecuredAdmin
|
//// @SecuredMegaAdmin
|
//// @PermitAll
|
// @Override
|
// public Response save(@Context HttpHeaders headers, @Valid Action entity);
|
//
|
// @POST
|
// @Consumes({MediaType.APPLICATION_JSON})
|
// @Produces({MediaType.APPLICATION_JSON})
|
// @Path("update/{id}")
|
// @Secured(action = "update")
|
// @SecuredAdmin
|
// @SecuredMegaAdmin
|
// @Override
|
// public Response update(@Context HttpHeaders headers, @PathParam("id") Long id, @Valid Action entity);
|
//
|
// @POST
|
// @Consumes({MediaType.APPLICATION_JSON})
|
// @Produces({MediaType.APPLICATION_JSON})
|
// @Path("delete/{id}")
|
// @Secured(action = "delete")
|
// @SecuredAdmin
|
// @SecuredMegaAdmin
|
// @Override
|
// public void delete(@Context HttpHeaders headers, @PathParam("id") Long id);
|
//
|
// @GET
|
// @Produces({MediaType.APPLICATION_JSON})
|
// @Path("findbyid/{id}")
|
// @Secured(action = "*")
|
// @SecuredAdmin
|
// @SecuredSuperAdmin
|
// @SecuredMegaAdmin
|
// @Override
|
// public Response findById(@Context HttpHeaders headers, @PathParam("id") Long id);
|
//
|
// @GET
|
// @Produces({MediaType.APPLICATION_JSON})
|
// @Path("findbyoneproperty/{property}/{value}")
|
// @Secured(action = "*")
|
// @SecuredAdmin
|
// @SecuredSuperAdmin
|
// @SecuredMegaAdmin
|
// @Override
|
// public Response findByOneProperty(@Context HttpHeaders headers, @PathParam("property") String propertyName, @PathParam("value") String propertyValue);
|
//
|
// @POST
|
// @Produces({MediaType.APPLICATION_JSON})
|
// @Path("findwithpagination/{pageNumber}/{pagesize}")
|
// @Secured(action = "*")
|
// @SecuredAdmin
|
// @SecuredSuperAdmin
|
// @SecuredMegaAdmin
|
// @Override
|
// public Response findWithPagination(@Context HttpHeaders headers, @PathParam("pageNumber") Integer pageNumber, @PathParam("pagesize") Integer pagesize, Action searchEntity);
|
//
|
// @POST
|
// @Produces({MediaType.APPLICATION_JSON})
|
// @Secured(action = "*")
|
// @SecuredAdmin
|
// @SecuredSuperAdmin
|
// @SecuredMegaAdmin
|
// @Override
|
// public Response findAll(@Context HttpHeaders headers, Action searchEntity);
|
//
|
// @POST
|
// @Produces({MediaType.APPLICATION_JSON})
|
// @Path("count")
|
// @Secured(action = "*")
|
// @SecuredAdmin
|
// @SecuredSuperAdmin
|
// @SecuredMegaAdmin
|
// @Override
|
// public Long count(@Context HttpHeaders headers, Action searchEntity);
|
}
|