@Controller public class ModelerRestService extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ModelerRestService.Option |
Constructor and Description |
---|
ModelerRestService() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> |
getCaseModels(String wsId) |
FrontendObject |
getCurrentUser() |
org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> |
getDocumentModels(String wsId) |
org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> |
getGroups() |
org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> |
getMailModels(String wsId) |
org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> |
getModelerUsers() |
ModelerRestService.Option |
getOneGroup(String id) |
org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> |
getOneGroups(String typedText) |
ModelerRestService.Option |
getOneUser(String id) |
org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> |
getOneUsers(String typedText,
String groupIds)
get all users for given group (when group is missing ("", null) do not filter according to groupIds).
|
@RequestMapping(value="/modeler-groups", method=GET) public org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> getGroups()
@RequestMapping(value="/modeler-users", method=GET) public org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> getModelerUsers()
@RequestMapping(value="/modeler-case-models", method=GET) public org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> getCaseModels(@RequestParam String wsId)
@RequestMapping(value="/modeler-document-models", method=GET) public org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> getDocumentModels(@RequestParam String wsId)
@RequestMapping(value="/modeler-mail-models", method=GET) public org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> getMailModels(@RequestParam String wsId)
@RequestMapping(value="/one-groups", method=GET) public org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> getOneGroups(@RequestParam(required=false) String typedText)
@ResponseBody @RequestMapping(value="/one-groups/{id}", method=GET) public ModelerRestService.Option getOneGroup(@PathVariable String id)
@RequestMapping(value="/one-users", method=GET) public org.springframework.http.ResponseEntity<List<ModelerRestService.Option>> getOneUsers(@RequestParam(required=false) String typedText, @RequestParam(required=false) String groupIds)
typedText
- name like filtergroupIds
- return only users in this group list (comma separated list of groupIds)@ResponseBody @RequestMapping(value="/one-users/{id}", method=GET) public ModelerRestService.Option getOneUser(@PathVariable String id)
@ResponseBody @RequestMapping(value="/current-user", method=GET) public FrontendObject getCurrentUser() throws Exception
Exception
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.