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