Interface ExperimentalDesignService
-
- All Superinterfaces:
BaseImmutableService<ExperimentalDesign>
,BaseReadOnlyService<ExperimentalDesign>
,BaseService<ExperimentalDesign>
- All Known Implementing Classes:
ExperimentalDesignServiceImpl
public interface ExperimentalDesignService extends BaseService<ExperimentalDesign>
- Author:
- kelsey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExperimentalDesign
find(ExperimentalDesign experimentalDesign)
Does a search for the entity in the persistent storageExpressionExperiment
getExpressionExperiment(ExperimentalDesign experimentalDesign)
Gets the expression experiment for the specified experimental design objectExperimentalDesign
getRandomExperimentalDesignThatNeedsAttention(ExperimentalDesign excludeDesign)
Obtain a random experimental design that needs attention.ExperimentalDesign
load(Long id)
Loads object with given ID.Collection<ExperimentalDesign>
loadAll()
Loads all the entities of specific type.ExperimentalDesign
loadWithExperimentalFactors(Long id)
void
update(Collection<ExperimentalDesign> entities)
Updates all entities in the given collection in the persistent storage.void
update(ExperimentalDesign experimentalDesign)
Updates the given entity in the persistent storage.-
Methods inherited from interface ubic.gemma.persistence.service.BaseImmutableService
create, create, findOrCreate, remove, 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
-
-
-
-
Method Detail
-
find
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"}) ExperimentalDesign find(ExperimentalDesign experimentalDesign)
Description copied from interface:BaseReadOnlyService
Does a search for the entity in the persistent storage- Specified by:
find
in interfaceBaseReadOnlyService<ExperimentalDesign>
- Parameters:
experimentalDesign
- the entity to be searched for- Returns:
- the version of entity retrieved from the persistent storage, if found, otherwise null.
-
load
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"}) ExperimentalDesign load(Long id)
Description copied from interface:BaseReadOnlyService
Loads object with given ID.- Specified by:
load
in interfaceBaseReadOnlyService<ExperimentalDesign>
- 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
-
loadWithExperimentalFactors
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"}) ExperimentalDesign loadWithExperimentalFactors(Long id)
-
loadAll
@Secured("GROUP_ADMIN") Collection<ExperimentalDesign> loadAll()
Description copied from interface:BaseReadOnlyService
Loads all the entities of specific type.- Specified by:
loadAll
in interfaceBaseReadOnlyService<ExperimentalDesign>
- Returns:
- collection of all entities currently available in the persistent storage.
-
update
@Secured({"GROUP_USER","ACL_SECURABLE_EDIT"}) void update(Collection<ExperimentalDesign> entities)
Description copied from interface:BaseService
Updates all entities in the given collection in the persistent storage.- Specified by:
update
in interfaceBaseService<ExperimentalDesign>
- Parameters:
entities
- the entities to be updated.
-
update
@Secured({"GROUP_USER","ACL_SECURABLE_EDIT"}) void update(ExperimentalDesign experimentalDesign)
Description copied from interface:BaseService
Updates the given entity in the persistent storage.- Specified by:
update
in interfaceBaseService<ExperimentalDesign>
- Parameters:
experimentalDesign
- the entity to be updated.
-
getExpressionExperiment
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"}) ExpressionExperiment getExpressionExperiment(ExperimentalDesign experimentalDesign)
Gets the expression experiment for the specified experimental design object- Parameters:
experimentalDesign
- experimental design- Returns:
- experiment the given design belongs to
-
getRandomExperimentalDesignThatNeedsAttention
@Nullable @Secured("GROUP_ADMIN") ExperimentalDesign getRandomExperimentalDesignThatNeedsAttention(ExperimentalDesign excludeDesign)
Obtain a random experimental design that needs attention.This operation is reserved to administrators.
-
-