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,DatabaseEntryService,ExperimentalFactorService,ExpressionAnalysisResultSetService,ExpressionExperimentService,ExpressionExperimentSetService,FactorValueService,FilteringVoEnabledService<O,,VO> GeeqService,GeneProductService,GeneService,GeneSetService,QuantitationTypeService,SecurableBaseVoEnabledService<C,,VO> SecurableFilteringVoEnabledService<C,,VO> 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
Modifier and TypeMethodDescriptionLoads value objects representing all the entities of specific type.loadValueObject(O entity) loadValueObjectById(Long entityId) loadValueObjects(Collection<O> entities) Loads value objects for all given entities.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, loadOrFail, loadOrFail, streamAll, streamAll
-
Method Details
-
loadValueObject
- See Also:
-
loadValueObjectById
- See Also:
-
loadValueObjects
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
Load value objects by a given collection of IDs. -
loadAllValueObjects
Loads value objects representing all the entities of specific type.- Returns:
- a collection of value objects
-