
br.com.jhonsapp.finaluser.persistence.RoleGroupDAO Maven / Gradle / Ivy
package br.com.jhonsapp.finaluser.persistence;
import java.util.List;
import javax.ejb.Local;
import br.com.jhonsapp.bootstrap.object.persistence.generic.GenericDAO;
import br.com.jhonsapp.finaluser.domain.RoleGroup;
/**
* EJB service that defines the RoleGroup data access object. This service was
* designed to be used in login implementations.
*
* @see RoleGroup
*
* @author Jhonathan Camacho
*
*/
@Local
public interface RoleGroupDAO extends GenericDAO {
/**
* Find all persisted rolegroup.
*
* @return a list with all rolegroups persisted in the database.
*/
public List findAll();
/**
* Find a persisted rolegroup by it's name.
*
* @param name
* the name of the rolegroup.
* @return the rolegroup that have the name passed by parameter or null
* otherwise.
*/
public T findByName(String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy