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