Base for the Partner Find Screen UIConnector. We need this in MPartner.Common, so that we can use the functionality from the SimplePartnerFind WebConnector as well
More...
|
void | PerformSearch (DataTable ACriteriaData, bool ADetailedResults, bool AUseDifferentThread=true) |
| 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...
|
|
void | PerformSearchByBankDetails (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...
|
|
Int16 | GetPageNumberContainingPartnerKey (Int64 APartnerKey, System.Int16 AStartPage, System.Int16 APageSize) |
| Gets the page number containing given partner key. More...
|
|
Int32 | AddAllFoundPartnersToExtract (string AExtractName, string AExtractDescription, int AExtractID, out TVerificationResultCollection AVerificationResult) |
| Adds all Partners that were last found to an Extract. More...
|
|
DataTable | FilterResultByBestAddress () |
| Modify search result: filter each result partner for best address only More...
|
|
bool | CheckIfResultsContainPartnerKey (long APartnerKey) |
| Checks if a search result contains a given partner More...
|
|
Base for the Partner Find Screen UIConnector. We need this in MPartner.Common, so that we can use the functionality from the SimplePartnerFind WebConnector as well
◆ AddAllFoundPartnersToExtract()
Int32 Ict.Petra.Server.MPartner.PartnerFind.TPartnerFind.AddAllFoundPartnersToExtract |
( |
string |
AExtractName, |
|
|
string |
AExtractDescription, |
|
|
int |
AExtractID, |
|
|
out TVerificationResultCollection |
AVerificationResult |
|
) |
| |
|
inline |
Adds all Partners that were last found to an Extract.
- Parameters
-
AExtractName | Name of the Extract to add the Partners to. |
AExtractDescription | Description of the Extract to add the Partners to. |
AExtractID | ExtractID of the Extract to add the Partners to. |
AVerificationResult | Contains DB call exceptions, if there are any. |
- Returns
- The number of Partners that were added to the Extract, or -1 if DB call exeptions occured.
◆ CheckIfResultsContainPartnerKey()
bool Ict.Petra.Server.MPartner.PartnerFind.TPartnerFind.CheckIfResultsContainPartnerKey |
( |
long |
APartnerKey | ) |
|
|
inline |
Checks if a search result contains a given partner
- Parameters
-
- Returns
- True if partner is included, false if not.
◆ FilterResultByBestAddress()
DataTable Ict.Petra.Server.MPartner.PartnerFind.TPartnerFind.FilterResultByBestAddress |
( |
| ) |
|
|
inline |
Modify search result: filter each result partner for best address only
- Returns
- DataTable with filtered result
◆ GetDataPagedResult()
DataTable Ict.Petra.Server.MPartner.PartnerFind.TPartnerFind.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
-
APage | Page to return |
APageSize | Number of records to return per page |
ATotalRecords | The amount of rows found by the SELECT statement |
ATotalPages | The 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
◆ GetPageNumberContainingPartnerKey()
Int16 Ict.Petra.Server.MPartner.PartnerFind.TPartnerFind.GetPageNumberContainingPartnerKey |
( |
Int64 |
APartnerKey, |
|
|
System.Int16 |
AStartPage, |
|
|
System.Int16 |
APageSize |
|
) |
| |
|
inline |
Gets the page number containing given partner key.
- Parameters
-
APartnerKey | Partner key to search for |
AStartPage | Page to start searching |
APageSize | Size of a page. |
- Returns
◆ PerformSearch()
void Ict.Petra.Server.MPartner.PartnerFind.TPartnerFind.PerformSearch |
( |
DataTable |
ACriteriaData, |
|
|
bool |
ADetailedResults, |
|
|
bool |
AUseDifferentThread = true |
|
) |
| |
|
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
-
ACriteriaData | HashTable containing non-empty Partner Find parameters. |
ADetailedResults | Returns more (when true) or less (when false) columns. |
AUseDifferentThread | if true, a different thread is used. otherwise the call is made directly, without progress tracker. |
◆ PerformSearchByBankDetails()
void Ict.Petra.Server.MPartner.PartnerFind.TPartnerFind.PerformSearchByBankDetails |
( |
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
-
ACriteriaData | HashTable containing non-empty Partner Find parameters. |
◆ Progress
TProgressState Ict.Petra.Server.MPartner.PartnerFind.TPartnerFind.Progress |
|
get |
Returns current state of progress
The documentation for this class was generated from the following file: