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