Package ubic.gemma.persistence.service
Interface BaseService<O extends Identifiable>
-
- Type Parameters:
O- the Object type that this service is handling.
- All Superinterfaces:
BaseImmutableService<O>,BaseReadOnlyService<O>
- All Known Subinterfaces:
ArrayDesignService,BioAssayService,BioMaterialService,BioSequenceService,BlatResultService,CharacteristicService,CoexpressionAnalysisService,CompositeSequenceService,ContactService,CuratableService<C,VO>,DifferentialExpressionAnalysisService,ExperimentalDesignService,ExperimentalFactorService,ExpressionExperimentService,ExpressionExperimentSetService,ExpressionExperimentSubSetService,ExternalDatabaseService,FactorValueService,GeneProductService,GeneService,GeneSetService,QuantitationTypeService,TaxonService
- All Known Implementing Classes:
AbstractDesignElementDataVectorService,AbstractFilteringVoEnabledService,AbstractService,AbstractVoEnabledService,AnnotationAssociationServiceImpl,ArrayDesignServiceImpl,AuditTrailServiceImpl,BibliographicReferenceServiceImpl,BioAssayDimensionServiceImpl,BioAssayServiceImpl,BioMaterialServiceImpl,BioSequenceServiceImpl,BlacklistedEntityServiceImpl,BlatAssociationServiceImpl,BlatResultServiceImpl,CharacteristicServiceImpl,ChromosomeServiceImpl,CoexpressionAnalysisServiceImpl,CompositeSequenceServiceImpl,CompoundServiceImpl,ContactServiceImpl,DatabaseEntryServiceImpl,DifferentialExpressionAnalysisServiceImpl,DifferentialExpressionResultServiceImpl,ExperimentalDesignServiceImpl,ExperimentalFactorServiceImpl,ExpressionAnalysisResultSetServiceImpl,ExpressionExperimentServiceImpl,ExpressionExperimentSetServiceImpl,ExpressionExperimentSubSetServiceImpl,ExternalDatabaseServiceImpl,FactorValueServiceImpl,GeeqServiceImpl,Gene2GOAssociationServiceImpl,GeneDiffExMetaAnalysisServiceImpl,GeneProductServiceImpl,GeneServiceImpl,GeneSetServiceImpl,PhenotypeAssociationServiceImpl,PrincipalComponentAnalysisServiceImpl,ProcessedExpressionDataVectorServiceImpl,ProtocolServiceImpl,QuantitationTypeServiceImpl,RawAndProcessedExpressionDataVectorServiceImpl,RawExpressionDataVectorServiceImpl,TaxonServiceImpl
public interface BaseService<O extends Identifiable> extends BaseImmutableService<O>
Interface that supports basic CRUD operations.- Author:
- tesarst
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<O>save(Collection<O> entities)Osave(O entity)voidupdate(Collection<O> entities)Updates all entities in the given collection in the persistent storage.voidupdate(O entity)Updates the given entity in the persistent storage.-
Methods inherited from interface ubic.gemma.persistence.service.BaseImmutableService
create, create, findOrCreate, remove, remove, remove
-
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail
-
-
-
-
Method Detail
-
save
@CheckReturnValue Collection<O> save(Collection<O> entities)
- See Also:
BaseDao.save(Collection)
-
save
@CheckReturnValue O save(O entity)
- See Also:
BaseDao.save(Object)
-
update
void update(Collection<O> entities)
Updates all entities in the given collection in the persistent storage.- Parameters:
entities- the entities to be updated.
-
update
void update(O entity)
Updates the given entity in the persistent storage.- Parameters:
entity- the entity to be updated.
-
-