Interface ExpressionExperimentSubSetService
- All Superinterfaces:
BaseImmutableService<ExpressionExperimentSubSet>
,BaseReadOnlyService<ExpressionExperimentSubSet>
,BaseService<ExpressionExperimentSubSet>
- All Known Implementing Classes:
ExpressionExperimentSubSetServiceImpl
- Author:
- kelsey
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ExpressionExperimentSubSet expressionExperimentSubSet) Creates the given entity in the persistent storage.find
(ExpressionExperimentSubSet entity) Does a search for the entity in the persistent storagefindByBioAssayIn
(Collection<BioAssay> bioAssays) Does a search for the entity in the persistent storage, and if not found, creates it.getFactorValuesUsed
(Long subSetId, Long experimentalFactor) getFactorValuesUsed
(ExpressionExperimentSubSet entity, ExperimentalFactor factor) Loads object with given ID.loadAll()
Loads all the entities of specific type.void
remove
(ExpressionExperimentSubSet entity) Deletes an experiment subset and all of its associated DifferentialExpressionAnalysis objects.Methods inherited from interface ubic.gemma.persistence.service.BaseImmutableService
create, remove, remove
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, findOrFail, getElementClass, load, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAll
Methods inherited from interface ubic.gemma.persistence.service.BaseService
save, save, update, update
-
Method Details
-
find
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"}) ExpressionExperimentSubSet find(ExpressionExperimentSubSet entity) Description copied from interface:BaseReadOnlyService
Does a search for the entity in the persistent storage- Specified by:
find
in interfaceBaseReadOnlyService<ExpressionExperimentSubSet>
- Parameters:
entity
- the entity to be searched for- Returns:
- the version of entity retrieved from the persistent storage, if found, otherwise null.
-
findOrCreate
Description copied from interface:BaseImmutableService
Does a search for the entity in the persistent storage, and if not found, creates it.- Specified by:
findOrCreate
in interfaceBaseImmutableService<ExpressionExperimentSubSet>
- Parameters:
entity
- the entity to look for, and create if not found.- Returns:
- the entity retrieved from the persistent storage, either found or created.
-
findByBioAssayIn
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<ExpressionExperimentSubSet> findByBioAssayIn(Collection<BioAssay> bioAssays) -
create
@Secured("GROUP_USER") ExpressionExperimentSubSet create(ExpressionExperimentSubSet expressionExperimentSubSet) Description copied from interface:BaseImmutableService
Creates the given entity in the persistent storage.- Specified by:
create
in interfaceBaseImmutableService<ExpressionExperimentSubSet>
- Parameters:
expressionExperimentSubSet
- the entity to be created.- Returns:
- object referencing the persistent instance of the given entity.
-
load
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"}) ExpressionExperimentSubSet load(Long id) Description copied from interface:BaseReadOnlyService
Loads object with given ID.- Specified by:
load
in interfaceBaseReadOnlyService<ExpressionExperimentSubSet>
- Parameters:
id
- the ID of entity to be loaded.- Returns:
- the entity with matching ID, or null if the entity does not exist or if the passed ID was null
-
loadWithBioAssays
@Nullable @Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"}) ExpressionExperimentSubSet loadWithBioAssays(Long id) -
loadAll
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<ExpressionExperimentSubSet> loadAll()Description copied from interface:BaseReadOnlyService
Loads all the entities of specific type.- Specified by:
loadAll
in interfaceBaseReadOnlyService<ExpressionExperimentSubSet>
- Returns:
- collection of all entities currently available in the persistent storage.
-
remove
Deletes an experiment subset and all of its associated DifferentialExpressionAnalysis objects. This method is similar to ubic.gemma.persistence.service.expression.experiment.ExpressionExperimentServiceImpl.handleDelete(ExpressionExperiment) but it doesn't include removal of sample coexpression matrices, PCA, probe2probe coexpression links, or adjusting of experiment set members.- Specified by:
remove
in interfaceBaseImmutableService<ExpressionExperimentSubSet>
- Parameters:
entity
- the subset to remove
-
getFactorValuesUsed
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_READ"}) Collection<FactorValue> getFactorValuesUsed(ExpressionExperimentSubSet entity, ExperimentalFactor factor) - Parameters:
entity
- entityfactor
- factor- Returns:
- the factor values of the given factor that are relevant to the subset.
-
getFactorValuesUsed
-
getArrayDesignsUsed
-