public interface ReadWriteJsonData<T> extends JsonData
JsonLoader
Modifier and Type | Method and Description |
---|---|
void |
delete(Map<String,Object> data)
called for DELETE requests
should delete the object provided in the
JsonData.init(javax.servlet.http.HttpServletRequest, String, String, com.groiss.gui.NavigationTreeNode) |
String |
insert(Map<String,Object> data)
called for POST requests
should create a new object and return the new object's objectId
after the successful operation,
JsonData.getData() has to return a single row with the details for the new object |
void |
update(Map<String,Object> data)
called for PUT requests
update the object provided in the
JsonData.init(javax.servlet.http.HttpServletRequest, String, String, com.groiss.gui.NavigationTreeNode) with the given data
after the successful operation, JsonData.getData() has to return a single row with the details for the new object |
getData, init, supportsPaging
String insert(Map<String,Object> data)
JsonData.getData()
has to return a single row with the details for the new objectdata
- the parameters provided from the requestvoid update(Map<String,Object> data)
JsonData.init(javax.servlet.http.HttpServletRequest, String, String, com.groiss.gui.NavigationTreeNode)
with the given data
after the successful operation, JsonData.getData()
has to return a single row with the details for the new objectdata
- void delete(Map<String,Object> data)
JsonData.init(javax.servlet.http.HttpServletRequest, String, String, com.groiss.gui.NavigationTreeNode)
data
- @enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.