@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, loadValueObjectsByIdsgetObjectFilter, getObjectFilter, getSortcountAll, 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)
BaseServicefindOrCreate in interface BaseService<BioAssay>bioAssay - the entity to look for, and create if not found.@Secured(value="GROUP_USER") BioAssay create(BioAssay bioAssay)
BaseServicecreate 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)
BaseServiceload in interface BaseService<BioAssay>ids - the ids of objects to be loaded.@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_READ"})
BioAssay load(Long id)
BaseServiceload in interface BaseService<BioAssay>id - the ID of entity to be loaded.@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"})
Collection<BioAssay> loadAll()
BaseServiceloadAll in interface BaseService<BioAssay>@Secured(value={"GROUP_USER","ACL_SECURABLE_EDIT"})
void remove(BioAssay bioAssay)
BaseServiceremove in interface BaseService<BioAssay>bioAssay - the entity to be removed.@Secured(value={"GROUP_USER","ACL_SECURABLE_EDIT"})
void update(BioAssay bioAssay)
BaseServiceupdate 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.