Package ubic.gemma.persistence.service
Interface BaseVoEnabledService<O extends Identifiable,VO extends IdentifiableValueObject<O>>
-
- All Superinterfaces:
BaseReadOnlyService<O>
- All Known Subinterfaces:
ArrayDesignService,BibliographicReferenceService,BioAssayDimensionService,BioAssayService,BioMaterialService,BioSequenceService,BlacklistedEntityService,BlatResultService,CharacteristicService,CompositeSequenceService,CuratableService<C,VO>,DatabaseEntryService,ExperimentalFactorService,ExpressionAnalysisResultSetService,ExpressionExperimentService,ExpressionExperimentSetService,FactorValueService,FilteringVoEnabledService<O,VO>,GeeqService,GeneProductService,GeneService,GeneSetService,QuantitationTypeService,TaxonService
- All Known Implementing Classes:
AbstractFilteringVoEnabledService,AbstractVoEnabledService,ArrayDesignServiceImpl,BibliographicReferenceServiceImpl,BioAssayDimensionServiceImpl,BioAssayServiceImpl,BioMaterialServiceImpl,BioSequenceServiceImpl,BlacklistedEntityServiceImpl,BlatResultServiceImpl,CharacteristicServiceImpl,CompositeSequenceServiceImpl,DatabaseEntryServiceImpl,ExperimentalFactorServiceImpl,ExpressionAnalysisResultSetServiceImpl,ExpressionExperimentServiceImpl,ExpressionExperimentSetServiceImpl,FactorValueServiceImpl,GeeqServiceImpl,GeneProductServiceImpl,GeneServiceImpl,GeneSetServiceImpl,QuantitationTypeServiceImpl,TaxonServiceImpl
public interface BaseVoEnabledService<O extends Identifiable,VO extends IdentifiableValueObject<O>> extends BaseReadOnlyService<O>
Created by tesarst on 01/06/17. Interface for services that provide value object functionality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<VO>loadAllValueObjects()Loads value objects representing all the entities of specific type.VOloadValueObject(O entity)VOloadValueObjectById(Long entityId)List<VO>loadValueObjects(Collection<O> entities)Loads value objects for all given entities.List<VO>loadValueObjectsByIds(Collection<Long> entityIds)Load value objects by a given collection of IDs.-
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail
-
-
-
-
Method Detail
-
loadValueObjects
List<VO> loadValueObjects(Collection<O> entities)
Loads value objects for all given entities.- Parameters:
entities- the entities to be converted to value objects- Returns:
- a collection of value objects representing he given entities.
-
loadValueObjectsByIds
List<VO> loadValueObjectsByIds(Collection<Long> entityIds)
Load value objects by a given collection of IDs.
-
-