Class DatabaseEntryServiceImpl
java.lang.Object
ubic.gemma.persistence.service.AbstractService<DatabaseEntry>
ubic.gemma.persistence.service.AbstractFilteringVoEnabledService<DatabaseEntry, DatabaseEntryValueObject>
ubic.gemma.persistence.service.common.description.DatabaseEntryServiceImpl
- All Implemented Interfaces:
BaseImmutableService<DatabaseEntry>, BaseReadOnlyService<DatabaseEntry>, BaseService<DatabaseEntry>, BaseVoEnabledService<DatabaseEntry, DatabaseEntryValueObject>, DatabaseEntryService, FilteringService<DatabaseEntry>, FilteringVoEnabledService<DatabaseEntry, DatabaseEntryValueObject>
@Service
public class DatabaseEntryServiceImpl
extends AbstractFilteringVoEnabledService<DatabaseEntry, DatabaseEntryValueObject>
implements DatabaseEntryService
Spring Service base class for
DatabaseEntryService, provides access to all services and entities
referenced by this service.
Phase 3 strangler: the read cluster (findLatestByAccession, plus the inherited
load(Long)/loadAll()/countAll()/findByAccession surface
if you reach for it) now lives on DatabaseEntryReadService; this facade delegates
the unique read method to that service. Write methods stay on the facade.
- See Also:
-
Field Summary
Fields inherited from class AbstractService
log -
Constructor Summary
ConstructorsConstructorDescriptionDatabaseEntryServiceImpl(DatabaseEntryDao databaseEntryDao, DatabaseEntryReadService databaseEntryReadService) -
Method Summary
Modifier and TypeMethodDescriptionfindLatestByAccession(String accession) Find the latest (as per its version or ID) database entry by accession.Methods inherited from class AbstractFilteringVoEnabledService
count, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyConfigAttributes, getFilterablePropertyDescription, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getSort, isFilterablePropertyDeprecated, isFilterablePropertyUsingSubquery, load, load, loadAllValueObjects, loadIds, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjects, loadValueObjects, loadValueObjectsByCursor, loadValueObjectsByIdsMethods inherited from class AbstractService
countAll, create, create, ensureInSession, ensureInSession, find, findOrCreate, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, remove, remove, save, save, streamAll, streamAll, update, updateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BaseImmutableService
create, create, findOrCreate, remove, removeMethods inherited from interface BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAllMethods inherited from interface BaseService
save, save, update, updateMethods inherited from interface BaseVoEnabledService
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIdsMethods inherited from interface FilteringService
count, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyConfigAttributes, getFilterablePropertyDescription, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getSort, isFilterablePropertyDeprecated, isFilterablePropertyUsingSubquery, load, load, loadIdsMethods inherited from interface FilteringVoEnabledService
loadValueObjects, loadValueObjects, loadValueObjectsByCursor
-
Constructor Details
-
DatabaseEntryServiceImpl
@Autowired public DatabaseEntryServiceImpl(DatabaseEntryDao databaseEntryDao, DatabaseEntryReadService databaseEntryReadService)
-
-
Method Details
-
findLatestByAccession
Description copied from interface:DatabaseEntryServiceFind the latest (as per its version or ID) database entry by accession.- Specified by:
findLatestByAccessionin interfaceDatabaseEntryService
-