C# Class Company2SF.DataLoader

Show file Open project: fmendes/SalesForceCSharpAPI

Public Properties

Property Type Description
objAPI ApiService

Public Methods

Method Description
AddBoardCertification ( string strBoardTypeId, List objSubTypes, int iSkipped, List objCredentials, string strFirstName, string strLastName, string strMeNumber, string strBoardCert ) : int
BulkDeleteTest1 ( ) : void
BulkLoadJobAppFromAMA ( ) : void
BulkLoadJobAppFromCompany ( ) : void
BulkLoadMissingCompanyNotes ( ) : void
BulkLoadProviderFromCompany ( ) : void
BulkLoadProviderNotesFromCompany ( ) : void
CleanCandidates ( ) : void
CleanJobAppsByMENbr ( ) : void
CleanJobAppsByRecrID ( ) : void
CompareInstitutions ( Institution__c p1, Institution__c p2 ) : int
ConvertLeadSource ( List objLeadSources, List obj2ndLeadSources, string strSearchFor, string strSubstitutions, string strLeadSource ) : LeadSourcePair
CreateAMAJobAppCSV ( string strJobId ) : int
CreateCompanyJobAppCSV ( string strJobId ) : int
DataLoader ( string strPath, System tbStatusParam, System lblErrorParam, System OpenCSVListParam ) : System
DeleteExistingProviderNotes ( List objContacts, string strWhere = "" ) : void
FindFacilityByNameOrCode ( List objFacilities, string strName, string strSiteCode ) : Facility__c
GetResidentProgram ( List objInstitutions, List objContacts, List objResidPrograms, List objFacilities, string strInstitutionId, string strInstitName, string strContactId ) : string
HandleError ( string strErrorMessage, string strCommand ) : bool
InitializeAccountAndSettings ( ) : void
LoadCompanyProviderCSV ( string strJobId ) : int
LoadCredentialsReportedWithErrors ( ) : void
LoadMissingCredentials ( ) : void
MassDataLoad ( ) : void
RefreshAMAProviderCredentials ( bool bDisplayOnly = true ) : List
RefreshAMAProviders ( bool bDisplayOnly = true ) : List
RefreshAgencies ( List objProviders = null, bool bDisplayOnly = true ) : List
RefreshCandidates ( List objProviders = null, List objFacilities = null, bool bDisplayOnly = true ) : List
RefreshCredentials ( List objProviders = null, List objAgencies = null, List objSubTypes = null, bool bDisplayOnly = true ) : List
RefreshEducationExperience ( List objContacts = null, List objInstitutions = null, bool bDisplayOnly = true ) : List
RefreshFacilities ( bool bDisplayOnly = true ) : List
RefreshHierarchy ( bool bDisplayOnly = true ) : List
RefreshInstitutions ( List objProviders = null, bool bDisplayOnly = true ) : List
RefreshProviderNotes ( List objContacts = null, bool bImportAllRecords = false, bool bDisplayOnly = true ) : List
RefreshProviders ( bool bImportNotes = true, bool bImportAllRecords = false, bool bDisplayOnly = true ) : List
RefreshReferences ( List objProviders = null, bool bImportAllRecords = false, bool bDisplayOnly = true ) : List
RefreshResidencyPrograms ( List objInstitutions = null, bool bDisplayOnly = true ) : List
RefreshResidents ( List objResidPrograms = null, bool bDisplayOnly = true ) : List
RefreshSubtypes ( bool bDisplayOnly = true ) : List
RefreshUsers ( bool bDisplayOnly = true ) : List
RemoveAMADuplicates ( ) : void
RemoveDuplicateNotes ( ) : void
ReportDuplicateAgencies ( ) : List
ReportDuplicateInstitutions ( ) : List
ReportStatus ( ) : bool
UpdateUsersEmail ( bool bDisplayOnly = true ) : void
ValidateNotes ( DataTable objDT, List objContacts ) : List
ValidateProviderContact ( DataTable objDT, System objRegExZip, System objRegExEmail, System objRegExPhone, List objExistingUsers, List objSubRegions, List objSpecialties, string strSpecialtySearchFor, string strSpecialtySubstitutions, List objLeadSources, List obj2ndLeadSources, string strSearchFor, string strSubstitutions, List objContacts, DataRow objDR ) : Contact

Private Methods

