@Controller
@RequestMapping(value="/frontendObjects/{type}")
public class FrontendObjectController
extends Object
| Constructor and Description |
|---|
FrontendObjectController(FrontendObjectManager frontendObjectManager) |
| Modifier and Type | Method and Description |
|---|---|
long |
count(String q) |
FrontendObject |
create(FrontendObject frontendObject) |
void |
documentUploaded(String appAmbiguousId) |
FrontendObject |
get(String ambiguousId) |
void |
move(String ambiguousId,
ActionRequest actionRequest) |
org.springframework.http.ResponseEntity<FrontendObject> |
save(ActionRequest actionRequest,
String objectAmbiguousId) |
org.springframework.http.ResponseEntity<FrontendObject> |
save(FrontendObject frontendObject,
String objectAmbiguousId) |
List<FrontendObject> |
search(String q,
String limit,
String offset) |
void |
signal(String id) |
public FrontendObjectController(FrontendObjectManager frontendObjectManager)
@ResponseBody @RequestMapping(method=POST) public FrontendObject create(@RequestBody FrontendObject frontendObject) throws Exception
Exception@ResponseBody
@RequestMapping(value="/{ambiguousId}",
method=GET)
public FrontendObject get(@PathVariable
String ambiguousId)
@ResponseBody
@RequestMapping(value="/{objectAmbiguousId}/save",
method=PUT)
public org.springframework.http.ResponseEntity<FrontendObject> save(@RequestBody
ActionRequest actionRequest,
@PathVariable
String objectAmbiguousId)
throws Exception
Exception@ResponseBody
@RequestMapping(value="/{objectAmbiguousId}",
method=PUT)
public org.springframework.http.ResponseEntity<FrontendObject> save(@RequestBody
FrontendObject frontendObject,
@PathVariable
String objectAmbiguousId)
throws Exception
Exception@ResponseBody
@RequestMapping(value="/{ambiguousId}/move",
method=PUT)
public void move(@PathVariable
String ambiguousId,
@RequestBody
ActionRequest actionRequest)
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)
@ResponseBody
@RequestMapping(value="/count",
method=GET)
public long count(@RequestParam
String q)
@RequestMapping(value="/signal",
method=PUT)
public void signal(@RequestParam
String id)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.