Method Summary
All Methods Instance Methods Abstract Methods
Creates the given entity in the persistent storage.
Does a search for the entity in the persistent storage
Does a search for the entity in the persistent storage, and if not found, creates it.
Loads object with given ID.
Loads all the entities of specific type.
void
Deletes an experiment subset and all of its associated DifferentialExpressionAnalysis objects.
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll , findOrFail , getElementClass , load , loadOrFail , loadOrFail , loadOrFail , loadOrFail , loadOrFail , loadOrFail , streamAll , streamAll
Method Details
find
Does a search for the entity in the persistent storage
Specified by:
find in interface BaseReadOnlyService <ExpressionExperimentSubSet >
Parameters:
entity - the entity to be searched for
Returns:
the version of entity retrieved from the persistent storage, if found, otherwise null.
findOrCreate
Does a search for the entity in the persistent storage, and if not found, creates it.
Specified by:
findOrCreate in interface BaseImmutableService <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.
create
Creates the given entity in the persistent storage.
Specified by:
create in interface BaseImmutableService <ExpressionExperimentSubSet >
Parameters:
expressionExperimentSubSet - the entity to be created.
Returns:
object referencing the persistent instance of the given entity.
load
Loads object with given ID.
Specified by:
load in interface BaseReadOnlyService <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
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 interface BaseImmutableService <ExpressionExperimentSubSet >
Parameters:
entity - the subset to remove
getFactorValuesUsed
Parameters:
entity - entity
factor - factor
Returns:
the factor values of the given factor that are relevant to the subset.