com.rapidtransform.admin.dao.hibernate
Class RoleDAOHibernate

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by 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

Constructor Summary
RoleDAOHibernate()
           
 
Method Summary
 Role getRole(java.lang.Long roleId)
           
 java.util.List<Role> getRoles()
           
 java.util.List getUsers(java.lang.String roleId)
           
 void removeRole(java.lang.String roleId)
           
 void saveRole(Role role)
           
 
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
 

Constructor Detail

RoleDAOHibernate

public RoleDAOHibernate()
Method Detail

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