Package nl.b3p.formendpoint.controller
Class UserLayerController
- java.lang.Object
-
- nl.b3p.formendpoint.controller.UserLayerController
-
- All Implemented Interfaces:
FormController<Feature>
@RestController public class UserLayerController extends Object implements FormController<Feature>
-
-
Field Summary
Fields Modifier and Type Field Description static StringUSERLAYER_SEPARATOR-
Fields inherited from interface nl.b3p.formendpoint.controller.FormController
attributefilter
-
-
Constructor Summary
Constructors Constructor Description UserLayerController()UserLayerController(String layerId, DataSource ds, Map<String,FormController> controllers, javax.persistence.EntityManager em)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(String objectGuid)Featureget(String objectGuid)List<Feature>getAll()org.springframework.data.domain.Page<Feature>getAllPaged(org.springframework.data.domain.Pageable pageable)ClassgetMaintainingClass()StringgetMaintainingClassString()List<Feature>onPoint(double x, double y, double scale)Featuresave(Feature feature, String parentId)Featureupdate(String objectGuid, Feature feature)
-
-
-
Field Detail
-
USERLAYER_SEPARATOR
public static final String USERLAYER_SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UserLayerController
public UserLayerController()
-
UserLayerController
public UserLayerController(String layerId, DataSource ds, Map<String,FormController> controllers, javax.persistence.EntityManager em) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getMaintainingClassString
public String getMaintainingClassString()
- Specified by:
getMaintainingClassStringin interfaceFormController<Feature>
-
getMaintainingClass
public Class getMaintainingClass()
- Specified by:
getMaintainingClassin interfaceFormController<Feature>
-
get
public Feature get(String objectGuid)
- Specified by:
getin interfaceFormController<Feature>
-
onPoint
public List<Feature> onPoint(double x, double y, double scale)
- Specified by:
onPointin interfaceFormController<Feature>
-
getAllPaged
public org.springframework.data.domain.Page<Feature> getAllPaged(org.springframework.data.domain.Pageable pageable)
- Specified by:
getAllPagedin interfaceFormController<Feature>
-
getAll
public List<Feature> getAll()
- Specified by:
getAllin interfaceFormController<Feature>
-
save
public Feature save(Feature feature, String parentId)
- Specified by:
savein interfaceFormController<Feature>
-
update
public Feature update(String objectGuid, Feature feature)
- Specified by:
updatein interfaceFormController<Feature>
-
delete
public void delete(String objectGuid)
- Specified by:
deletein interfaceFormController<Feature>
-
-