Unit 'extjsjson' Package
[Overview][Types][Classes][Index] [#fcl-web]

TExtJSJSONDataFormatter

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: extjsjson.pp line 47

type TExtJSJSONDataFormatter = class(TExtJSDataFormatter)

protected

  function AllowRow(); virtual;

  procedure StartBatch(); override;

  procedure NextBatchItem(); override;

  procedure EndBatch(); override;

  function CreateAdaptor(); override;

  function AddFieldToJSON();

  function GetDataContentType; override;

  function GetJSONMetaData;

  function RowToJSON;

  procedure DoBeforeRow(); virtual;

  procedure DoAfterRow(); virtual;

  procedure DoBeforeData(); virtual;

  procedure DoAfterData(); virtual;

  procedure DoOnMetaData(); virtual;

  procedure DatasetToStream(); override;

  procedure DoExceptionToStream(); override;

  procedure DoInsertRecord(); override;

  procedure DoUpdateRecord(); override;

  procedure DoDeleteRecord(); override;

public

  destructor destroy; override;

published

  property AfterRowToJSON: TJSONObjectEvent; [rw]

  property BeforeRowToJSON: TJSONObjectEvent; [rw]

  property OnMetaDataToJSON: TJSONObjectEvent; [rw]

  property AfterDataToJSON: TJSONObjectEvent; [rw]

  property BeforeDataToJSON: TJSONObjectEvent; [rw]

  property OnErrorResponse: TJSONExceptionObjectEvent; [rw]

  property OnAllowRow: TJSONObjectAllowRowEvent; [rw]

  property AfterUpdate: TJSONObjectEvent; [rw]

  property AfterInsert: TJSONObjectEvent; [rw]

  property AfterDelete: TJSONObjectEvent; [rw]

  property BeforeUpdate: TNotifyEvent;

  property BeforeInsert: TNotifyEvent;

  property BeforeDelete: TNotifyEvent;

end;

Inheritance

TExtJSJSONDataFormatter

|

TExtJSDataFormatter

|

TCustomHTTPDataContentProducer

|

THTTPContentProducer

|

TObject


Documentation generated on: 2023-03-18