Interface BioAssayReadService
- All Known Implementing Classes:
BioAssayReadServiceImpl
BioAssay.
Phase 3 of the BioAssayService decomposition (strangler fig). This
service houses the DAO-bound read cluster previously implemented directly on the
BioAssayServiceImpl facade: findBioAssayDimensions,
findByShortName, findByAccession, findSubBioAssays,
findSiblings, getBioAssaySets, thaw (x2),
loadValueObjects, loadValueObjectsByCursorForExpressionExperiment,
and loadValueObjectsByCursorForSubSet. All methods delegate to
BioAssayDao (and read-side collaborators) and orchestrate no writes.
Write-side methods (addBioMaterialAssociation,
removeBioMaterialAssociation, plus the inherited BaseService mutators)
stay on the BioAssayService facade.
Callers should generally keep using BioAssayService as the facade --
the facade delegates to this service. Direct injection is appropriate where a class
is logically read-only (REST endpoints, CLIs, browser controllers, intra-core readers).
ACL / @Secured annotations live on BioAssayService (the
caller-facing facade interface); enforcement happens at the facade proxy boundary,
so this interface is intentionally unsecured.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfindBioAssayDimensions(BioAssay bioAssay) Locate all BioAssayDimensions in which the selected BioAssay occurs.findByAccession(String accession) findByShortName(String shortName) findSiblings(BioAssay bioAssay) findSubBioAssays(BioAssay bioAssay, boolean direct) getBioAssaySets(BioAssay bioAssay) Obtain all theBioAssaySetthat contain the givenBioAssay.loadValueObjects(Collection<BioAssay> entities, Map<BioAssay, BioAssay> assay2sourceAssayMap, boolean basic, boolean allFactorValues) loadValueObjectsByCursorForExpressionExperiment(ExpressionExperiment ee, Cursor cursor, int limit) loadValueObjectsByCursorForSubSet(ExpressionExperimentSubSet subset, Cursor cursor, int limit) thaw(Collection<BioAssay> bioAssays)
-
Method Details
-
findBioAssayDimensions
Locate all BioAssayDimensions in which the selected BioAssay occurs. -
findByShortName
-
findByAccession
- Parameters:
accession- eg GSM12345.- Returns:
- BioAssays that match based on the plain accession (unconstrained by ExternalDatabase).
-
findSubBioAssays
-
findSiblings
-
getBioAssaySets
Obtain all theBioAssaySetthat contain the givenBioAssay. -
thaw
-
thaw
-
loadValueObjects
List<BioAssayValueObject> loadValueObjects(Collection<BioAssay> entities, @Nullable Map<BioAssay, BioAssay> assay2sourceAssayMap, boolean basic, boolean allFactorValues) - See Also:
-
loadValueObjectsByCursorForExpressionExperiment
CursorPage<BioAssayValueObject> loadValueObjectsByCursorForExpressionExperiment(ExpressionExperiment ee, @Nullable Cursor cursor, int limit) - See Also:
-
loadValueObjectsByCursorForSubSet
CursorPage<BioAssayValueObject> loadValueObjectsByCursorForSubSet(ExpressionExperimentSubSet subset, @Nullable Cursor cursor, int limit) - See Also:
-