Interface ProtocolDao
- 
- All Known Implementing Classes:
- ProtocolDaoImpl
 
 @Repository public interface ProtocolDao extends BaseDao<Protocol> - See Also:
- Protocol
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Protocolfind(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).ProtocolfindOrCreate(Protocol protocol)Calls the find method, and if this method returns null, creates a new instance in the persistent storage.- 
Methods inherited from interface ubic.gemma.persistence.service.BaseDaocountAll, create, create, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
 
- 
 
- 
- 
- 
Method Detail- 
findProtocol find(Protocol protocol) 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).
 - 
findOrCreateProtocol findOrCreate(Protocol protocol) Description copied from interface:BaseDaoCalls the find method, and if this method returns null, creates a new instance in the persistent storage.- Specified by:
- findOrCreatein interface- BaseDao<Protocol>
- Parameters:
- protocol- the entity to look for and persist if not found.
- Returns:
- the given entity, guaranteed to be representing an entity present in the persistent storage.
 
 
- 
 
-