/*
 * Copyright (c) 2015 by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com)
 * 
 * openAUSIAS: The stunning micro-library that helps you to develop easily 
 * AJAX web applications by using Java and jQuery
 * openAUSIAS is distributed under the MIT License (MIT)
 * Sources at https://github.com/rafaelaznar/openAUSIAS
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 * 
 */
package net.daw.service.specific.implementation;

import javax.servlet.http.HttpServletRequest;
import net.daw.service.generic.implementation.TableServiceGenImpl;

/**
 *
 * @author juliomiguel
 */
public class OpcionService extends TableServiceGenImpl{
 
     public OpcionService(HttpServletRequest request) {
        super(request);
    }
}

@@ -1789,11 +1789,1506 @@
 %0A    %7D%0D%0A
+    %0D%0A     @Override%0D%0A    public String get() throws Exception %7B%0D%0A%0D%0A        int id = ParameterCook.prepareId(oRequest);%0D%0A%0D%0A        Connection oConnection = new BoneConnectionPoolImpl().newConnection();%0D%0A%0D%0A        OpcionDao oOpcionDao = new OpcionDao(oConnection);%0D%0A%0D%0A        OpcionBean oOpcionBean = new OpcionBean();%0D%0A        oOpcionBean.setId(id);%0D%0A%0D%0A        oOpcionBean = oOpcionDao.get(oOpcionBean, 1);%0D%0A        GsonBuilder gsonBuilder = new GsonBuilder();%0D%0A        gsonBuilder.setDateFormat(%22dd/MM/yyyy HH:mm:ss%22);%0D%0A        Gson gson = gsonBuilder.create();%0D%0A        String data = gson.toJson(oOpcionBean);%0D%0A%0D%0A        return %22%7B%5C%22status%5C%22:200,%5C%22message%5C%22:%22 + data + %22%7D%22;%0D%0A    %7D%0D%0A    %0D%0A      @Override%0D%0A    public String getall() throws Exception %7B%0D%0A%0D%0A        Connection oConnection = new BoneConnectionPoolImpl().newConnection();%0D%0A%0D%0A        OpcionDao oOpcionDao = new OpcionDao(oConnection);%0D%0A        ArrayList%3COpcionBean%3E alOpcionBean = new ArrayList%3COpcionBean%3E();%0D%0A        ArrayList%3CFilterBeanHelper%3E alFilterBeanHelper = ParameterCook.prepareFilter(oRequest);%0D%0A        HashMap%3CString, String%3E hmOrder = ParameterCook.prepareOrder(oRequest);%0D%0A        %0D%0A        alOpcionBean = oOpcionDao.getAll(alFilterBeanHelper, hmOrder);%0D%0A        GsonBuilder gsonBuilder = new GsonBuilder();%0D%0A        gsonBuilder.setDateFormat(%22dd/MM/yyyy%22);%0D%0A        Gson gson = gsonBuilder.create();%0D%0A        String data = %22%7B%5C%22status%5C%22:200,%5C%22message%5C%22:%22+gson.toJson(alOpcionBean)+%22%7D%22;%0D%0A%0D%0A        return data;%0D%0A    %7D%0D%0A
 %7D%0D%0A

Update OpcionService.java