Interface CompoundService
- 
- All Superinterfaces:
- BaseImmutableService<Compound>,- BaseReadOnlyService<Compound>
 - All Known Implementing Classes:
- CompoundServiceImpl
 
 public interface CompoundService extends BaseImmutableService<Compound> - Author:
- kelsey
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description CompoundfindOrCreate(Compound compound)Does a search for the entity in the persistent storage, and if not found, creates it.voidremove(Compound compound)Removes the given entity from the persistent storage.- 
Methods inherited from interface ubic.gemma.persistence.service.BaseImmutableServicecreate, create, remove, remove
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyServicecountAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail
 
- 
 
- 
- 
- 
Method Detail- 
findOrCreate@Secured("GROUP_USER") Compound findOrCreate(Compound compound)Description copied from interface:BaseImmutableServiceDoes a search for the entity in the persistent storage, and if not found, creates it.- Specified by:
- findOrCreatein interface- BaseImmutableService<Compound>
- Parameters:
- compound- the entity to look for, and create if not found.
- Returns:
- the entity retrieved from the persistent storage, either found or created.
 
 - 
remove@Secured("GROUP_USER") void remove(Compound compound)Description copied from interface:BaseImmutableServiceRemoves the given entity from the persistent storage.- Specified by:
- removein interface- BaseImmutableService<Compound>
- Parameters:
- compound- the entity to be removed.
 
 
- 
 
-