public interface ExpressionExperimentSetService extends BaseVoEnabledService<ExpressionExperimentSet,ExpressionExperimentSetValueObject>
Modifier and Type | Field and Description |
---|---|
static String |
AUTOMATICALLY_GENERATED_EXPERIMENT_GROUP_DESCRIPTION |
Modifier and Type | Method and Description |
---|---|
ExpressionExperimentSet |
create(ExpressionExperimentSet expressionExperimentSet)
Creates the given entity in the persistent storage.
|
ExpressionExperimentSet |
createFromValueObject(ExpressionExperimentSetValueObject eesvo) |
void |
deleteDatabaseEntity(ExpressionExperimentSetValueObject eesvo)
Security is handled within method, when the set is loaded
|
Collection<ExpressionExperimentSet> |
find(BioAssaySet bioAssaySet) |
Collection<ExpressionExperimentSet> |
findByName(String name)
security at DAO level
|
Collection<Long> |
findIds(BioAssaySet bioAssaySet)
security at DAO level
|
Collection<ExpressionExperiment> |
getExperimentsInSet(Long id)
Get the (security-filtered) list of experiments in a set.
|
Collection<ExpressionExperimentDetailsValueObject> |
getExperimentValueObjectsInSet(Long id)
Get the member experiment value objects for the set id; security filtered.
|
ExpressionExperimentSet |
initAutomaticallyGeneratedExperimentSet(Collection<ExpressionExperiment> expressionExperiments,
Taxon taxon) |
boolean |
isAutomaticallyGenerated(String experimentSetDescription) |
Collection<ExpressionExperimentSet> |
load(Collection<Long> ids)
Loads objects with given ids.
|
ExpressionExperimentSet |
load(Long id)
Loads object with given ID.
|
Collection<ExpressionExperimentSet> |
loadAll()
Loads all the entities of specific type.
|
Collection<ExpressionExperimentSet> |
loadAllExperimentSetsWithTaxon()
Security at DAO level.
|
Collection<ExpressionExperimentSetValueObject> |
loadAllExperimentSetValueObjects(boolean loadEEIds)
Security filtering is handled by the call to load the set entities
ubic.gemma.model.analysis.expression.ExpressionExperimentSetService.loadAllExperimentSetsWithTaxon()
|
Collection<ExpressionExperimentSetValueObject> |
loadMySetValueObjects(boolean loadEEIds)
load the user's sets
|
ExpressionExperimentSetValueObject |
loadValueObjectById(Long id) |
ExpressionExperimentSetValueObject |
loadValueObjectById(Long id,
boolean loadEEIds)
Get a value object for the id param.
|
List<ExpressionExperimentSetValueObject> |
loadValueObjectsByIds(Collection<Long> eeSetIds)
Load value objects by a given collection of IDs.
|
void |
remove(ExpressionExperimentSet expressionExperimentSet)
Removes the given entity from the persistent storage.
|
void |
thaw(ExpressionExperimentSet set) |
void |
update(ExpressionExperimentSet expressionExperimentSet)
Updates the given entity in the persistent storage.
|
void |
updateDatabaseEntity(ExpressionExperimentSetValueObject eesvo)
Update corresponding entity based on value object
|
void |
updateDatabaseEntityMembers(Long groupId,
Collection<Long> eeIds)
Updates the database record for the param experiment set value object (permission permitting) with the members
specified of the set, not the name or description etc.
|
ExpressionExperimentSetValueObject |
updateDatabaseEntityNameDesc(ExpressionExperimentSetValueObject eeSetVO,
boolean loadEEIds)
Updates the database record for the param experiment set value object (permission permitting) with the value
object's name and description.
|
loadAllValueObjects, loadValueObject, loadValueObjects
countAll, create, find, findOrCreate, findOrFail, loadOrFail, remove, remove, removeAll, save, save, update
static final String AUTOMATICALLY_GENERATED_EXPERIMENT_GROUP_DESCRIPTION
@Secured(value="GROUP_USER") ExpressionExperimentSet create(ExpressionExperimentSet expressionExperimentSet)
BaseService
create
in interface BaseService<ExpressionExperimentSet>
expressionExperimentSet
- the entity to be created.@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<ExpressionExperimentSet> load(Collection<Long> ids)
BaseService
load
in interface BaseService<ExpressionExperimentSet>
ids
- the ids of objects to be loaded.@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"}) ExpressionExperimentSet load(Long id)
BaseService
load
in interface BaseService<ExpressionExperimentSet>
id
- the ID of entity to be loaded.@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<ExpressionExperimentSet> loadAll()
BaseService
loadAll
in interface BaseService<ExpressionExperimentSet>
@Secured(value={"GROUP_USER","ACL_SECURABLE_EDIT"}) void remove(ExpressionExperimentSet expressionExperimentSet)
BaseService
remove
in interface BaseService<ExpressionExperimentSet>
expressionExperimentSet
- the entity to be removed.@Secured(value={"GROUP_USER","ACL_SECURABLE_EDIT"}) void update(ExpressionExperimentSet expressionExperimentSet)
BaseService
update
in interface BaseService<ExpressionExperimentSet>
expressionExperimentSet
- the entity to be updated.@Secured(value="GROUP_USER") ExpressionExperimentSet createFromValueObject(ExpressionExperimentSetValueObject eesvo)
void deleteDatabaseEntity(ExpressionExperimentSetValueObject eesvo)
eesvo
- ee value object@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<ExpressionExperimentSet> find(BioAssaySet bioAssaySet)
Collection<ExpressionExperimentSet> findByName(String name)
name
- nameCollection<Long> findIds(BioAssaySet bioAssaySet)
bioAssaySet
- BA set@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<ExpressionExperiment> getExperimentsInSet(Long id)
id
- id@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_COLLECTION_READ"}) Collection<ExpressionExperimentDetailsValueObject> getExperimentValueObjectsInSet(Long id)
id
- idExpressionExperimentSet initAutomaticallyGeneratedExperimentSet(Collection<ExpressionExperiment> expressionExperiments, Taxon taxon)
boolean isAutomaticallyGenerated(String experimentSetDescription)
Collection<ExpressionExperimentSet> loadAllExperimentSetsWithTaxon()
@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_COLLECTION_READ"}) Collection<ExpressionExperimentSetValueObject> loadAllExperimentSetValueObjects(boolean loadEEIds)
loadEEIds
- whether the returned value object should have the ExpressionExperimentIds collection populated.
This might be a useful information, but loading the IDs takes slightly longer, so for larger amount of
EESets this might want to be avoided.@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_COLLECTION_READ"}) Collection<ExpressionExperimentSetValueObject> loadMySetValueObjects(boolean loadEEIds)
loadEEIds
- whether the returned value object should have the ExpressionExperimentIds collection populated.
This might be a useful information, but loading the IDs takes slightly longer, so for larger amount of
EESets this might want to be avoided.@Nullable @Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_READ"}) ExpressionExperimentSetValueObject loadValueObjectById(Long id, boolean loadEEIds)
id
- IDloadEEIds
- whether the returned value object should have the ExpressionExperimentIds collection populated.
This might be a useful information, but loading the IDs takes slightly longer, so for larger amount of
EESets this might want to be avoided.void updateDatabaseEntity(ExpressionExperimentSetValueObject eesvo)
eesvo
- ee value objectvoid updateDatabaseEntityMembers(Long groupId, Collection<Long> eeIds)
eeIds
- ee idsgroupId
- group idExpressionExperimentSetValueObject updateDatabaseEntityNameDesc(ExpressionExperimentSetValueObject eeSetVO, boolean loadEEIds)
loadEEIds
- whether the returned value object should have the ExpressionExperimentIds collection populated.
This might be a useful information, but loading the IDs takes slightly longer, so for larger amount of
EESets this might want to be avoided.eeSetVO
- ee set value object@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_READ"}) ExpressionExperimentSetValueObject loadValueObjectById(Long id)
loadValueObjectById
in interface BaseVoEnabledService<ExpressionExperimentSet,ExpressionExperimentSetValueObject>
BaseVoEnabledDao.loadValueObjectById(Long)
@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_COLLECTION_READ"}) List<ExpressionExperimentSetValueObject> loadValueObjectsByIds(Collection<Long> eeSetIds)
BaseVoEnabledService
loadValueObjectsByIds
in interface BaseVoEnabledService<ExpressionExperimentSet,ExpressionExperimentSetValueObject>
void thaw(ExpressionExperimentSet set)
Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.