@Service public interface BioAssayService extends BaseVoEnabledService<BioAssay,BioAssayValueObject>, FilteringService<BioAssay>
Modifier and Type | Method and Description |
---|---|
void |
addBioMaterialAssociation(BioAssay bioAssay,
BioMaterial bioMaterial)
Associates a bioMaterial with a specified bioAssay.
|
BioAssay |
create(BioAssay bioAssay)
Creates the given entity in the persistent storage.
|
Collection<BioAssayDimension> |
findBioAssayDimensions(BioAssay bioAssay)
Locate all BioAssayDimensions in which the selected BioAssay occurs
|
Collection<BioAssay> |
findByAccession(String accession) |
BioAssay |
findOrCreate(BioAssay bioAssay)
Does a search for the entity in the persistent storage, and if not found, creates it.
|
Collection<BioAssay> |
load(Collection<Long> ids)
Loads objects with given ids.
|
BioAssay |
load(Long id)
Loads object with given ID.
|
Collection<BioAssay> |
loadAll()
Loads all the entities of specific type.
|
List<BioAssayValueObject> |
loadValueObjects(Collection<BioAssay> entities,
boolean basic) |
void |
remove(BioAssay bioAssay)
Removes the given entity from the persistent storage.
|
void |
removeBioMaterialAssociation(BioAssay bioAssay,
BioMaterial bioMaterial)
Removes the association between a specific bioMaterial and a bioAssay.
|
void |
thaw(BioAssay bioAssay) |
Collection<BioAssay> |
thaw(Collection<BioAssay> bioAssays) |
void |
update(BioAssay bioAssay)
Updates the given entity in the persistent storage.
|
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
getObjectFilter, getObjectFilter, getSort
countAll, create, find, findOrFail, loadOrFail, remove, remove, removeAll, save, save, update
@PreAuthorize(value="hasPermission(#bioAssay, \'write\') or hasPermission(#bioAssay, \'administration\')") void addBioMaterialAssociation(BioAssay bioAssay, BioMaterial bioMaterial)
bioAssay
- bio assaybioMaterial
- bio material@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_READ"}) Collection<BioAssayDimension> findBioAssayDimensions(BioAssay bioAssay)
bioAssay
- bio assay@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<BioAssay> findByAccession(String accession)
accession
- eg GSM12345.@Secured(value={"GROUP_USER","AFTER_ACL_READ"}) BioAssay findOrCreate(BioAssay bioAssay)
BaseService
findOrCreate
in interface BaseService<BioAssay>
bioAssay
- the entity to look for, and create if not found.@Secured(value="GROUP_USER") BioAssay create(BioAssay bioAssay)
BaseService
create
in interface BaseService<BioAssay>
bioAssay
- the entity to be created.@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<BioAssay> load(Collection<Long> ids)
BaseService
load
in interface BaseService<BioAssay>
ids
- the ids of objects to be loaded.@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"}) BioAssay load(Long id)
BaseService
load
in interface BaseService<BioAssay>
id
- the ID of entity to be loaded.@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<BioAssay> loadAll()
BaseService
loadAll
in interface BaseService<BioAssay>
@Secured(value={"GROUP_USER","ACL_SECURABLE_EDIT"}) void remove(BioAssay bioAssay)
BaseService
remove
in interface BaseService<BioAssay>
bioAssay
- the entity to be removed.@Secured(value={"GROUP_USER","ACL_SECURABLE_EDIT"}) void update(BioAssay bioAssay)
BaseService
update
in interface BaseService<BioAssay>
bioAssay
- the entity to be updated.@Secured(value={"GROUP_USER","ACL_SECURABLE_EDIT"}) void removeBioMaterialAssociation(BioAssay bioAssay, BioMaterial bioMaterial)
bioAssay
- bio assaybioMaterial
- bio material@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_READ"}) void thaw(BioAssay bioAssay)
@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<BioAssay> thaw(Collection<BioAssay> bioAssays)
List<BioAssayValueObject> loadValueObjects(Collection<BioAssay> entities, boolean basic)
Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.