C# Class UCSF.Business.DataImporter.GrantImporterBase

Afficher le fichier Open project: CTSIatUCSF/gadgets

Protected Properties

Свойство Type Description
log log4net.ILog

Méthodes publiques

Méthode Description
ImportData ( string uri, string orgName = null, string DUNSNumber = null ) : void

Méthodes protégées

Méthode Description
AddGrantError ( Grant grant, Exception exception ) : void
AddGrantToRecordset ( Grant grant ) : void
AddSuccessGrant ( Grant grant ) : void
CheckIfGrantExists ( Grant grant ) : bool
CompleteTransaction ( ) : void
GetPrincipalInvestigator ( int principalInvestigatorId ) : PrincipalInvestigator
GrantImporterBase ( ) : System
GrantImporterBase ( UCSDDataContext dataContext ) : System
StartTransaction ( ) : void
UpdateGrant ( Grant grant, System.Xml.Linq.XElement node ) : bool
UpdateGrantInvestigators ( Grant grant, System.Xml.Linq.XElement node ) : void
ValidateGrant ( Grant grant ) : void

Private Methods

Méthode Description
FlushStream ( StreamWriter stream ) : void
ValidateField ( string data, int length ) : void

Method Details

AddGrantError() protected méthode

protected AddGrantError ( Grant grant, Exception exception ) : void
grant UCSF.Data.Grant
exception System.Exception
Résultat void

AddGrantToRecordset() protected méthode

protected AddGrantToRecordset ( Grant grant ) : void
grant UCSF.Data.Grant
Résultat void

AddSuccessGrant() protected méthode

protected AddSuccessGrant ( Grant grant ) : void
grant UCSF.Data.Grant
Résultat void

CheckIfGrantExists() protected abstract méthode

protected abstract CheckIfGrantExists ( Grant grant ) : bool
grant UCSF.Data.Grant
Résultat bool

CompleteTransaction() protected abstract méthode

protected abstract CompleteTransaction ( ) : void
Résultat void

GetPrincipalInvestigator() protected abstract méthode

protected abstract GetPrincipalInvestigator ( int principalInvestigatorId ) : PrincipalInvestigator
principalInvestigatorId int
Résultat UCSF.Data.PrincipalInvestigator

GrantImporterBase() protected méthode

protected GrantImporterBase ( ) : System
Résultat System

GrantImporterBase() protected méthode

protected GrantImporterBase ( UCSDDataContext dataContext ) : System
dataContext UCSF.Data.UCSDDataContext
Résultat System

ImportData() public méthode

public ImportData ( string uri, string orgName = null, string DUNSNumber = null ) : void
uri string
orgName string
DUNSNumber string
Résultat void

StartTransaction() protected abstract méthode

protected abstract StartTransaction ( ) : void
Résultat void

UpdateGrant() protected méthode

protected UpdateGrant ( Grant grant, System.Xml.Linq.XElement node ) : bool
grant UCSF.Data.Grant
node System.Xml.Linq.XElement
Résultat bool

UpdateGrantInvestigators() protected méthode

protected UpdateGrantInvestigators ( Grant grant, System.Xml.Linq.XElement node ) : void
grant UCSF.Data.Grant
node System.Xml.Linq.XElement
Résultat void

ValidateGrant() protected méthode

protected ValidateGrant ( Grant grant ) : void
grant UCSF.Data.Grant
Résultat void

Property Details

log protected_oe static_oe property

protected static ILog,log4net log
Résultat log4net.ILog