Package nl.b3p.formendpoint.controller
Class FormTreeController
- java.lang.Object
-
- nl.b3p.formendpoint.controller.FormTreeController
-
- All Implemented Interfaces:
FormController<Tree>
@RestController public class FormTreeController extends Object implements FormController<Tree>
-
-
Field Summary
-
Fields inherited from interface nl.b3p.formendpoint.controller.FormController
attributefilter
-
-
Constructor Summary
Constructors Constructor Description FormTreeController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(String objectGuid)Treeget(String objectGuid)List<Tree>getAll()org.springframework.data.domain.Page<Tree>getAllPaged(org.springframework.data.domain.Pageable pageable)ClassgetMaintainingClass()List<Tree>onPoint(double x, double y, double scale)Treesave(Tree feature, String parentId)Treeupdate(String objectGuid, Tree feature)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nl.b3p.formendpoint.controller.FormController
getMaintainingClassString
-
-
-
-
Method Detail
-
getMaintainingClass
public Class getMaintainingClass()
- Specified by:
getMaintainingClassin interfaceFormController<Tree>
-
get
@GetMapping("/boom/{objectGuid}") public Tree get(@PathVariable String objectGuid)- Specified by:
getin interfaceFormController<Tree>
-
getAllPaged
public org.springframework.data.domain.Page<Tree> getAllPaged(org.springframework.data.domain.Pageable pageable)
- Specified by:
getAllPagedin interfaceFormController<Tree>
-
getAll
public List<Tree> getAll()
- Specified by:
getAllin interfaceFormController<Tree>
-
save
public Tree save(@RequestBody Tree feature, String parentId)
- Specified by:
savein interfaceFormController<Tree>
-
update
public Tree update(@PathVariable String objectGuid, @RequestBody Tree feature)
- Specified by:
updatein interfaceFormController<Tree>
-
delete
public void delete(String objectGuid)
- Specified by:
deletein interfaceFormController<Tree>
-
onPoint
@GetMapping("/boom/{x}/{y}/{scale}") public List<Tree> onPoint(@PathVariable double x, @PathVariable double y, @PathVariable double scale)- Specified by:
onPointin interfaceFormController<Tree>
-
-