Class ProtocolDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<Protocol>
-
- ubic.gemma.persistence.service.common.protocol.ProtocolDaoImpl
-
- All Implemented Interfaces:
BaseDao<Protocol>
,ProtocolDao
@Repository public class ProtocolDaoImpl extends AbstractDao<Protocol> implements ProtocolDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of typeProtocol
.- See Also:
Protocol
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
log
-
-
Constructor Summary
Constructors Constructor Description ProtocolDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Protocol
find(Protocol protocol)
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).Protocol
findByName(String protocolName)
List<Protocol>
loadAllUniqueByName()
Load all protocols that are unique by name.-
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, remove, save, save, streamAll, streamAll, streamQuery, update, 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, remove, save, save, streamAll, streamAll, update, update
-
-
-
-
Constructor Detail
-
ProtocolDaoImpl
@Autowired public ProtocolDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
find
public Protocol find(Protocol protocol)
Description copied from interface:BaseDao
Does 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 Protocol findByName(String protocolName)
- Specified by:
findByName
in interfaceProtocolDao
-
loadAllUniqueByName
public List<Protocol> loadAllUniqueByName()
Description copied from interface:ProtocolDao
Load all protocols that are unique by name.- Specified by:
loadAllUniqueByName
in interfaceProtocolDao
-
-