Uses of Class
com.onenetwork.platform.data.model.ModelWriteRequest
Package | Description |
---|---|
com.onenetwork.platform.data.model |
APIs for reading and writing Models developed with the SDK.
|
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 ModelWriteRequest in com.onenetwork.platform.data.model
Methods in com.onenetwork.platform.data.model with parameters of type ModelWriteRequest Modifier and Type Method Description <M extends Model>
voidModelDataService. validateWritePermission(ModelWriteRequest<M> modelWriteRequest, PlatformUserContext platformContext)
Validates write permission for the given models without actually writing models in the DB.<M extends Model>
ModelList<M>ModelDataService. write(ModelWriteRequest<M> modelWriteRequest, PlatformUserContext platformContext)
Create, update or delete models using Actions defined in the MPT or SPT. -
Uses of ModelWriteRequest in com.onenetwork.platform.integ.rest.model
Methods in com.onenetwork.platform.integ.rest.model with parameters of type ModelWriteRequest Modifier and Type Method Description void
BaseModelResourceListener. beforeModelWrite(ModelWriteRequest<? extends Model> writeRequest, PlatformUserProfile profile)
Called just before the ModelDataService.write is called, both for action execution as well as "delete" execution if child levels are being deleted.