public interface CompoundService extends BaseService<Compound>
Modifier and Type | Method and Description |
---|---|
Compound |
findOrCreate(Compound compound)
Does a search for the entity in the persistent storage, and if not found, creates it.
|
void |
remove(Compound compound)
Removes the given entity from the persistent storage.
|
void |
update(Compound compound)
Updates the given entity in the persistent storage.
|
@Secured(value="GROUP_USER") Compound findOrCreate(Compound compound)
BaseService
findOrCreate
in interface BaseService<Compound>
compound
- the entity to look for, and create if not found.@Secured(value="GROUP_USER") void remove(Compound compound)
BaseService
remove
in interface BaseService<Compound>
compound
- the entity to be removed.@Secured(value="GROUP_USER") void update(Compound compound)
BaseService
update
in interface BaseService<Compound>
compound
- the entity to be updated.Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.