OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.Finance.UIConnectors.TGiftDetailFindUIConnector Class Reference

Partner Find Screen UIConnector More...

Public Member Functions

 TGiftDetailFindUIConnector ()
 constructor More...
 
void PerformSearch (DataTable ACriteriaData)
 Procedure to execute a Find query. Although the full query results are retrieved from the DB and stored internally in an object, data will be returned in 'pages' of data, each page holding a defined number of records. More...
 
DataTable GetDataPagedResult (System.Int16 APage, System.Int16 APageSize, out System.Int32 ATotalRecords, out System.Int16 ATotalPages)
 Returns the specified find results page. More...
 

Properties

TProgressState Progress [get]
 Get the current state of progress More...
 

Detailed Description

Partner Find Screen UIConnector

UIConnector Objects are instantiated by the Client's User Interface via the Instantiator classes. They handle requests for data retrieval and saving of data (including data verification).

Their role is to

  • retrieve (and possibly aggregate) data using Business Objects,
  • put this data into ///one/// DataSet that is passed to the Client and make sure that no unnessary data is transferred to the Client,
  • optionally provide functionality to retrieve additional, different data if requested by the Client (for Client screens that load data initially as well as later, eg. when a certain tab on the screen is clicked),
  • save data using Business Objects.

@Comment These Objects would usually not be instantiated by other Server Objects, but only by the Client UI via the Instantiator classes. However, Server Objects that derive from these objects and that are also UIConnectors are feasible.

Constructor & Destructor Documentation

◆ TGiftDetailFindUIConnector()

Ict.Petra.Server.MFinance.Finance.UIConnectors.TGiftDetailFindUIConnector.TGiftDetailFindUIConnector ( )
inline

constructor

Member Function Documentation

◆ GetDataPagedResult()

DataTable Ict.Petra.Server.MFinance.Finance.UIConnectors.TGiftDetailFindUIConnector.GetDataPagedResult ( System.Int16  APage,
System.Int16  APageSize,
out System.Int32  ATotalRecords,
out System.Int16  ATotalPages 
)
inline

Returns the specified find results page.

@comment Pages can be requested in any order!

Parameters
APagePage to return
APageSizeNumber of records to return per page
ATotalRecordsThe amount of rows found by the SELECT statement
ATotalPagesThe number of pages that will be needed on client-side to hold all rows found by the SELECT statement
Returns
DataTable containing the find result records for the specified page

◆ PerformSearch()

void Ict.Petra.Server.MFinance.Finance.UIConnectors.TGiftDetailFindUIConnector.PerformSearch ( DataTable  ACriteriaData)
inline

Procedure to execute a Find query. Although the full query results are retrieved from the DB and stored internally in an object, data will be returned in 'pages' of data, each page holding a defined number of records.

Parameters
ACriteriaDataHashTable containing non-empty Partner Find parameters.

Property Documentation

◆ Progress

TProgressState Ict.Petra.Server.MFinance.Finance.UIConnectors.TGiftDetailFindUIConnector.Progress
get

Get the current state of progress


The documentation for this class was generated from the following file: