com.github.jhonyscamacho.finaluser.persistence.RoleGroupDAO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of final-user Show documentation
Show all versions of final-user Show documentation
A bunch of classes that help developers building login and authentication.
The newest version!
package com.github.jhonyscamacho.finaluser.persistence;
import java.util.List;
import javax.ejb.Local;
import com.github.jhonyscamacho.finaluser.domain.RoleGroup;
import com.github.jhonyscamacho.persistence.generic.GenericDAO;
/**
* 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 - 2024 Weber Informatics LLC | Privacy Policy