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 ExperimentalDesignfind(ExperimentalDesign experimentalDesign)Does a search for the entity in the persistent storageExpressionExperimentgetExpressionExperiment(ExperimentalDesign experimentalDesign)Gets the expression experiment for the specified experimental design objectExperimentalDesigngetRandomExperimentalDesignThatNeedsAttention(ExperimentalDesign excludeDesign)Obtain a random experimental design that needs attention.ExperimentalDesignload(Long id)Loads object with given ID.Collection<ExperimentalDesign>loadAll()Loads all the entities of specific type.ExperimentalDesignloadWithExperimentalFactors(Long id)voidupdate(Collection<ExperimentalDesign> entities)Updates all entities in the given collection in the persistent storage.voidupdate(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:BaseReadOnlyServiceDoes a search for the entity in the persistent storage- Specified by:
findin 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:BaseReadOnlyServiceLoads object with given ID.- Specified by:
loadin 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:BaseReadOnlyServiceLoads all the entities of specific type.- Specified by:
loadAllin 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:BaseServiceUpdates all entities in the given collection in the persistent storage.- Specified by:
updatein interfaceBaseService<ExperimentalDesign>- Parameters:
entities- the entities to be updated.
-
update
@Secured({"GROUP_USER","ACL_SECURABLE_EDIT"}) void update(ExperimentalDesign experimentalDesign)Description copied from interface:BaseServiceUpdates the given entity in the persistent storage.- Specified by:
updatein 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.
-
-