Interface ExperimentalFactorService
- All Superinterfaces:
BaseImmutableService<ExperimentalFactor>,BaseReadOnlyService<ExperimentalFactor>,BaseService<ExperimentalFactor>,BaseVoEnabledService<ExperimentalFactor,ExperimentalFactorValueObject>
- All Known Implementing Classes:
ExperimentalFactorServiceImpl
public interface ExperimentalFactorService
extends BaseService<ExperimentalFactor>, BaseVoEnabledService<ExperimentalFactor,ExperimentalFactorValueObject>
- Author:
- paul
-
Method Summary
Modifier and TypeMethodDescriptionfind(ExperimentalFactor experimentalFactor) Does a search for the entity in the persistent storagefindOrCreate(ExperimentalFactor experimentalFactor) Does a search for the entity in the persistent storage, and if not found, creates it.Loads object with given ID.load(Collection<Long> ids) Loads objects with given ids.loadAll()Loads all the entities of specific type.voidRemoves the entity with given ID from the persistent storage.voidremove(Collection<ExperimentalFactor> entities) Removes all the given entities from persistent storage.voidremove(ExperimentalFactor experimentalFactor) Delete the factor, its associated factor values and all differential expression analyses in which it is used.voidupdate(Collection<ExperimentalFactor> entities) Updates all entities in the given collection in the persistent storage.voidupdate(ExperimentalFactor experimentalFactor) Updates the given entity in the persistent storage.Methods inherited from interface ubic.gemma.persistence.service.BaseImmutableService
create, createMethods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, findOrFail, getElementClass, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAllMethods inherited from interface ubic.gemma.persistence.service.BaseService
save, saveMethods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledService
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
-
Method Details
-
remove
Delete the factor, its associated factor values and all differential expression analyses in which it is used.- Specified by:
removein interfaceBaseImmutableService<ExperimentalFactor>- Parameters:
experimentalFactor- the factor to be deleted
-
remove
@Secured({"GROUP_USER","ACL_SECURABLE_COLLECTION_EDIT"}) void remove(Collection<ExperimentalFactor> entities) Description copied from interface:BaseImmutableServiceRemoves all the given entities from persistent storage.- Specified by:
removein interfaceBaseImmutableService<ExperimentalFactor>- Parameters:
entities- the entities to be removed.
-
remove
Description copied from interface:BaseImmutableServiceRemoves the entity with given ID from the persistent storage.- Specified by:
removein interfaceBaseImmutableService<ExperimentalFactor>- Parameters:
id- the ID of entity to be removed.
-
find
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"}) ExperimentalFactor find(ExperimentalFactor experimentalFactor) Description copied from interface:BaseReadOnlyServiceDoes a search for the entity in the persistent storage- Specified by:
findin interfaceBaseReadOnlyService<ExperimentalFactor>- Parameters:
experimentalFactor- the entity to be searched for- Returns:
- the version of entity retrieved from the persistent storage, if found, otherwise null.
-
findOrCreate
@Secured({"GROUP_USER","AFTER_ACL_READ"}) ExperimentalFactor findOrCreate(ExperimentalFactor experimentalFactor) Description copied from interface:BaseImmutableServiceDoes a search for the entity in the persistent storage, and if not found, creates it.- Specified by:
findOrCreatein interfaceBaseImmutableService<ExperimentalFactor>- Parameters:
experimentalFactor- the entity to look for, and create if not found.- Returns:
- the entity retrieved from the persistent storage, either found or created.
-
load
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<ExperimentalFactor> load(Collection<Long> ids) Description copied from interface:BaseReadOnlyServiceLoads objects with given ids.- Specified by:
loadin interfaceBaseReadOnlyService<ExperimentalFactor>- Parameters:
ids- the ids of objects to be loaded.- Returns:
- collection containing object with given IDs.
-
load
Description copied from interface:BaseReadOnlyServiceLoads object with given ID.- Specified by:
loadin interfaceBaseReadOnlyService<ExperimentalFactor>- 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<ExperimentalFactor> loadAll()Description copied from interface:BaseReadOnlyServiceLoads all the entities of specific type.- Specified by:
loadAllin interfaceBaseReadOnlyService<ExperimentalFactor>- Returns:
- collection of all entities currently available in the persistent storage.
-
update
Description copied from interface:BaseServiceUpdates the given entity in the persistent storage.- Specified by:
updatein interfaceBaseService<ExperimentalFactor>- Parameters:
experimentalFactor- the entity to be updated.
-
update
@Secured({"GROUP_USER","ACL_SECURABLE_COLLECTION_EDIT"}) void update(Collection<ExperimentalFactor> entities) Description copied from interface:BaseServiceUpdates all entities in the given collection in the persistent storage.- Specified by:
updatein interfaceBaseService<ExperimentalFactor>- Parameters:
entities- the entities to be updated.
-
thaw
-