Class UserDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<User>
-
- ubic.gemma.persistence.service.common.auditAndSecurity.UserDaoImpl
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
log
-
-
Constructor Summary
Constructors Constructor Description UserDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
find(User user)
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).User
findByEmail(String email)
User
findByUserName(String userName)
Collection<GroupAuthority>
loadGroupAuthorities(User user)
Collection<UserGroup>
loadGroups(User user)
void
remove(User user)
Remove a persistent instancevoid
update(Collection<User> entities)
-
Methods inherited from class ubic.gemma.persistence.service.AbstractDao
countAll, create, create, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, getBatchSize, getElementClass, getIdentifierPropertyName, getSessionFactory, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, save, save, streamAll, streamAll, streamQuery, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, create, create, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, save, save, streamAll, streamAll, update
-
-
-
-
Constructor Detail
-
UserDaoImpl
@Autowired public UserDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
findByEmail
public User findByEmail(String email)
- Specified by:
findByEmail
in interfaceUserDao
-
findByUserName
public User findByUserName(String userName)
- Specified by:
findByUserName
in interfaceUserDao
-
loadGroupAuthorities
public Collection<GroupAuthority> loadGroupAuthorities(User user)
- Specified by:
loadGroupAuthorities
in interfaceUserDao
-
loadGroups
public Collection<UserGroup> loadGroups(User user)
- Specified by:
loadGroups
in interfaceUserDao
-
remove
public void remove(User user)
Description copied from interface:BaseDao
Remove a persistent instance
-
update
public void update(Collection<User> entities)
-
-