@Controller @RequestMapping(value="/frontendObjects/{type}") public class FrontendObjectRestService extends AbstractFrontendObjectRestService
anyWorkObjectService, frontendObjectService, notificationService, stateMachineManager, workObjectWriteService
Constructor and Description |
---|
FrontendObjectRestService() |
Modifier and Type | Method and Description |
---|---|
long |
count(String q) |
FrontendObject |
create(FrontendObject frontendObject) |
FrontendObject |
get(String objectId) |
void |
move(String objectId,
String parentId,
ActionComment actionComment) |
org.springframework.http.ResponseEntity<FrontendObject> |
save(FrontendObject frontendObject,
String objectId) |
List<FrontendObject> |
search(String q,
String limit,
String offset) |
void |
signal(String id) |
addLastActionCommentToFrontendObject, changeWorkObjectState, genericSaveObject, getActionComment, getActionComment, localizeNewFrontendObject
@ResponseBody @RequestMapping(method=POST) public FrontendObject create(@RequestBody FrontendObject frontendObject) throws Exception
Exception
@ResponseBody @RequestMapping(value="/{objectId}", method=GET) public FrontendObject get(@PathVariable(value="objectId") String objectId)
@ResponseBody @RequestMapping(value="/{objectId}", method=PUT) public org.springframework.http.ResponseEntity<FrontendObject> save(@RequestBody FrontendObject frontendObject, @PathVariable String objectId) throws Exception
Exception
@ResponseBody @RequestMapping(value="/{objectId}/move", method=PUT) public void move(@PathVariable(value="objectId") String objectId, @RequestParam String parentId, @RequestBody ActionComment actionComment) throws Exception
Exception
@ResponseBody @RequestMapping(value="/search", method=GET) public List<FrontendObject> search(@RequestParam String q, @RequestParam(required=false,defaultValue="DEFAULT_RESULT_LIMIT") String limit, @RequestParam(required=false,defaultValue="0") String offset)
@RequestMapping(value="/signal", method=PUT) public void signal(@RequestParam String id)
@ResponseBody @RequestMapping(value="/count", method=GET) public long count(@RequestParam String q)
Copyright © 2010 - 2015 edorasware ag. All Rights Reserved.