com.rapidtransform.admin.dao.hibernate
Class RoleDAOHibernate
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
com.rapidtransform.admin.dao.hibernate.RoleDAOHibernate
- All Implemented Interfaces:
- RoleDAO, DAO, org.springframework.beans.factory.InitializingBean
public class RoleDAOHibernate
- extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
- implements RoleDAO
- Author:
- Steve
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleDAOHibernate
public RoleDAOHibernate()
removeRole
public void removeRole(java.lang.String roleId)
- Specified by:
removeRole
in interface RoleDAO
getUsers
public java.util.List getUsers(java.lang.String roleId)
getRoles
public java.util.List<Role> getRoles()
- Specified by:
getRoles
in interface RoleDAO
getRole
public Role getRole(java.lang.Long roleId)
- Specified by:
getRole
in interface RoleDAO
saveRole
public void saveRole(Role role)
- Specified by:
saveRole
in interface RoleDAO