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 Details

    • 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)
    • loadAllValueObjects

      List<VO> loadAllValueObjects()