Interface DifferentialExpressionAnalysisReadService
- All Known Implementing Classes:
DifferentialExpressionAnalysisReadServiceImpl
DifferentialExpressionAnalysis.
Phase 3 of the DifferentialExpressionAnalysisService decomposition (strangler
fig). This service houses the read-side cluster previously implemented directly on the
DifferentialExpressionAnalysisServiceImpl facade: loadWithExperimentAnalyzed,
findByName, findByFactor, findExperimentsWithAnalyses,
findByExperimentAndAnalysisId, the thaw variants, canDelete,
findByExperimentIds, findByExperiment, findByExperiments,
and getExperimentsWithAnalysis. All methods delegate to the relevant DAOs
with no orchestration of write-side collaborators.
Callers should generally keep using DifferentialExpressionAnalysisService as
the facade -- the facade delegates to this service. Direct injection is appropriate
where a class would otherwise create a Spring construction cycle through the heavier
facade.
ACL / @Secured annotations live on DifferentialExpressionAnalysisService
(the caller-facing facade interface); enforcement happens at the facade proxy boundary,
so this interface is intentionally unsecured.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanDelete(DifferentialExpressionAnalysis differentialExpressionAnalysis) findByExperiment(ExpressionExperiment experimentAnalyzed, boolean includeSubSets) findByExperimentAndAnalysisId(ExpressionExperiment expressionExperiment, boolean includeSubSets, Long analysisId) findByExperimentIds(Collection<Long> experimentIds, boolean includeSubSets, boolean includeAssays) findByExperiments(Collection<ExpressionExperiment> experiments, boolean includeSubSets) findByName(String name) getExperimentsWithAnalysis(Collection<Long> experimentIds, boolean includeSubSets) Load an analysis by ID and eagerly initialize itsexperimentAnalyzed.thaw(Collection<DifferentialExpressionAnalysis> expressionAnalyses) Thaw a collection ofDifferentialExpressionAnalysisfor full traversal.thaw(DifferentialExpressionAnalysis differentialExpressionAnalysis) Thaw a singleDifferentialExpressionAnalysisfor full traversal.thawFully(DifferentialExpressionAnalysis differentialExpressionAnalysis) Thaw a singleDifferentialExpressionAnalysisincluding all its result sets, results and contrasts.
-
Method Details
-
loadWithExperimentAnalyzed
Load an analysis by ID and eagerly initialize itsexperimentAnalyzed. -
findByName
- See Also:
-
findByFactor
- See Also:
-
findExperimentsWithAnalyses
- See Also:
-
findByExperimentAndAnalysisId
@Nullable DifferentialExpressionAnalysis findByExperimentAndAnalysisId(ExpressionExperiment expressionExperiment, boolean includeSubSets, Long analysisId) - See Also:
-
thaw
@CheckReturnValue Collection<DifferentialExpressionAnalysis> thaw(Collection<DifferentialExpressionAnalysis> expressionAnalyses) Thaw a collection ofDifferentialExpressionAnalysisfor full traversal. -
thaw
@CheckReturnValue DifferentialExpressionAnalysis thaw(DifferentialExpressionAnalysis differentialExpressionAnalysis) Thaw a singleDifferentialExpressionAnalysisfor full traversal. -
thawFully
@CheckReturnValue DifferentialExpressionAnalysis thawFully(DifferentialExpressionAnalysis differentialExpressionAnalysis) Thaw a singleDifferentialExpressionAnalysisincluding all its result sets, results and contrasts. -
canDelete
- Returns:
trueif the analysis can be deleted (no other entity is keeping it around).
-
findByExperimentIds
Map<ExpressionExperimentDetailsValueObject, Collection<DifferentialExpressionAnalysisValueObject>> findByExperimentIds(Collection<Long> experimentIds, boolean includeSubSets, boolean includeAssays) - See Also:
-
findByExperiment
Collection<DifferentialExpressionAnalysis> findByExperiment(ExpressionExperiment experimentAnalyzed, boolean includeSubSets) - See Also:
-
findByExperiments
Map<ExpressionExperiment, Collection<DifferentialExpressionAnalysis>> findByExperiments(Collection<ExpressionExperiment> experiments, boolean includeSubSets) - See Also:
-
getExperimentsWithAnalysis
- See Also:
-