Package ubic.gemma.persistence.service
Interface BaseVoEnabledDao<O extends Identifiable,VO extends IdentifiableValueObject<O>>
-
- All Superinterfaces:
BaseDao<O>
- All Known Subinterfaces:
ArrayDesignDao
,BibliographicReferenceDao
,BioAssayDao
,BioAssayDimensionDao
,BioMaterialDao
,BioSequenceDao
,BlacklistedEntityDao
,BlatResultDao
,CachedFilteringVoEnabledDao<O,VO>
,CharacteristicDao
,CompositeSequenceDao
,DatabaseEntryDao
,ExperimentalFactorDao
,ExpressionAnalysisResultSetDao
,ExpressionExperimentDao
,ExpressionExperimentSetDao
,FactorValueDao
,FilteringVoEnabledDao<O,VO>
,GeeqDao
,GeneDao
,GeneProductDao
,GeneSetDao
,QuantitationTypeDao
,TaxonDao
- All Known Implementing Classes:
AbstractCriteriaFilteringVoEnabledDao
,AbstractCuratableDao
,AbstractFilteringVoEnabledDao
,AbstractNoopFilteringVoEnabledDao
,AbstractQueryFilteringVoEnabledDao
,AbstractVoEnabledDao
,ArrayDesignDaoImpl
,BibliographicReferenceDaoImpl
,BioAssayDaoImpl
,BioAssayDimensionDaoImpl
,BioMaterialDaoImpl
,BioSequenceDaoImpl
,BlacklistedEntityDaoImpl
,BlatResultDaoImpl
,CharacteristicDaoImpl
,CompositeSequenceDaoImpl
,DatabaseEntryDaoImpl
,ExperimentalFactorDaoImpl
,ExpressionAnalysisResultSetDaoImpl
,ExpressionExperimentDaoImpl
,ExpressionExperimentSetDaoImpl
,FactorValueDaoImpl
,GeeqDaoImpl
,GeneDaoImpl
,GeneProductDaoImpl
,GeneSetDaoImpl
,QuantitationTypeDaoImpl
,TaxonDaoImpl
public interface BaseVoEnabledDao<O extends Identifiable,VO extends IdentifiableValueObject<O>> extends BaseDao<O>
Created by tesarst on 01/06/17. Interface for DAOs providing value object functionality
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<VO>
loadAllValueObjects()
VO
loadValueObject(O entity)
Load a value object corresponding to an entityVO
loadValueObjectById(Long id)
List<VO>
loadValueObjects(Collection<O> entities)
Load value objects corresponding to entitiesList<VO>
loadValueObjectsByIds(Collection<Long> ids)
-
Methods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, create, create, find, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
-
-
-
-
Method Detail
-
loadValueObject
@Nullable VO loadValueObject(O entity)
Load a value object corresponding to an entity- Parameters:
entity
- the entity to turn into a value object- Returns:
- a value object
-
loadValueObjectById
@Nullable VO loadValueObjectById(Long id)
- Returns:
- a value object, or null if it could not be constructed
-
loadValueObjects
List<VO> loadValueObjects(Collection<O> entities)
Load value objects corresponding to entities- Parameters:
entities
- the entities to turn into value objects- Returns:
- a collection of value objects
-
loadValueObjectsByIds
List<VO> loadValueObjectsByIds(Collection<Long> ids)
-
-