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

Description of ConferenceOptions. More...

Static Public Member Functions

static PUnitTable GetOutreachOptions (Int64 AUnitKey)
 Get the units which start with the same outreach code as the given unit. More...
 
static SelectConferenceTDS GetConferences (String AConferenceName, String APrefix)
 Get the conferences which are set up in the system. If no prefix and conference name is given, return all of them. Otherwise only the conferences that start with the given parameters are returned. More...
 
static bool GetEarliestAndLatestDate (Int64 AConferenceKey, out DateTime AEarliestArrivalDate, out DateTime ALatestDepartureDate, out DateTime AStartDate, out DateTime AEndDate)
 Get the earlies arrival and latest departure date of a conference. If the conference key is -1 get it from all conferences. More...
 
static bool GetFieldUnits (Int64 AConferenceKey, TUnitTypeEnum AFieldTypes, out DataTable AFieldsTable, out String AConferencePrefix)
 Get specific fields which are related to a conference. AFieldTypes defines which fields to retrieve. More...
 

Detailed Description

Description of ConferenceOptions.

Member Function Documentation

◆ GetConferences()

static SelectConferenceTDS Ict.Petra.Server.MConference.WebConnectors.TConferenceOptions.GetConferences ( String  AConferenceName,
String  APrefix 
)
inlinestatic

Get the conferences which are set up in the system. If no prefix and conference name is given, return all of them. Otherwise only the conferences that start with the given parameters are returned.

Parameters
AConferenceNameMatching patterns for Unit Name
APrefixMatching pattern for outreach code
Returns
A dataset with all the conferences in question

◆ GetEarliestAndLatestDate()

static bool Ict.Petra.Server.MConference.WebConnectors.TConferenceOptions.GetEarliestAndLatestDate ( Int64  AConferenceKey,
out DateTime  AEarliestArrivalDate,
out DateTime  ALatestDepartureDate,
out DateTime  AStartDate,
out DateTime  AEndDate 
)
inlinestatic

Get the earlies arrival and latest departure date of a conference. If the conference key is -1 get it from all conferences.

Parameters
AConferenceKeyUnit Key of the conference
AEarliestArrivalDateEarliest arrival date to the conference
ALatestDepartureDateLatest departure date from the conference
AStartDateStart Date of the Conference
AEndDateEnd Date of the Conference
Returns
true if successful

◆ GetFieldUnits()

static bool Ict.Petra.Server.MConference.WebConnectors.TConferenceOptions.GetFieldUnits ( Int64  AConferenceKey,
TUnitTypeEnum  AFieldTypes,
out DataTable  AFieldsTable,
out String  AConferencePrefix 
)
inlinestatic

Get specific fields which are related to a conference. AFieldTypes defines which fields to retrieve.

Parameters
AConferenceKeyUnit Key of the conference. If it is -1 all fields will be returned that relate to any confernce.
AFieldTypesDefines the type of the fields to retrieve
AFieldsTableA list of units that relate in to the conference. Column 0 is the Unit key Column 1 is the Unit name Column 2 is the Outreach Code Column 3 indicates if the unit is directly used by the current conference
AConferencePrefixThe prefix code of the conference
Returns
True if successful. Otherwise false

◆ GetOutreachOptions()

static PUnitTable Ict.Petra.Server.MConference.WebConnectors.TConferenceOptions.GetOutreachOptions ( Int64  AUnitKey)
inlinestatic

Get the units which start with the same outreach code as the given unit.

Parameters
AUnitKeyThe unit which defines the outreach code
Returns
A table with all the relevant units

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