/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package mx.edu.um.mateo.rh.dao;
import java.util.List;
import java.util.Map;
import mx.edu.um.mateo.rh.model.Seccion;
/**
*
* @author osoto
*/
public interface SeccionDao {
/**
* Retrieves all of the seccions
*/
public Map<String, Object> Lista(Map<String, Object> params);
/**
* Gets seccion's information based on primary key. An
* ObjectRetrievalFailureException Runtime Exception is thrown if nothing is
* found.
*
* @param id
* the seccion's id
* @return seccion populated seccion object
*/
public Seccion obtiene(final Long id);
/**
* Saves a seccion's information
*
* @param seccion
* the object to be saved
*/
public void graba(Seccion seccion);
/**
* Removes a seccion from the database by id
*
* @param id
* the seccion's id
*/
public void elimina(final Long id);
}