/*
 * Arrebol Consultancy copyright.
 * 
 * This code belongs to Arrebol Consultancy
 * its use, redistribution or modification are prohibited 
 * without written authorization from Arrebol Consultancy.
 */
package com.arrebol.apc.controller.mobile.repository;

import com.arrebol.apc.test.ArrebolTest;
import java.io.Serializable;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 *
 * @author Carlos Janitzio Zavala Lopez <janitzio.zavala@arrebol.com.mx>
 */
public class ArrebolTestRepository extends GenericRepository implements Serializable {

    /**
     *
     * @param arrebolTest
     * @return
     * @throws Exception
     */
    public boolean saveArrebolTest(ArrebolTest arrebolTest) throws Exception {
        logger.info("saveArrebolTest");
        try {
            return save(arrebolTest);
        } catch (Exception e) {
            logger.error("saveArrebolTest", e);
            throw e;
        }
    }

    private static final long serialVersionUID = -6564619785642944612L;
    final Logger logger = LogManager.getLogger(ArrebolTestRepository.class);
}