Method Description
ProcessCandidateRecord ( List objProviders, List objFacilities, DataTable objDT, List objCandidates, List objProvidersToUpdate, double &dblRecruitingID, string &strSiteCode, int &iSkipped, DataRow objDR, bool &bSkipThisRecord ) : Candidate__c
VerifyInterviews ( DataTable objInterviewsDT, List objInterviews, string strCandidateName, string strSiteCode, double dblRecruitingID ) : void
VerifyProviderContracts ( DataTable objContractsDT, List objContracts, string strCandidateName, string strSiteCode, double dblRecruitingID ) : void

Method Details

AddBoardCertification() public method

public AddBoardCertification ( string strBoardTypeId, List objSubTypes, int iSkipped, List objCredentials, string strFirstName, string strLastName, string strMeNumber, string strBoardCert ) : int
strBoardTypeId string
objSubTypes List
iSkipped int
objCredentials List
strFirstName string
strLastName string
strMeNumber string
strBoardCert string
return int

BulkDeleteTest1() public method

public BulkDeleteTest1 ( ) : void
return void

BulkLoadJobAppFromAMA() public method

public BulkLoadJobAppFromAMA ( ) : void
return void

BulkLoadJobAppFromCompany() public method

public BulkLoadJobAppFromCompany ( ) : void
return void

BulkLoadMissingCompanyNotes() public method

public BulkLoadMissingCompanyNotes ( ) : void
return void

BulkLoadProviderFromCompany() public method

public BulkLoadProviderFromCompany ( ) : void
return void

BulkLoadProviderNotesFromCompany() public method

public BulkLoadProviderNotesFromCompany ( ) : void
return void

CleanCandidates() public method

public CleanCandidates ( ) : void
return void

CleanJobAppsByMENbr() public method

public CleanJobAppsByMENbr ( ) : void
return void

CleanJobAppsByRecrID() public method

public CleanJobAppsByRecrID ( ) : void
return void

CompareInstitutions() public static method

public static CompareInstitutions ( Institution__c p1, Institution__c p2 ) : int
p1 Institution__c
p2 Institution__c
return int

ConvertLeadSource() public static method

public static ConvertLeadSource ( List objLeadSources, List obj2ndLeadSources, string strSearchFor, string strSubstitutions, string strLeadSource ) : LeadSourcePair
objLeadSources List
obj2ndLeadSources List
strSearchFor string
strSubstitutions string
strLeadSource string
return LeadSourcePair

CreateAMAJobAppCSV() public method

public CreateAMAJobAppCSV ( string strJobId ) : int
strJobId string
return int

CreateCompanyJobAppCSV() public method

public CreateCompanyJobAppCSV ( string strJobId ) : int
strJobId string
return int

DataLoader() public method

public DataLoader ( string strPath, System tbStatusParam, System lblErrorParam, System OpenCSVListParam ) : System
strPath string
tbStatusParam System
lblErrorParam System
OpenCSVListParam System
return System

DeleteExistingProviderNotes() public method

public DeleteExistingProviderNotes ( List objContacts, string strWhere = "" ) : void
objContacts List
strWhere string
return void

FindFacilityByNameOrCode() public method

public FindFacilityByNameOrCode ( List objFacilities, string strName, string strSiteCode ) : Facility__c
objFacilities List
strName string
strSiteCode string
return Facility__c

GetResidentProgram() public method

public GetResidentProgram ( List objInstitutions, List objContacts, List objResidPrograms, List objFacilities, string strInstitutionId, string strInstitName, string strContactId ) : string
objInstitutions List
objContacts List
objResidPrograms List
objFacilities List
strInstitutionId string
strInstitName string
strContactId string
return string

HandleError() public method

public HandleError ( string strErrorMessage, string strCommand ) : bool
strErrorMessage string
strCommand string
return bool

InitializeAccountAndSettings() public method

public InitializeAccountAndSettings ( ) : void
return void

LoadCompanyProviderCSV() public method

public LoadCompanyProviderCSV ( string strJobId ) : int
strJobId string
return int

LoadCredentialsReportedWithErrors() public method

public LoadCredentialsReportedWithErrors ( ) : void
return void

LoadMissingCredentials() public method

public LoadMissingCredentials ( ) : void
return void

MassDataLoad() public method

public MassDataLoad ( ) : void
return void

RefreshAMAProviderCredentials() public method

public RefreshAMAProviderCredentials ( bool bDisplayOnly = true ) : List
bDisplayOnly bool
return List

RefreshAMAProviders() public method

