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