public interface JsonData
JsonLoader
models have to implement this interface
it's recommended to implement JsonDataAdapter
insteadModifier and Type | Method and Description |
---|---|
List<Map<String,Object>> |
getData()
Two cases: id is known, return the object with this id,
else return all objects.
|
void |
init(HttpServletRequest req,
String params,
String id,
NavigationTreeNode config)
called once when initalizing the model
|
boolean |
supportsPaging()
Deprecated.
|
void init(HttpServletRequest req, String params, String id, NavigationTreeNode config) throws Exception
req
- the current servlet-requestparams
- the trailing part of the REST-URLid
- the id when using single-object-requestsconfig
- configuration node holding more informationException
List<Map<String,Object>> getData() throws Exception
Exception
@Deprecated boolean supportsPaging()
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.