Skip to main content

%pkg.isc.rest.model.proxy

abstract class %pkg.isc.rest.model.proxy extends %pkg.isc.rest.model.dbMappedResource

Provides REST access to a particular (named) representation of a JSON-enabled persistent class.

Method Inventory

Methods

classmethod DeleteModelInstance(pID As %String) as %Boolean
Deletes an instance of this model, based on the identifier pID
final method JSONExport() as %Status
Serialize a JSON enabled class as a JSON document and write it to the current device.
final method JSONExportToStream(ByRef export As %Stream.Object) as %Status
Serialize a JSON enabled class as a JSON document and write it to a stream.
final method JSONExportToString(ByRef %export As %String) as %Status
Serialize a JSON enabled class as a JSON document and return it as a string.
final method JSONImport(input) as %Status
JSONImport imports JSON or dynamic object input into this object.
The input argument is either JSON as a string or stream, or a subclass of %DynamicAbstractObject.
method SaveModelInstance(pUserContext As %RegisteredObject)
Saves the model instance

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new tab