C# 클래스 AIMS_BD_IATI.WebAPI.Controllers.IATIImportController

상속: ApiController
파일 보기 프로젝트 열기: BD-IATI/edi

공개 메소드들

메소드 설명
IATIImportController ( ) : AIMS_BD_IATI.DAL
ToMinifiedIatiActivitiesModel ( List iatiActivities, bool includeTransactions = false, bool includeChilds = false, bool includeMatched = false ) : List
ToMinifiedIatiActivityModel ( iatiactivity iatiActivity, bool includeTransactions = false, bool includeChilds = false, bool includeMatched = false ) : iatiactivityModel
ToMinifiedProjectFieldMapModel ( List projectFieldMapModels ) : List
ToMinifiedProjectMapModel ( ProjectMapModel projectMapModel ) : ProjectMapModelMinified

보호된 메소드들

메소드 설명
GuessAgency ( participatingorg org, bool isFilterByType ) : void
getEditDistance ( string a, string b ) : int

비공개 메소드들

메소드 설명
AssignActivities ( List activities ) : int?
CalculateHierarchyMatching ( ) : HeirarchyModel
CreateNewExecutingAgency ( participatingorg org ) : ExecutingAgencyLookupItem
FilterDP ( List _iOrgs ) : List
GetAllFundSources ( ) : List
GetAllImplementingOrg ( FilterBDModel filterDBModel ) : iOrgs
GetExecutingAgencyTypes ( ) : List
GetFundSources ( ) : List
GetGeneralPreferences ( ) : ProjectFieldMapModel
GetHierarchyData ( DPLookupItem dp ) : HeirarchyModel
GetMatchedProjectByIatiIdentifier ( string iatiIdentifier ) : ProjectFieldMapModel
GetMatchedProjects ( List relevantActivies, List AimsProjects ) : IEnumerable
GetProjectsToMap ( ProjectFieldMapModel GeneralPreference ) : ProjectMapModelMinified
ImportProjects ( ProjectMapModelMinified projectMapModel ) : int?
MergeToSingleActivity ( List iatiActivities ) : iatiactivity
SaveActivityPreferences ( ProjectFieldMapModel activityPreferences ) : int?
SaveGeneralPreferences ( ProjectFieldMapModel generalPreferences ) : int?
SetIgnoreActivity ( Log log ) : int?
SetStatics ( ) : void
SubmitActivities ( List relevantActivies ) : ProjectMapModelMinified
SubmitHierarchy ( HeirarchyModel heirarchyModel ) : FilterBDModel
SubmitManualMatching ( ProjectMapModel projectMapModel ) : bool
SubmitManualMatchingUsingDropdown ( ProjectMapModelMinified projectMapModel ) : bool
UnlinkProject ( ProjectFieldMapModelMinified matchedProject ) : bool
UpdateActivities ( List clientActivities, List sessionActivities ) : void
UpdateTransactionByForce ( Log log ) : int?

메소드 상세

GuessAgency() 보호된 메소드

protected GuessAgency ( participatingorg org, bool isFilterByType ) : void
org participatingorg
isFilterByType bool
리턴 void

IATIImportController() 공개 메소드

public IATIImportController ( ) : AIMS_BD_IATI.DAL
리턴 AIMS_BD_IATI.DAL

ToMinifiedIatiActivitiesModel() 공개 메소드

public ToMinifiedIatiActivitiesModel ( List iatiActivities, bool includeTransactions = false, bool includeChilds = false, bool includeMatched = false ) : List
iatiActivities List
includeTransactions bool
includeChilds bool
includeMatched bool
리턴 List

ToMinifiedIatiActivityModel() 공개 메소드

public ToMinifiedIatiActivityModel ( iatiactivity iatiActivity, bool includeTransactions = false, bool includeChilds = false, bool includeMatched = false ) : iatiactivityModel
iatiActivity iatiactivity
includeTransactions bool
includeChilds bool
includeMatched bool
리턴 AIMS_BD_IATI.Library.Parser.ParserIATIv2.iatiactivityModel

ToMinifiedProjectFieldMapModel() 공개 메소드

public ToMinifiedProjectFieldMapModel ( List projectFieldMapModels ) : List
projectFieldMapModels List
리턴 List

ToMinifiedProjectMapModel() 공개 메소드

public ToMinifiedProjectMapModel ( ProjectMapModel projectMapModel ) : ProjectMapModelMinified
projectMapModel AIMS_DB_IATI.WebAPI.Models.IATIImport.ProjectMapModel
리턴 AIMS_DB_IATI.WebAPI.Models.IATIImport.ProjectMapModelMinified

getEditDistance() 보호된 메소드

protected getEditDistance ( string a, string b ) : int
a string
b string
리턴 int