Kenmegne
7 days ago 23a46b4be35277e06ec89f48730eeb694e686be8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
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);
}