public RefreshAMAProviders ( bool bDisplayOnly = true ) : List
bDisplayOnly bool
return List

RefreshAgencies() public method

public RefreshAgencies ( List objProviders = null, bool bDisplayOnly = true ) : List
objProviders List
bDisplayOnly bool
return List

RefreshCandidates() public method

public RefreshCandidates ( List objProviders = null, List objFacilities = null, bool bDisplayOnly = true ) : List
objProviders List
objFacilities List
bDisplayOnly bool
return List

RefreshCredentials() public method

public RefreshCredentials ( List objProviders = null, List objAgencies = null, List objSubTypes = null, bool bDisplayOnly = true ) : List
objProviders List
objAgencies List
objSubTypes List
bDisplayOnly bool
return List

RefreshEducationExperience() public method

public RefreshEducationExperience ( List objContacts = null, List objInstitutions = null, bool bDisplayOnly = true ) : List
objContacts List
objInstitutions List
bDisplayOnly bool
return List

RefreshFacilities() public method

public RefreshFacilities ( bool bDisplayOnly = true ) : List
bDisplayOnly bool
return List

RefreshHierarchy() public method

public RefreshHierarchy ( bool bDisplayOnly = true ) : List
bDisplayOnly bool
return List

RefreshInstitutions() public method

public RefreshInstitutions ( List objProviders = null, bool bDisplayOnly = true ) : List
objProviders List
bDisplayOnly bool
return List

RefreshProviderNotes() public method

public RefreshProviderNotes ( List objContacts = null, bool bImportAllRecords = false, bool bDisplayOnly = true ) : List
objContacts List
bImportAllRecords bool
bDisplayOnly bool
return List

RefreshProviders() public method

public RefreshProviders ( bool bImportNotes = true, bool bImportAllRecords = false, bool bDisplayOnly = true ) : List
bImportNotes bool
bImportAllRecords bool
bDisplayOnly bool
return List

RefreshReferences() public method

public RefreshReferences ( List objProviders = null, bool bImportAllRecords = false, bool bDisplayOnly = true ) : List
objProviders List
bImportAllRecords bool
bDisplayOnly bool
return List

RefreshResidencyPrograms() public method

public RefreshResidencyPrograms ( List objInstitutions = null, bool bDisplayOnly = true ) : List
objInstitutions List
bDisplayOnly bool
return List

RefreshResidents() public method

public RefreshResidents ( List objResidPrograms = null, bool bDisplayOnly = true ) : List
objResidPrograms List
bDisplayOnly bool
return List

RefreshSubtypes() public method

public RefreshSubtypes ( bool bDisplayOnly = true ) : List
bDisplayOnly bool
return List

RefreshUsers() public method

public RefreshUsers ( bool bDisplayOnly = true ) : List
bDisplayOnly bool
return List

RemoveAMADuplicates() public method

public RemoveAMADuplicates ( ) : void
return void

RemoveDuplicateNotes() public method

public RemoveDuplicateNotes ( ) : void
return void

ReportDuplicateAgencies() public method

public ReportDuplicateAgencies ( ) : List
return List

ReportDuplicateInstitutions() public method

public ReportDuplicateInstitutions ( ) : List
return List

ReportStatus() public method

public ReportStatus ( ) : bool
return bool

UpdateUsersEmail() public method

public UpdateUsersEmail ( bool bDisplayOnly = true ) : void
bDisplayOnly bool
return void

ValidateNotes() public method

public ValidateNotes ( DataTable objDT, List objContacts ) : List
objDT System.Data.DataTable
objContacts List
return List

ValidateProviderContact() public method

public ValidateProviderContact ( DataTable objDT, System objRegExZip, System objRegExEmail, System objRegExPhone, List objExistingUsers, List objSubRegions, List objSpecialties, string strSpecialtySearchFor, string strSpecialtySubstitutions, List objLeadSources, List obj2ndLeadSources, string strSearchFor, string strSubstitutions, List objContacts, DataRow objDR ) : Contact
objDT System.Data.DataTable
objRegExZip System
objRegExEmail System
objRegExPhone System
objExistingUsers List
objSubRegions List
objSpecialties List
strSpecialtySearchFor string
strSpecialtySubstitutions string
objLeadSources List
obj2ndLeadSources List
strSearchFor string
strSubstitutions string
objContacts List
objDR System.Data.DataRow
return Contact

Property Details

objAPI public property

public ApiService objAPI
return ApiService