@Path(value="/api/roles")
@Produces(value="application/json")
public interface RoleService
| 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) |
@GET org.springframework.data.domain.Page<Role> findRoleByKeyword(@QueryParam(value="q") @DefaultValue(value="") String keyword, org.springframework.data.domain.Pageable pageable)
@DELETE
@Path(value="/{id}")
void removeRole(@PathParam(value="id")
String id)
Copyright © 2015 Meruvian. All Rights Reserved.