net.incongru.berkano.security.hibernate
Class HibernatedRoleDAO

java.lang.Object
  extended by net.incongru.berkano.security.hibernate.HibernatedRoleDAO
All Implemented Interfaces:
RoleDAO

public class HibernatedRoleDAO
extends java.lang.Object
implements RoleDAO

Version:
$Revision: 1.2 $
Author:
greg, $Author: gj $ (last edit)

Constructor Summary
HibernatedRoleDAO(org.hibernate.Session session)
           
 
Method Summary
 Role getRole(java.lang.String name)
           
 java.util.Collection getRoles(Application app)
          Get the list of roles for the given application.
 java.util.List listAllRoles()
           
 Role newRole(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernatedRoleDAO

public HibernatedRoleDAO(org.hibernate.Session session)
Method Detail

getRoles

public java.util.Collection getRoles(Application app)
Description copied from interface: RoleDAO
Get the list of roles for the given application.

Specified by:
getRoles in interface RoleDAO

getRole

public Role getRole(java.lang.String name)
Specified by:
getRole in interface RoleDAO

listAllRoles

public java.util.List listAllRoles()
Specified by:
listAllRoles in interface RoleDAO

newRole

public Role newRole(java.lang.String name)
Specified by:
newRole in interface RoleDAO


Copyright © 2004-2007. All Rights Reserved.