Class TOlfTDSDatabase
Unit
Declaration
type TOlfTDSDatabase = class(TComponent)
Description
Attributes
ComponentPlatformsAttribute
(pidAllPlatforms)
Hierarchy
- TObject
- TPersistent
- TComponent
- TOlfTDSDatabase
Overview
Fields
![]() |
FTableList: TOlfTDSTableList; |
Methods
![]() |
procedure TableAdd(const Table: TOlfTDSTable); |
![]() |
procedure TableRemove(const Table: TOlfTDSTable); |
![]() |
procedure ProgressAddDoneSteps(const Value: Cardinal); |
![]() |
procedure ProgressRemoveDoneSteps(const Value: Cardinal); |
![]() |
procedure ProgressAddMaxSteps(const Value: Cardinal); |
![]() |
procedure ProgressRemoveMaxSteps(const Value: Cardinal); |
![]() |
function SendRemoteRequest(const EndPoint: string; const Params: TJSONObject): TJSONObject; |
![]() |
procedure DoSynchro; |
![]() |
procedure Start; |
![]() |
procedure Stop(Force: boolean = false); |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
Properties
![]() |
property TableList: TOlfTDSTableList read FTableList; |
![]() |
property ServerURL: string read getServerURL; |
![]() |
property SyncState: TOlfTDSSyncState read FSyncState; |
![]() |
property LocalConnectionDefName: string read FLocalConnectionDefName
write SetLocalConnectionDefName; |
![]() |
property ServerProtocol: TOlfTDSServerProtocol read FServerProtocol
write SetServerProtocol; |
![]() |
property ServerIPOrDomain: string read FServerIPOrDomain
write SetServerIPOrDomain; |
![]() |
property ServerPort: Cardinal read FServerPort write SetServerPort; |
![]() |
property ServerFolder: string read FServerFolder write SetServerFolder; |
![]() |
property SyncMode: TOlfTDSSyncMode read FSyncMode write SetSyncMode; |
![]() |
property DefaultChangedFieldName: string read FDefaultChangedFieldName
write SetDefaultChangedFieldName; |
![]() |
property DefaultChangedDateTimeFieldName: string
read FDefaultChangedDateTimeFieldName
write SetDefaultChangedDateTimeFieldName; |
![]() |
property DefaultNoSeqFieldName: string read FDefaultNoSeqFieldName
write SetDefaultNoSeqFieldName; |
![]() |
property DeleteTableName: string read FDeleteTableName
write SetDeleteTableName; |
![]() |
property PrimaryKeyTableName: string read FPrimaryKeyTableName
write SetPrimaryKeyTableName; |
![]() |
property onSynchroStart: TNotifyEvent read FonSynchroStart
write SetonSynchroStart; |
![]() |
property onSynchroStop: TNotifyEvent read FonSynchroStop
write SetonSynchroStop; |
![]() |
property onProgress: TOlfTDSSyncProgressEvent read FonProgress
write SetonProgress; |
![]() |
property onSessionOpen: TOlfTDSTableSessionOpenEvent read FonSessionOpen
write SetonSessionOpen; |
![]() |
property onSessionClose: TOlfTDSTableSessionCloseEvent read FonSessionClose
write SetonSessionClose; |
Description
Fields
![]() |
FTableList: TOlfTDSTableList; |
Methods
![]() |
procedure TableAdd(const Table: TOlfTDSTable); |
![]() |
procedure TableRemove(const Table: TOlfTDSTable); |
![]() |
procedure ProgressAddDoneSteps(const Value: Cardinal); |
![]() |
procedure ProgressRemoveDoneSteps(const Value: Cardinal); |
![]() |
procedure ProgressAddMaxSteps(const Value: Cardinal); |
![]() |
procedure ProgressRemoveMaxSteps(const Value: Cardinal); |
![]() |
function SendRemoteRequest(const EndPoint: string; const Params: TJSONObject): TJSONObject; |
![]() |
procedure DoSynchro; |
![]() |
procedure Start; |
![]() |
procedure Stop(Force: boolean = false); |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
Properties
![]() |
property TableList: TOlfTDSTableList read FTableList; |
![]() |
property ServerURL: string read getServerURL; |
********** Propriétés liées au serveur de synchronisation ********** |
![]() |
property SyncState: TOlfTDSSyncState read FSyncState; |
********** Propriétés liées à la synchronisation ********** |
![]() |
property LocalConnectionDefName: string read FLocalConnectionDefName
write SetLocalConnectionDefName; |
********** Propriétés liées à la base locale ********** |
![]() |
property ServerProtocol: TOlfTDSServerProtocol read FServerProtocol
write SetServerProtocol; |
********** Propriétés liées au serveur de synchronisation ********** |
![]() |
property ServerIPOrDomain: string read FServerIPOrDomain
write SetServerIPOrDomain; |
![]() |
property ServerPort: Cardinal read FServerPort write SetServerPort; |
![]() |
property ServerFolder: string read FServerFolder write SetServerFolder; |
![]() |
property SyncMode: TOlfTDSSyncMode read FSyncMode write SetSyncMode; |
********** Propriétés liées à la synchronisation ********** |
![]() |
property DefaultChangedFieldName: string read FDefaultChangedFieldName
write SetDefaultChangedFieldName; |
********** Propriétés liées aux champs de synchronisation ********** |
![]() |
property DefaultChangedDateTimeFieldName: string
read FDefaultChangedDateTimeFieldName
write SetDefaultChangedDateTimeFieldName; |
![]() |
property DefaultNoSeqFieldName: string read FDefaultNoSeqFieldName
write SetDefaultNoSeqFieldName; |
![]() |
property onSynchroStart: TNotifyEvent read FonSynchroStart
write SetonSynchroStart; |
Déclenché au démarrage d'une synchronisation, avant de traiter la liste des tables |
![]() |
property onSynchroStop: TNotifyEvent read FonSynchroStop
write SetonSynchroStop; |
Déclenché en fin de synchronisation, après avoir traité toutes les tables |
![]() |
property onProgress: TOlfTDSSyncProgressEvent read FonProgress
write SetonProgress; |
Déclenché lors de l'ajout ou la suppression d'une étape en cours de synchronisation de la base de données (toutes tables confondues). Permet par exemple de gérer une barre de progression au niveau de l'interface utilisateur. |
![]() |
property onSessionOpen: TOlfTDSTableSessionOpenEvent read FonSessionOpen
write SetonSessionOpen; |
Appelé avant le "login" de synchronisation de chaque table. Permet de paramétrer des informations de connexion comme user/password par ajout de paires clé/valeur au paramètre reçu. Utilisé uniquement si la table en cours de synchronisation n'a pas son propore événement onSessionOpen. |
![]() |
property onSessionClose: TOlfTDSTableSessionCloseEvent read FonSessionClose
write SetonSessionClose; |
Appelé avant le "logout" en fin de synchronisation de chaque table. Utilisé uniquement si la table en cours de synchronisation n'a pas son propore événement onSessionClose. |
Generated by PasDoc 0.16.0.