org.zeroexchange.dao.user.reader
Class UserReaderFactoryImpl

java.lang.Object
  extended by org.zeroexchange.dao.HibernateSessionHolder
      extended by org.zeroexchange.dao.user.reader.UserReaderFactoryImpl
All Implemented Interfaces:
UserReaderFactory

public class UserReaderFactoryImpl
extends HibernateSessionHolder
implements UserReaderFactory

Author:
black

Constructor Summary
UserReaderFactoryImpl()
           
 
Method Summary
 User getUser(Integer userId)
          Returns the user by it's name.
 SlicingDataSet<User> getUsers(String query, User excludedUser)
          Returns users according the query.
 
Methods inherited from class org.zeroexchange.dao.HibernateSessionHolder
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserReaderFactoryImpl

public UserReaderFactoryImpl()
Method Detail

getUser

public User getUser(Integer userId)
Returns the user by it's name.

Specified by:
getUser in interface UserReaderFactory

getUsers

public SlicingDataSet<User> getUsers(String query,
                                     User excludedUser)
Returns users according the query.

Specified by:
getUsers in interface UserReaderFactory


Copyright © 2013. All Rights Reserved.