Package br.com.cwi.tnt.rfp.arquitetura1.repository

Examples of br.com.cwi.tnt.rfp.arquitetura1.repository.GridEntityDataRepository


   
    @DELETE
    @Path("grid/{id}")
  @Produces(MediaType.APPLICATION_JSON)
    public Response excluirGridEntity(@PathParam("id") Long id){
        GridEntity entity = demoService.obterGridEntityPorId(id);
        if(entity != null){
            demoService.excluirGridEntity(entity);
            return Response.status(Response.Status.OK).build();
        }
        return Response.status(Response.Status.NOT_FOUND).build();
View Full Code Here


    public SingleRowEntity obterSingleRowEntity() {
        List<SingleRowEntity> lista = singleRowEntityDataRepository.obterTodos();
        if(!lista.isEmpty()){
            return lista.get(0);
        }
        return new SingleRowEntity();
    }
View Full Code Here

TOP

Related Classes of br.com.cwi.tnt.rfp.arquitetura1.repository.GridEntityDataRepository

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.