org.appfuse.dao.RoleDao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appfuse-hibernate Show documentation
Show all versions of appfuse-hibernate Show documentation
AppFuse DAO backend implemented with Hibernate (http://hibernate.org).
package org.appfuse.dao;
import org.appfuse.model.Role;
/**
* Role Data Access Object (DAO) interface.
*
* @author Matt Raible
*/
public interface RoleDao extends GenericDao {
/**
* Gets role information based on rolename
* @param rolename the rolename
* @return populated role object
*/
public Role getRoleByName(String rolename);
/**
* Removes a role from the database by name
* @param rolename the role's rolename
*/
public void removeRole(String rolename);
}