Uses of Class
com.onenetwork.platform.integ.rest.model.ModelFormJSONObject
Package | Description |
---|---|
com.onenetwork.platform.integ.rest.model |
Helper classes related to the Model Create/Detail framework, providing support for manipulating model view/action invocation results
prior to returning to the client layer.
|
-
Uses of ModelFormJSONObject in com.onenetwork.platform.integ.rest.model
Methods in com.onenetwork.platform.integ.rest.model that return ModelFormJSONObject Modifier and Type Method Description ModelFormJSONObject
ModelFormJSONObject. setActions(org.json.JSONArray actions)
ModelFormJSONObject
ModelFormJSONObject. setFields(org.json.JSONArray fields)
ModelFormJSONObject
ModelFormJSONObject. setModel(org.json.JSONObject model)
ModelFormJSONObject
ModelFormJSONObject. setSysId(java.lang.Long sysId)
ModelFormJSONObject
ModelFormJSONObject. setTemplateData(org.json.JSONObject templateData)
ModelFormJSONObject
ModelFormJSONObject. setTitle(java.lang.String title)
Methods in com.onenetwork.platform.integ.rest.model with parameters of type ModelFormJSONObject Modifier and Type Method Description void
BaseModelResourceListener. onActionExecuted(java.lang.String actionName, Model model, ModelFormJSONObject jsonToReturn)
Called after the action has been executed and jsonToReturn contains a sysId property if it was successful.void
BaseModelResourceListener. onActionScreenExecuted(java.lang.String actionName, java.lang.Long sysId, ModelFormJSONObject jsonToReturn)
Called after the detail action screen has been retrieved and the Model has been converted to JSON, so this method is called afterBaseModelResourceListener.onActionScreenExecuted(String, Long, Model)
, and jsonToReturn contains the fields array and model objectvoid
BaseModelResourceListener. onActionsRetrieved(java.util.List<java.lang.Long> sysIds, ModelFormJSONObject jsonToReturn)
Called after the actions have been fetched and jsonToReturn contains the array of action names.void
BaseModelResourceListener. onViewExecuted(java.lang.String viewName, java.lang.Long sysId, ModelFormJSONObject jsonToReturn)
Called after the detail view has been executed and jsonToReturn contains the fields array and model object