@Service @Transactional(readOnly=true) public class RestRoleService extends Object implements RoleService
| Constructor and Description |
|---|
RestRoleService() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Page<Role> |
findRoleByKeyword(String keyword,
org.springframework.data.domain.Pageable pageable) |
Role |
getRoleById(String id) |
void |
removeRole(String id) |
Role |
saveRole(Role role) |
Role |
updateRole(Role role) |
public Role getRoleById(String id)
getRoleById in interface RoleServicepublic org.springframework.data.domain.Page<Role> findRoleByKeyword(String keyword, org.springframework.data.domain.Pageable pageable)
findRoleByKeyword in interface RoleService@Transactional public void removeRole(String id)
removeRole in interface RoleService@Transactional public Role saveRole(Role role)
saveRole in interface RoleService@Transactional public Role updateRole(Role role)
updateRole in interface RoleServiceCopyright © 2015 Meruvian. All Rights Reserved.