Class UserGroupDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<UserGroup>
-
- ubic.gemma.persistence.service.common.auditAndSecurity.UserGroupDaoImpl
-
- All Implemented Interfaces:
BaseDao<UserGroup>,UserGroupDao
@Repository public class UserGroupDaoImpl extends AbstractDao<UserGroup> implements UserGroupDao
- See Also:
UserGroup
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
elementClass, log
-
-
Constructor Summary
Constructors Constructor Description UserGroupDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserGroupcreate(UserGroup userGroup)Create an object.UserGroupfind(UserGroup entity)Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).UserGroupfindByName(String name)Collection<UserGroup>findGroupsForUser(User user)voidremove(UserGroup userGroup)Remove a persistent instancevoidupdate(UserGroup userGroup)-
Methods inherited from class ubic.gemma.persistence.service.AbstractDao
countAll, create, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, getBatchSize, getElementClass, getIdentifierPropertyName, getSessionFactory, load, load, loadAll, loadReference, loadReference, remove, remove, save, save, 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, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, save, save, update
-
-
-
-
Constructor Detail
-
UserGroupDaoImpl
@Autowired public UserGroupDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
find
public UserGroup find(UserGroup entity)
Description copied from interface:BaseDaoDoes a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).
-
findByName
public UserGroup findByName(String name)
- Specified by:
findByNamein interfaceUserGroupDao
-
findGroupsForUser
public Collection<UserGroup> findGroupsForUser(User user)
- Specified by:
findGroupsForUserin interfaceUserGroupDao
-
create
public UserGroup create(UserGroup userGroup)
Description copied from interface:BaseDaoCreate an object. If the entity type is immutable, this may also remove any existing entities identified by an appropriate 'find' method.
-
remove
public void remove(UserGroup userGroup)
Description copied from interface:BaseDaoRemove a persistent instance
-
-