@Lazy @Service public class MetaboliteService extends Object
| Constructor and Description |
|---|
MetaboliteService() |
| Modifier and Type | Method and Description |
|---|---|
Metabolite |
create(Metabolite metabolite) |
boolean |
deleteById(Integer id) |
Entity |
getEntity() |
Metabolite |
read(Integer id) |
Iterable<Metabolite> |
readAll() |
EntityPager<Metabolite> |
readAll(int start,
int num,
List<QueryRule> queryRules) |
void |
update(Metabolite metabolite) |
@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_WRITE_METABOLITE\')") public Metabolite create(Metabolite metabolite) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_METABOLITE\')") public Metabolite read(Integer id) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_WRITE_METABOLITE\')") public void update(Metabolite metabolite) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_WRITE_METABOLITE\')") public boolean deleteById(Integer id) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_METABOLITE\')") public Iterable<Metabolite> readAll() throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_METABOLITE\')") public EntityPager<Metabolite> readAll(int start, int num, List<QueryRule> queryRules) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_METABOLITE\')") public Entity getEntity() throws DatabaseException
DatabaseExceptionCopyright © 2013. All Rights Reserved.