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