OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector Class Reference

Description of Personnel. More...

Static Public Member Functions

static TSubmitChangesResult SavePersonnelTDS (ref PersonnelTDS AInspectDS, out TVerificationResultCollection AVerificationResult)
 this will store PersonnelTDS More...
 
static PersonnelTDS LoadPersonellStaffData (Int64 APartnerKey)
 loads the Staff Data Table ("commitments") for a single person More...
 
static bool HasCurrentCommitmentRecord (Int64 APartnerKey)
 retrieves information if person has a current commitment (staff data) record More...
 
static int GetOrCreateUmJobKey (Int64 AUnitKey, string APositionName, string APositionScope)
 Return UmJob.JobKey for existing job record or create a new one if not existing More...
 
static Boolean LoadShortTermApplications (ref ApplicationTDS AMainDS, string AOutreachCode)
 populate ApplicationTDS dataset with shortterm applications for a given event More...
 
static Boolean LoadLongTermApplications (ref ApplicationTDS AMainDS, long ATargetFieldKey, long APlacementPersonKey)
 populate ApplicationTDS dataset with longterm applications More...
 
static Boolean LoadApplicationsForConverting (ref ApplicationTDS AMainDS, bool AConvertTo, string AOutreachCode, bool AAllOutreaches, bool AAllEvents, string AYear)
 populate ApplicationTDS dataset with accepted applications that match the given criteria More...
 
static Boolean ConvertApplicationsToPreviousExperience (ApplicationTDS AMainDS)
 Convert all event applications in dataset to past experience records. More...
 
static Boolean RemoveApplicationsFromPreviousExperience (ApplicationTDS AMainDS)
 Remove all event applications in dataset from past experience records. More...
 
static void GetRangeOfYearsWithEvents (out int AMinYear, out int AMaxYear)
 Gets the range of years for which events exist with accepted applications. More...
 
static ArrayList GetUnitHeirarchy ()
 
static void SaveUnitHierarchy (ArrayList Nodes)
 

Detailed Description

Description of Personnel.

Member Function Documentation

◆ ConvertApplicationsToPreviousExperience()

static Boolean Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.ConvertApplicationsToPreviousExperience ( ApplicationTDS  AMainDS)
inlinestatic

Convert all event applications in dataset to past experience records.

Parameters
AMainDS
Returns

◆ GetOrCreateUmJobKey()

static int Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.GetOrCreateUmJobKey ( Int64  AUnitKey,
string  APositionName,
string  APositionScope 
)
inlinestatic

Return UmJob.JobKey for existing job record or create a new one if not existing

Parameters
AUnitKey
APositionName
APositionScope
Returns

◆ GetRangeOfYearsWithEvents()

static void Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.GetRangeOfYearsWithEvents ( out int  AMinYear,
out int  AMaxYear 
)
inlinestatic

Gets the range of years for which events exist with accepted applications.

Parameters
AMinYearFirst year. Will be 0 if there are no events
AMaxYearLast year. Will be -1 if there are no events

◆ GetUnitHeirarchy()

static ArrayList Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.GetUnitHeirarchy ( )
inlinestatic

Returns

◆ HasCurrentCommitmentRecord()

static bool Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.HasCurrentCommitmentRecord ( Int64  APartnerKey)
inlinestatic

retrieves information if person has a current commitment (staff data) record

Parameters
APartnerKey
Returns
true if person has current commitment (staff data) record(s)

◆ LoadApplicationsForConverting()

static Boolean Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.LoadApplicationsForConverting ( ref ApplicationTDS  AMainDS,
bool  AConvertTo,
string  AOutreachCode,
bool  AAllOutreaches,
bool  AAllEvents,
string  AYear 
)
inlinestatic

populate ApplicationTDS dataset with accepted applications that match the given criteria

Parameters
AMainDSDataset to be populated
AConvertToTrue if converting applications to past experiences. False if removing applications from past experiences.
AOutreachCodeMatch string for event's outreach code (optional).
AAllOutreachesTrue if finding all outreaches relating to an event.
AAllEventsTrue if finding all event.
AYearYear of events (optional).
Returns

◆ LoadLongTermApplications()

static Boolean Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.LoadLongTermApplications ( ref ApplicationTDS  AMainDS,
long  ATargetFieldKey,
long  APlacementPersonKey 
)
inlinestatic

populate ApplicationTDS dataset with longterm applications

Parameters
AMainDSDataset to be populated
ATargetFieldKeymatch key for application's Target Field
APlacementPersonKeymatch key for application's Placement Person
Returns

◆ LoadPersonellStaffData()

static PersonnelTDS Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.LoadPersonellStaffData ( Int64  APartnerKey)
inlinestatic

loads the Staff Data Table ("commitments") for a single person

Parameters
APartnerKey
Returns
PersonnelTDS

◆ LoadShortTermApplications()

static Boolean Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.LoadShortTermApplications ( ref ApplicationTDS  AMainDS,
string  AOutreachCode 
)
inlinestatic

populate ApplicationTDS dataset with shortterm applications for a given event

Parameters
AMainDSDataset to be populated
AOutreachCodematch string for event's outreach code
Returns

◆ RemoveApplicationsFromPreviousExperience()

static Boolean Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.RemoveApplicationsFromPreviousExperience ( ApplicationTDS  AMainDS)
inlinestatic

Remove all event applications in dataset from past experience records.

Parameters
AMainDS
Returns

◆ SavePersonnelTDS()

static TSubmitChangesResult Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.SavePersonnelTDS ( ref PersonnelTDS  AInspectDS,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

this will store PersonnelTDS

Parameters
AInspectDS
AVerificationResult
Returns

◆ SaveUnitHierarchy()

static void Ict.Petra.Server.MPersonnel.WebConnectors.TPersonnelWebConnector.SaveUnitHierarchy ( ArrayList  Nodes)
inlinestatic

Parameters
Nodes
Returns

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