Class tdscontroller

Unit

Declaration

type tdscontroller = class(tactivatorcontroller, idsfieldcontroller)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected foptions: datasetoptionsty;

Methods

Protected procedure setoptions(const avalue: datasetoptionsty); virtual;
Protected procedure setowneractive(const avalue: boolean); override;
Protected procedure fielddestroyed(const sender: ifieldcomponent);
Protected procedure dorefresh(const sender: tobject);
Protected function savepointbegin: integer; virtual;
Protected procedure savepointrollback(const aindex: integer = -1); virtual;
Protected procedure savepointrelease; virtual;
Protected function execoperation(const akind: opkindty; const aafterop: afterdbopeventty): boolean;
Protected procedure defineproperties(filer: tfiler) override;
Public constructor create(const aowner: tdataset; const aintf: idscontroller; const arecnooffset: integer = -1; const acancelresync: boolean = true);
Public destructor destroy; override;
Public function isutf8: boolean;
Public function getfieldar(const afieldkinds: tfieldkinds = allfieldkinds): fieldarty;
Public function filtereditkind: filtereditkindty;
Public procedure beginupdate;
Public procedure endupdate;
Public function locate(const afields: array of tfield; const akeys: array of const; const aisnull: array of boolean; const akeyoptions: array of locatekeyoptionsty; const aoptions: locaterecordoptionsty = []): locateresultty;
Public procedure appendrecord(const values: array of const);
Public procedure appendrecord1(const values: array of const; const aisnull: array of boolean);
Public procedure appendrecord(const values: array of const; const afields: array of tfield);
Public procedure appendrecord1(const values: array of const; const aisnull: array of boolean; const afields: array of tfield);
Public procedure appendrecord(const values: variantarty);
Public procedure appenddata(const adata: variantararty; const afields: array of tfield);
Public procedure getfieldclass(const fieldtype: tfieldtype; out result: tfieldclass);
Public procedure beginfilteredit(const akind: filtereditkindty);
Public procedure clearfilter();
Public procedure endfilteredit;
Public procedure begindisplaydata;
Public procedure enddisplaydata;
Public function getcanmodify: boolean;
Public function updatesortfield(const alink: tfielddatalink; const adescend: boolean): boolean;
Public procedure modified;
Public procedure dataevent(const event: tdataevent; info: ptrint);
Public function findrecno(const arecno: integer; const options: recnosearchoptionsty = []): integer;
Public function findrecnozerobased(const arecno: integer; const options: recnosearchoptionsty = []): integer;
Public function moveby(const distance: integer): integer;
Public function islastrecord: boolean;
Public procedure internalinsert;
Public procedure internaldelete;
Public procedure internalopen;
Public procedure internalclose;
Public procedure closequery(var amodalresult: modalresultty); overload;
Public function closequery: boolean; overload;
Public function post(const aafterpost: afterdbopeventty = nil): boolean;
Public function delete(const aafterdelete: afterdbopeventty = nil): boolean;
Public function posting: boolean;
Public function posting1: boolean;
Public procedure postcancel;
Public procedure cancel;
Public function canceling: boolean;
Public function refreshing(): boolean;
Public function deleting(): boolean;
Public function emptyinsert: boolean;
Public procedure refresh(const restorerecno: boolean = false; const delayus: integer = -1);
Public procedure checkrefresh;
Public procedure copyrecord(const aappend: boolean = false);
Public function copying(): boolean;
Public function assql(const avalue: boolean): msestring; overload;
Public function assql(const avalue: msestring): msestring; overload;
Public function assql(const avalue: integer): msestring; overload;
Public function assql(const avalue: int64): msestring; overload;
Public function assql(const avalue: currency): msestring; overload;
Public function assqlcurrency(const avalue: realty): msestring; overload;
Public function assql(const avalue: realty): msestring; overload;
Public function assql(const avalue: tdatetime): msestring; overload;
Public function assqldate(const avalue: tdatetime): msestring;
Public function assqltime(const avalue: tdatetime): msestring;

Properties

Public property recno: integer read getrecno write setrecno;
Public property recnozerobased: integer read getrecnozerobased write setrecnozerobased;
Public property recnooffset: integer read frecnooffset;
Public property noedit: boolean read getnoedit write setnoedit;
Public property noinsert: boolean read getnoinsert write setnoinsert;
Public property noappend: boolean read getnoappend write setnoappend;
Public property noupdate: boolean read getnoupdate write setnoupdate;
Public property nodelete: boolean read getnodelete write setnodelete;
Public property asmsestring[const afieldname: string]: msestring read getasmsestring write setasmsestring;
Published property fields: tpersistentfields read ffields write setfields;
Published property options: datasetoptionsty read foptions write setoptions default defaultdscontrolleroptions;
Published property onstatechanged: datasetstatechangedeventty read fonstatechanged write fonstatechanged;
Published property onupdatemasteredit: masterdataseteventty read fonupdatemasteredit write fonupdatemasteredit;
Published property onupdatemasterinsert: masterdataseteventty read fonupdatemasterinsert write fonupdatemasterinsert;
Published property onbeforepost: tdatasetnotifyevent read fonbeforepost write fonbeforepost;
Published property onafterpost: afterdbopeventty read fonafterpost write fonafterpost;
Published property onbeforedelete: tdatasetnotifyevent read fonbeforedelete write fonbeforedelete;
Published property onafterdelete: afterdbopeventty read fonafterdelete write fonafterdelete;
Published property onbeforecopyrecord: tdatasetnotifyevent read fonbeforecopyrecord write fonbeforecopyrecord;
Published property onaftercopyrecord: tdatasetnotifyevent read fonaftercopyrecord write fonaftercopyrecord;

Description

Fields

Protected foptions: datasetoptionsty;

This item has no description.

Methods

Protected procedure setoptions(const avalue: datasetoptionsty); virtual;

This item has no description.

Protected procedure setowneractive(const avalue: boolean); override;

This item has no description.

Protected procedure fielddestroyed(const sender: ifieldcomponent);

This item has no description.

Protected procedure dorefresh(const sender: tobject);

This item has no description.

Protected function savepointbegin: integer; virtual;

This item has no description.

Protected procedure savepointrollback(const aindex: integer = -1); virtual;

This item has no description.

Protected procedure savepointrelease; virtual;

This item has no description.

Protected function execoperation(const akind: opkindty; const aafterop: afterdbopeventty): boolean;

This item has no description.

Protected procedure defineproperties(filer: tfiler) override;

This item has no description.

Public constructor create(const aowner: tdataset; const aintf: idscontroller; const arecnooffset: integer = -1; const acancelresync: boolean = true);

This item has no description.

Public destructor destroy; override;

This item has no description.

Public function isutf8: boolean;

This item has no description.

Public function getfieldar(const afieldkinds: tfieldkinds = allfieldkinds): fieldarty;

This item has no description.

Public function filtereditkind: filtereditkindty;

This item has no description.

Public procedure beginupdate;

This item has no description.

Public procedure endupdate;

This item has no description.

Public function locate(const afields: array of tfield; const akeys: array of const; const aisnull: array of boolean; const akeyoptions: array of locatekeyoptionsty; const aoptions: locaterecordoptionsty = []): locateresultty;

This item has no description.

Public procedure appendrecord(const values: array of const);

This item has no description.

Public procedure appendrecord1(const values: array of const; const aisnull: array of boolean);

This item has no description.

Public procedure appendrecord(const values: array of const; const afields: array of tfield);

This item has no description.

Public procedure appendrecord1(const values: array of const; const aisnull: array of boolean; const afields: array of tfield);

This item has no description.

Public procedure appendrecord(const values: variantarty);

This item has no description.

Public procedure appenddata(const adata: variantararty; const afields: array of tfield);

This item has no description.

Public procedure getfieldclass(const fieldtype: tfieldtype; out result: tfieldclass);

This item has no description.

Public procedure beginfilteredit(const akind: filtereditkindty);

This item has no description.

Public procedure clearfilter();

This item has no description.

Public procedure endfilteredit;

This item has no description.

Public procedure begindisplaydata;

This item has no description.

Public procedure enddisplaydata;

This item has no description.

Public function getcanmodify: boolean;

This item has no description.

Public function updatesortfield(const alink: tfielddatalink; const adescend: boolean): boolean;

This item has no description.

Public procedure modified;

This item has no description.

Public procedure dataevent(const event: tdataevent; info: ptrint);

This item has no description.

Public function findrecno(const arecno: integer; const options: recnosearchoptionsty = []): integer;

