org.jboss.test.hibernate
Class ProfileService

java.lang.Object
  extended byorg.jboss.test.hibernate.ProfileService

public class ProfileService
extends java.lang.Object

A service bean used to interact with a bound hibernate session for testing purposes.


Constructor Summary
ProfileService()
           
 
Method Summary
 java.util.List listUsers()
           
 User (src) loadUser(long id)
           
 User (src) loadUser(java.lang.Long id)
           
 User (src) locateUser(java.lang.String handle)
           
 User (src) storeUser(User (src)  user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileService

public ProfileService()
Method Detail

loadUser

public User (src)  loadUser(long id)
              throws HibernateException
Throws:
HibernateException

loadUser

public User (src)  loadUser(java.lang.Long id)
              throws HibernateException
Throws:
HibernateException

listUsers

public java.util.List listUsers()
                         throws HibernateException
Throws:
HibernateException

locateUser

public User (src)  locateUser(java.lang.String handle)
                throws HibernateException
Throws:
HibernateException

storeUser

public User (src)  storeUser(User (src)  user)
               throws HibernateException
Throws:
HibernateException