Interface ExpressionExperimentSubSetService
-
- All Superinterfaces:
BaseImmutableService<ExpressionExperimentSubSet>,BaseReadOnlyService<ExpressionExperimentSubSet>,BaseService<ExpressionExperimentSubSet>
- All Known Implementing Classes:
ExpressionExperimentSubSetServiceImpl
public interface ExpressionExperimentSubSetService extends BaseService<ExpressionExperimentSubSet>
- Author:
- kelsey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionExperimentSubSetcreate(ExpressionExperimentSubSet expressionExperimentSubSet)Creates the given entity in the persistent storage.ExpressionExperimentSubSetfind(ExpressionExperimentSubSet entity)Does a search for the entity in the persistent storageExpressionExperimentSubSetfindOrCreate(ExpressionExperimentSubSet entity)Does a search for the entity in the persistent storage, and if not found, creates it.Collection<FactorValueValueObject>getFactorValuesUsed(Long subSetId, Long experimentalFactor)Collection<FactorValue>getFactorValuesUsed(ExpressionExperimentSubSet entity, ExperimentalFactor factor)ExpressionExperimentSubSetload(Long id)Loads object with given ID.Collection<ExpressionExperimentSubSet>loadAll()Loads all the entities of specific type.voidremove(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
-
Methods inherited from interface ubic.gemma.persistence.service.BaseService
save, save, update, update
-
-
-
-
Method Detail
-
find
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"}) ExpressionExperimentSubSet find(ExpressionExperimentSubSet entity)Description copied from interface:BaseReadOnlyServiceDoes a search for the entity in the persistent storage- Specified by:
findin 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
@Secured("GROUP_USER") ExpressionExperimentSubSet findOrCreate(ExpressionExperimentSubSet entity)Description copied from interface:BaseImmutableServiceDoes a search for the entity in the persistent storage, and if not found, creates it.- Specified by:
findOrCreatein 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.
-
create
@Secured("GROUP_USER") ExpressionExperimentSubSet create(ExpressionExperimentSubSet expressionExperimentSubSet)Description copied from interface:BaseImmutableServiceCreates the given entity in the persistent storage.- Specified by:
createin 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:BaseReadOnlyServiceLoads object with given ID.- Specified by:
loadin 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
-
loadAll
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<ExpressionExperimentSubSet> loadAll()Description copied from interface:BaseReadOnlyServiceLoads all the entities of specific type.- Specified by:
loadAllin interfaceBaseReadOnlyService<ExpressionExperimentSubSet>- Returns:
- collection of all entities currently available in the persistent storage.
-
remove
@Secured({"GROUP_USER","ACL_SECURABLE_EDIT"}) void remove(ExpressionExperimentSubSet entity)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:
removein 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
Collection<FactorValueValueObject> getFactorValuesUsed(Long subSetId, Long experimentalFactor)
-
-