@@ -0,0 +1,1962 @@
+package com.github.aureliano.verbum_domini.resource;%0A%0Aimport javax.ws.rs.GET;%0Aimport javax.ws.rs.Path;%0Aimport javax.ws.rs.PathParam;%0Aimport javax.ws.rs.Produces;%0Aimport javax.ws.rs.QueryParam;%0Aimport javax.ws.rs.core.Response;%0Aimport com.github.aureliano.verbum_domini.model.Bible;%0A%0A@Path(%22bibles%22)%0Apublic interface Bibles %7B%0A%0A%09/**%0A%09 * %0A%09 * @param start%0A%09 *%09 The first page to return%0A%09 * @param pages%0A%09 *%09 The number of pages to return%0A%09 */%0A%09@GET%0A%09@Produces(%7B%0A%09%09%22application/json%22%0A%09%7D)%0A%09Bibles.GetBiblesResponse getBibles(%0A%09%09@QueryParam(%22start%22)%0A%09%09Long start,%0A%09%09@QueryParam(%22pages%22)%0A%09%09Long pages)%0A%09%09throws Exception%0A%09;%0A%0A%09/**%0A%09 * %0A%09 * @param language%0A%09 *%09 %0A%09 */%0A%09@GET%0A%09@Path(%22%7Blanguage%7D%22)%0A%09@Produces(%7B%0A%09%09%22application/json%22%0A%09%7D)%0A%09Bibles.GetBiblesByLanguageResponse getBiblesByLanguage(%0A%09%09@PathParam(%22language%22)%0A%09%09String language)%0A%09%09throws Exception%0A%09;%0A%0A%09public class GetBiblesByLanguageResponse%0A%09%09extends com.github.aureliano.verbum_domini.support.ResponseWrapper%0A%09%7B%0A%0A%0A%09%09private GetBiblesByLanguageResponse(Response delegate) %7B%0A%09%09%09super(delegate);%0A%09%09%7D%0A%0A%09%09/**%0A%09%09 * OK%0A%09%09 * %0A%09%09 * @param entity%0A%09%09 *%09 %0A%09%09 */%0A%09%09public static Bibles.GetBiblesByLanguageResponse jsonOK(Bible entity) %7B%0A%09%09%09Response.ResponseBuilder responseBuilder = Response.status(200).header(%22Content-Type%22, %22application/json%22);%0A%09%09%09responseBuilder.entity(entity);%0A%09%09%09return new Bibles.GetBiblesByLanguageResponse(responseBuilder.build());%0A%09%09%7D%0A%0A%09%7D%0A%0A%09public class GetBiblesResponse%0A%09%09extends com.github.aureliano.verbum_domini.support.ResponseWrapper%0A%09%7B%0A%0A%0A%09%09private GetBiblesResponse(Response delegate) %7B%0A%09%09%09super(delegate);%0A%09%09%7D%0A%0A%09%09/**%0A%09%09 * OK%0A%09%09 * %0A%09%09 * @param entity%0A%09%09 *%09 %0A%09%09 */%0A%09%09public static Bibles.GetBiblesResponse jsonOK(com.github.aureliano.verbum_domini.model.Bibles entity) %7B%0A%09%09%09Response.ResponseBuilder responseBuilder = Response.status(200).header(%22Content-Type%22, %22application/json%22);%0A%09%09%09responseBuilder.entity(entity);%0A%09%09%09return new Bibles.GetBiblesResponse(responseBuilder.build());%0A%09%09%7D%0A%0A%09%7D%0A%7D

Create bible resource interface.