OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MConference.Conference.WebConnectors.TConferenceDataReaderWebConnector Class Reference

Performs server-side lookups for the Client in the MConference DataReader sub-namespace. More...

Static Public Member Functions

static Boolean GetCurrency (Int64 APartnerKey, out string ACurrencyCode, out string ACurrencyName)
 Return selected conference's currency code and currency name More...
 
static DateTime GetStartDate (Int64 APartnerKey)
 Return selected conference's start date More...
 
static DateTime GetEndDate (Int64 APartnerKey)
 Return selected conference's end date More...
 
static bool CheckDiscountCriteriaCodeExists (string[] ADiscountCriteriaCode)
 Check Discount Criteria row exists More...
 
static bool CheckCostTypeExists (string ACostTypeCode)
 Check Cost Type row exists More...
 
static Boolean ConferenceExists (long APartnerKey)
 Check that a conference exists for a partner key More...
 
static DataTable GetOutreachTypes (long APartnerKey)
 Get the outreach types for the selected conference More...
 
static int GetNonCacheableRecordReferenceCountManual (TTypedDataTable ADataTable, object[] APrimaryKeyValues, out TVerificationResultCollection AVerificationResult)
 Counts the records that reference a 'DataRow' of a non-cachable DataTable. The record count is recursive, i.e. counts all records of all related DB tables that reference the 'DataRow' AND the records that reference the record(s) of all related DB tables that reference the 'DataRow'! More...
 
static Boolean GetConferenceApplications (ref ConferenceApplicationTDS AMainDS, Int64 AConferenceKey)
 populate ConferenceApplicationTDS dataset More...
 
static void RefreshAttendees (Int64 AConferenceKey)
 Load/Refresh Attendees for all outreaches for a conference More...
 

Detailed Description

Performs server-side lookups for the Client in the MConference DataReader sub-namespace.

Member Function Documentation

◆ CheckCostTypeExists()

static bool Ict.Petra.Server.MConference.Conference.WebConnectors.TConferenceDataReaderWebConnector.CheckCostTypeExists ( string  ACostTypeCode)
inlinestatic

Check Cost Type row exists

Parameters
ACostTypeCodePrimary Key to check exists
Returns

◆ CheckDiscountCriteriaCodeExists()

static bool Ict.Petra.Server.MConference.Conference.WebConnectors.TConferenceDataReaderWebConnector.CheckDiscountCriteriaCodeExists ( string[]  ADiscountCriteriaCode)
inlinestatic

Check Discount Criteria row exists

Parameters
ADiscountCriteriaCodePrimary Key to check exists
Returns

◆ ConferenceExists()

static Boolean Ict.Petra.Server.MConference.Conference.WebConnectors.TConferenceDataReaderWebConnector.ConferenceExists ( long  APartnerKey)
inlinestatic

Check that a conference exists for a partner key

Parameters
APartnerKeymatch long for conference key
Returns

◆ GetConferenceApplications()

static Boolean Ict.Petra.Server.MConference.Conference.WebConnectors.TConferenceDataReaderWebConnector.GetConferenceApplications ( ref ConferenceApplicationTDS  AMainDS,
Int64  AConferenceKey 
)
inlinestatic

populate ConferenceApplicationTDS dataset

Parameters
AMainDSDataset to be populated
AConferenceKeymatch long for conference key
Returns

◆ GetCurrency()

static Boolean Ict.Petra.Server.MConference.Conference.WebConnectors.TConferenceDataReaderWebConnector.GetCurrency ( Int64  APartnerKey,
out string  ACurrencyCode,
out string  ACurrencyName 
)
inlinestatic

Return selected conference's currency code and currency name

Parameters
APartnerKeymatch long for conference key
ACurrencyCodeCurrencyCode for selected conference
ACurrencyNameCurrencyName for selected conference
Returns

◆ GetEndDate()

static DateTime Ict.Petra.Server.MConference.Conference.WebConnectors.TConferenceDataReaderWebConnector.GetEndDate ( Int64  APartnerKey)
inlinestatic

Return selected conference's end date

Parameters
APartnerKeymatch long for conference key
Returns

◆ GetNonCacheableRecordReferenceCountManual()

static int Ict.Petra.Server.MConference.Conference.WebConnectors.TConferenceDataReaderWebConnector.GetNonCacheableRecordReferenceCountManual ( TTypedDataTable  ADataTable,
object[]  APrimaryKeyValues,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

Counts the records that reference a 'DataRow' of a non-cachable DataTable. The record count is recursive, i.e. counts all records of all related DB tables that reference the 'DataRow' AND the records that reference the record(s) of all related DB tables that reference the 'DataRow'!

Parameters
ADataTableTells for which non-cachable DataTable the records that reference a 'DataRow' of that cachable DataTable should be counted. IMPORTANT NOTE: Only tables that have a client screen with a delete button are implemented.
APrimaryKeyValuesValues of the Primary Key of the DataRow in question represented as an Array of object. (This can easily be obtained using the Method 'Ict.Common.Data.DataUtilities.GetPKValuesFromDataRow()'). The reason why a DataRow isn't passed for this Argument is that the 'DataRow' Class is not Serializable.
AVerificationResultA 'TVerificationResultCollection' containing a single 'TVerificationResult' that contains information about DB Table references created by a cascading count Method if the count yielded more than 0 referencing DataRows.
Returns
The number records that reference a 'DataRow' of a non-cachable DataTable.

◆ GetOutreachTypes()

static DataTable Ict.Petra.Server.MConference.Conference.WebConnectors.TConferenceDataReaderWebConnector.GetOutreachTypes ( long  APartnerKey)
inlinestatic

Get the outreach types for the selected conference

Parameters
APartnerKeymatch long for conference key
Returns

◆ GetStartDate()

static DateTime Ict.Petra.Server.MConference.Conference.WebConnectors.TConferenceDataReaderWebConnector.GetStartDate ( Int64  APartnerKey)
inlinestatic

Return selected conference's start date

Parameters
APartnerKeymatch long for conference key
Returns

◆ RefreshAttendees()

static void Ict.Petra.Server.MConference.Conference.WebConnectors.TConferenceDataReaderWebConnector.RefreshAttendees ( Int64  AConferenceKey)
inlinestatic

Load/Refresh Attendees for all outreaches for a conference


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