-
Method Summary
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either
id or a string property).
Calls the find method, and if this method returns null, creates a new instance in the persistent storage.
int
Methods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, create, create, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, remove, save, save, streamAll, streamAll, update, update
-
Method Details
-
find
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 interface BaseDao<Gene2GOAssociation>
- Parameters:
gene2GOAssociation
- the entity to look for.
- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-
findOrCreate
Description copied from interface: BaseDao
Calls the find method, and if this method returns null, creates a new instance in the persistent storage.
- Specified by:
findOrCreate
in interface BaseDao<Gene2GOAssociation>
- Parameters:
gene2GOAssociation
- 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.
-
-
-
-
-
-
-
-
removeAll
int removeAll()