org.appfuse.dao.RoleDao Maven / Gradle / Ivy
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
*/
Role getRoleByName(String rolename);
/**
* Removes a role from the database by name
* @param rolename the role's rolename
*/
void removeRole(String rolename);
}