@Path(value="/SiteFull") public class SiteFullUtil extends BaseUtil
| Constructor and Description |
|---|
SiteFullUtil() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(gr.i2s.fishgrowth.model.SiteFull siteFull) |
javax.ws.rs.core.Response |
delete(Long id) |
gr.i2s.fishgrowth.model.SiteFull |
getSiteFull(Long id) |
int |
getSiteFullCount(String ownerId) |
List<gr.i2s.fishgrowth.model.SiteFull> |
getSiteFulls(String ownerId) |
List<gr.i2s.fishgrowth.model.SiteFull> |
getSiteFulls(String ownerId,
Integer start,
Integer end) |
javax.ws.rs.core.Response |
update(gr.i2s.fishgrowth.model.SiteFull siteFull) |
@PUT
@Consumes(value="application/json")
public javax.ws.rs.core.Response add(gr.i2s.fishgrowth.model.SiteFull siteFull)
throws Exception
Exception@POST
@Consumes(value="application/json")
public javax.ws.rs.core.Response update(gr.i2s.fishgrowth.model.SiteFull siteFull)
throws Exception
Exception@DELETE
@Path(value="/{id}")
public javax.ws.rs.core.Response delete(@PathParam(value="id")
Long id)
throws Exception
Exception@GET
@Path(value="/{id}")
@Produces(value="application/json")
public gr.i2s.fishgrowth.model.SiteFull getSiteFull(@PathParam(value="id")
Long id)
throws Exception
Exception@GET
@Path(value="/all/{ownerId}/{start}/{end}")
public List<gr.i2s.fishgrowth.model.SiteFull> getSiteFulls(@PathParam(value="ownerId")
String ownerId,
@PathParam(value="start")
Integer start,
@PathParam(value="end")
Integer end)
throws Exception
Exception@GET
@Path(value="/all/{ownerId}")
public List<gr.i2s.fishgrowth.model.SiteFull> getSiteFulls(@PathParam(value="ownerId")
String ownerId)
throws Exception
ExceptionCopyright © 2019. All Rights Reserved.