[Overview][Constants][Classes][Procedures and functions][Index] Reference for unit 'tiOPFManager' (#tiopf)

TtiOPFManager

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

A class that manages many parts of tiOPF

Declaration

Source position: tiOPFManager.pas line 33

type TtiOPFManager = class(TtiObject) end;

public

  constructor Create; override;

  destructor Destroy; override;

  procedure LoadPersistenceLayer();

  

Load a persistence layer

  procedure UnLoadPersistenceLayer();

  

Unloads a persistence layer

  procedure ConnectDatabase();

  function TestThenConnectDatabase();

  procedure ConnectDatabaseWithRetry();

  procedure DisconnectDatabase();

  procedure RegisterVisitor();

  procedure RegReadPKVisitor();

  procedure RegReadThisVisitor();

  procedure RegReadVisitor();

  procedure RegSaveVisitor();

  procedure ReadPK();

  procedure ReadThis();

  procedure Read();

  procedure Save();

  procedure ExecSQL();

  procedure ExecInsertSQL();

  procedure CreateDatabase();

  procedure DropDatabase();

  procedure DropTable();

  procedure CreateTable();

  procedure DeleteRow(); virtual;

  procedure InsertRow(); virtual;

  procedure UpdateRow(); virtual;

  function TableExists(); virtual;

  procedure ReadMetaDataTables();

  procedure ReadMetaDataFields();

  procedure Terminate;

  function TerminateThreads();

  property Terminated: Boolean; [rw]

  property ActiveThreadList: TtiActiveThreadList; [r]

  property ApplicationData: TList; [r]

  property ApplicationStartTime: TDateTime; [r]

  property DefaultPerLayer: TtiPersistenceLayer; [rw]

  property DefaultPersistenceLayerName: string; [rw]

  property DefaultDBConnectionPool: TtiDBConnectionPool; [r]

  property DefaultDBConnectionName: string; [rw]

  property PersistenceLayers: TtiPersistenceLayers; [r]

  property VisitorManager: TtiObjectVisitorManager; [r]

  property ClassDBMappingMgr: TtiClassDBMappingMgr; [r]

  property DefaultOIDGenerator: TtiOIDGenerator; [rw]

Inheritance

TtiOPFManager

  

A class that manages many parts of tiOPF

|

TtiObject

  

Base class for single objects

|

TtiVisited

  

The class that gets visited

|

TtiBaseObject,IInterface

|

TObject

Description

A class that manages many parts of tiOPF. It manages the persistence layers, thread pools, visitor manager etc. The functionality is delegated to other classes, but the TtiOPFManager brings them all together in an easy to use class and one location.

You never need to manually instantiate a TtiOPFManager instance. Simply access it via the global singleton GTIOPFManager

See also

GTIOPFManager

  

The global singleton for TtiOPFManager


Documentation generated on: 2017-08-16