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
elementClass, 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).-
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, remove, remove, remove, save, save, 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, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
-
Methods inherited from interface ubic.gemma.persistence.service.common.protocol.ProtocolDao
findOrCreate
-
-
-
-
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).- Specified by:
find
in interfaceBaseDao<Protocol>
- Specified by:
find
in interfaceProtocolDao
- Overrides:
find
in classAbstractDao<Protocol>
- Parameters:
protocol
- the entity to look for.- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-
-