C# Class Engage.Dnn.Locator.Components.DataImportScheduler

Inheritance: DotNetNuke.Services.Scheduling.SchedulerClient
ファイルを表示 Open project: EngageSoftware/Engage-Locator

Private Properties

Property Type Description
GetGeoCodeResults GeocodeResult
GetValue string
ImportData void
ResolveCountry int
ResolveState int
UpdateImportedLocationRow void

Public Methods

Method Description
CollectData ( DotNetNuke.Services.FileSystem.FolderInfo folderInfo, int startIndex, int portalId ) : void
DataImportScheduler ( DotNetNuke scheduleHistoryItem ) : System
DoWork ( ) : void
FileMove ( bool success ) : bool
GetGeoCoordinates ( int tabModuleId, string address1, string city, int regionId, string zip, int countryId ) : GeocodeResult
ParseCSV ( DotNetNuke fileInfo, int startIndex ) : void
StageData ( ArrayList files, DotNetNuke.Services.FileSystem.FolderInfo folderInfo ) : void

Private Methods

Method Description
GetGeoCodeResults ( int tabModuleId, string address, string city, int regionId, string zip, int countryId ) : GeocodeResult
GetValue ( CsvReader reader, string colName ) : string
ImportData ( int portalId ) : void
ResolveCountry ( string country ) : int
ResolveState ( string state ) : int
UpdateImportedLocationRow ( int fileId ) : void

Method Details

CollectData() public method

public CollectData ( DotNetNuke.Services.FileSystem.FolderInfo folderInfo, int startIndex, int portalId ) : void
folderInfo DotNetNuke.Services.FileSystem.FolderInfo
startIndex int
portalId int
return void

DataImportScheduler() public method

public DataImportScheduler ( DotNetNuke scheduleHistoryItem ) : System
scheduleHistoryItem DotNetNuke
return System

DoWork() public method

public DoWork ( ) : void
return void

FileMove() public method

public FileMove ( bool success ) : bool
success bool
return bool

GetGeoCoordinates() public static method

public static GetGeoCoordinates ( int tabModuleId, string address1, string city, int regionId, string zip, int countryId ) : GeocodeResult
tabModuleId int
address1 string
city string
regionId int
zip string
countryId int
return GeocodeResult

ParseCSV() public method

public ParseCSV ( DotNetNuke fileInfo, int startIndex ) : void
fileInfo DotNetNuke
startIndex int
return void

StageData() public method

public StageData ( ArrayList files, DotNetNuke.Services.FileSystem.FolderInfo folderInfo ) : void
files System.Collections.ArrayList
folderInfo DotNetNuke.Services.FileSystem.FolderInfo
return void