This item has no description.

Public function findrecnozerobased(const arecno: integer; const options: recnosearchoptionsty = []): integer;

This item has no description.

Public function moveby(const distance: integer): integer;

This item has no description.

Public function islastrecord: boolean;

This item has no description.

Public procedure internalinsert;

This item has no description.

Public procedure internaldelete;

This item has no description.

Public procedure internalopen;

This item has no description.

Public procedure internalclose;

This item has no description.

Public procedure closequery(var amodalresult: modalresultty); overload;

This item has no description.

Public function closequery: boolean; overload;

This item has no description.

Public function post(const aafterpost: afterdbopeventty = nil): boolean;

This item has no description.

Public function delete(const aafterdelete: afterdbopeventty = nil): boolean;

This item has no description.

Public function posting: boolean;

This item has no description.

Public function posting1: boolean;

This item has no description.

Public procedure postcancel;

This item has no description.

Public procedure cancel;

This item has no description.

Public function canceling: boolean;

This item has no description.

Public function refreshing(): boolean;

This item has no description.

Public function deleting(): boolean;

This item has no description.

Public function emptyinsert: boolean;

This item has no description.

Public procedure refresh(const restorerecno: boolean = false; const delayus: integer = -1);

This item has no description.

Public procedure checkrefresh;

This item has no description.

Public procedure copyrecord(const aappend: boolean = false);

This item has no description.

Public function copying(): boolean;

This item has no description.

Public function assql(const avalue: boolean): msestring; overload;

This item has no description.

Public function assql(const avalue: msestring): msestring; overload;

This item has no description.

Public function assql(const avalue: integer): msestring; overload;

This item has no description.

Public function assql(const avalue: int64): msestring; overload;

This item has no description.

Public function assql(const avalue: currency): msestring; overload;

This item has no description.

Public function assqlcurrency(const avalue: realty): msestring; overload;

This item has no description.

Public function assql(const avalue: realty): msestring; overload;

This item has no description.

Public function assql(const avalue: tdatetime): msestring; overload;

This item has no description.

Public function assqldate(const avalue: tdatetime): msestring;

This item has no description.

Public function assqltime(const avalue: tdatetime): msestring;

This item has no description.

Properties

Public property recno: integer read getrecno write setrecno;

This item has no description.

Public property recnozerobased: integer read getrecnozerobased write setrecnozerobased;

This item has no description.

Public property recnooffset: integer read frecnooffset;

This item has no description.

Public property noedit: boolean read getnoedit write setnoedit;

This item has no description.

Public property noinsert: boolean read getnoinsert write setnoinsert;

This item has no description.

Public property noappend: boolean read getnoappend write setnoappend;

This item has no description.

Public property noupdate: boolean read getnoupdate write setnoupdate;

This item has no description.

Public property nodelete: boolean read getnodelete write setnodelete;

This item has no description.

Public property asmsestring[const afieldname: string]: msestring read getasmsestring write setasmsestring;

This item has no description.

Published property fields: tpersistentfields read ffields write setfields;

This item has no description.

Published property options: datasetoptionsty read foptions write setoptions default defaultdscontrolleroptions;

This item has no description.

Published property onstatechanged: datasetstatechangedeventty read fonstatechanged write fonstatechanged;

This item has no description.

Published property onupdatemasteredit: masterdataseteventty read fonupdatemasteredit write fonupdatemasteredit;

This item has no description.

Published property onupdatemasterinsert: masterdataseteventty read fonupdatemasterinsert write fonupdatemasterinsert;

This item has no description.

Published property onbeforepost: tdatasetnotifyevent read fonbeforepost write fonbeforepost;

This item has no description.

Published property onafterpost: afterdbopeventty read fonafterpost write fonafterpost;

This item has no description.

Published property onbeforedelete: tdatasetnotifyevent read fonbeforedelete write fonbeforedelete;

This item has no description.

Published property onafterdelete: afterdbopeventty read fonafterdelete write fonafterdelete;

This item has no description.

Published property onbeforecopyrecord: tdatasetnotifyevent read fonbeforecopyrecord write fonbeforecopyrecord;

This item has no description.

Published property onaftercopyrecord: tdatasetnotifyevent read fonaftercopyrecord write fonaftercopyrecord;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.