-
Method Summary
Creates all the given entities in a persistent storage
Creates the given entity in the persistent storage.
Does a search for the entity in the persistent storage, and if not found, creates it.
void
Removes all the given entities from persistent storage.
void
Removes the given entity from the persistent storage.
void
Updates all entities in the given collection in the persistent storage.
void
Updates the given entity in the persistent storage.
void
void
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAll
-
Method Details
-
-
create
Creates all the given entities in a persistent storage
- Specified by:
create in interface BaseImmutableService<ExternalDatabase>
- Parameters:
entities - the entities to be created.
- Returns:
- collection of objects referencing the persistent instances of given entities.
-
create
Creates the given entity in the persistent storage.
- Specified by:
create in interface BaseImmutableService<ExternalDatabase>
- Parameters:
entity - the entity to be created.
- Returns:
- object referencing the persistent instance of the given entity.
-
loadWithExternalDatabases
-
-
findByNameWithExternalDatabases
-
-
findOrCreate
Does a search for the entity in the persistent storage, and if not found, creates it.
- Specified by:
findOrCreate in interface BaseImmutableService<ExternalDatabase>
- Parameters:
externalDatabase - the entity to look for, and create if not found.
- Returns:
- the entity retrieved from the persistent storage, either found or created.
-
update
Updates the given entity in the persistent storage.
- Specified by:
update in interface BaseService<ExternalDatabase>
- Parameters:
entity - the entity to be updated.
-
update
Updates all entities in the given collection in the persistent storage.
- Specified by:
update in interface BaseService<ExternalDatabase>
- Parameters:
entities - the entities to be updated.
-
-
-
-
-