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