C# Class Excavator.F1.F1Component

Partial of F1Component that holds the Financial import methods
Afficher le fichier Open project: NewSpring/Excavator

Protected Properties

Свойство Type Description
AuthProviderEntityTypeId int?
CampusList List
Database OrcaMDF.Core.Engine.Database
HouseholdIdAttribute Rock.Web.Cache.AttributeCache
ImportPersonAliasId int?
ImportedBatches int?>.Dictionary
ImportedPeople List
InFellowshipLoginAttribute Rock.Web.Cache.AttributeCache
IndividualIdAttribute Rock.Web.Cache.AttributeCache
IntegerFieldTypeId int
PersonEntityTypeId int
SecondaryEmailAttribute Rock.Web.Cache.AttributeCache
TextFieldTypeId int

Méthodes publiques

Méthode Description
LoadSchema ( string fileName ) : bool

Loads the database for this instance.

MapNotes ( IQueryable tableData ) : void

Maps the notes.

MapPerson ( IQueryable tableData ) : void

Maps the person.

MapUsers ( IQueryable tableData ) : void

Maps the users.

TransformData ( string>.Dictionary settings ) : int

Transforms the data from the dataset.

Méthodes protégées

Méthode Description
AddPersonAttribute ( Rock.Web.Cache.AttributeCache attribute, Person person, string value ) : void

Adds the person attribute.

AddUserLogin ( int authProviderEntityTypeId, Person person, string value ) : void

Adds the user login.

GetFamilyByHouseholdId ( int householdId, bool includeVisitors = true ) : List

Gets the family by household identifier.

GetPersonKeys ( int individualId = null, int householdId = null, bool includeVisitors = true ) : Excavator.F1.PersonKeys

Gets the person keys.

Private Methods

Méthode Description
AddAccount ( RockContext lookupContext, string fundName, string accountGL, int fundCampusId, int parentAccountId, bool isActive ) : FinancialAccount

Adds the account.

LoadExistingRockData ( ) : void

Loads Rock data that's used globally by the transform

MapBankAccount ( IQueryable tableData ) : void

Maps the account data.

MapBatch ( IQueryable tableData ) : void

Maps the batch data.

MapCommunication ( IQueryable tableData ) : void

Maps the communication data.

MapCompany ( IQueryable tableData ) : void

Maps the company.

MapContribution ( IQueryable tableData, List selectedColumns = null ) : void

Maps the contribution.

MapFamilyAddress ( IQueryable tableData ) : void

Maps the family address.

MapPledge ( IQueryable tableData ) : void

Maps the pledge.

SaveBankAccounts ( List newBankAccounts ) : void

Saves the bank accounts.

SaveCommunication ( List newNumberList, Person>.Dictionary updatedPersonList ) : void

Saves the communication.

SaveCompanies ( List businessList ) : void

Saves the companies.

SaveContributions ( List newTransactions ) : void

Saves the contributions.

SaveFamilyAddress ( List newGroupLocations ) : void

Saves the family address.

SaveFinancialBatches ( List newBatches ) : void

Saves the financial batches.

SaveNotes ( List noteList ) : void

Saves the notes.

SavePeople ( List familyList, List visitorList, string>.Dictionary previousNamesList, GroupTypeRole ownerRole, int childRoleId, int inviteeRoleId, int invitedByRoleId, int canCheckInRoleId, int allowCheckInByRoleId ) : void

Saves the people.

SavePledges ( List newPledges ) : void

Saves the pledges.

SaveUsers ( List newUserLogins, List newStaffMembers ) : void

Saves the new user logins.

Method Details

AddPersonAttribute() protected static méthode

Adds the person attribute.
protected static AddPersonAttribute ( Rock.Web.Cache.AttributeCache attribute, Person person, string value ) : void
attribute Rock.Web.Cache.AttributeCache The attribute.
person Person The person.
value string The value.
Résultat void

AddUserLogin() protected static méthode

Adds the user login.
protected static AddUserLogin ( int authProviderEntityTypeId, Person person, string value ) : void
authProviderEntityTypeId int The id of the auth provider entity type.
person Person The person.
value string The value, probably an email.
Résultat void

GetFamilyByHouseholdId() protected static méthode

Gets the family by household identifier.
protected static GetFamilyByHouseholdId ( int householdId, bool includeVisitors = true ) : List
householdId int The household identifier.
includeVisitors bool if set to true [include visitors].
Résultat List

GetPersonKeys() protected static méthode

Gets the person keys.
protected static GetPersonKeys ( int individualId = null, int householdId = null, bool includeVisitors = true ) : Excavator.F1.PersonKeys
individualId int The individual identifier.
householdId int The household identifier.
includeVisitors bool if set to true [include visitors].
Résultat Excavator.F1.PersonKeys

LoadSchema() public méthode

Loads the database for this instance.
public LoadSchema ( string fileName ) : bool
fileName string
Résultat bool

MapNotes() public méthode

Maps the notes.
public MapNotes ( IQueryable tableData ) : void
tableData IQueryable The table data.
Résultat void

MapPerson() public méthode

Maps the person.
public MapPerson ( IQueryable tableData ) : void
tableData IQueryable The table data.
Résultat void

MapUsers() public méthode

Maps the users.
public MapUsers ( IQueryable tableData ) : void
tableData IQueryable The table data.
Résultat void

TransformData() public méthode

Transforms the data from the dataset.
public TransformData ( string>.Dictionary settings ) : int
settings string>.Dictionary
Résultat int

Property Details

AuthProviderEntityTypeId protected_oe static_oe property

protected static int? AuthProviderEntityTypeId
Résultat int?

CampusList protected_oe static_oe property

All campuses
protected static List CampusList
Résultat List

Database protected_oe property

The local database
protected Database,OrcaMDF.Core.Engine Database
Résultat OrcaMDF.Core.Engine.Database

HouseholdIdAttribute protected_oe static_oe property

protected static AttributeCache,Rock.Web.Cache HouseholdIdAttribute
Résultat Rock.Web.Cache.AttributeCache

ImportPersonAliasId protected_oe static_oe property

The person assigned to do the import
protected static int? ImportPersonAliasId
Résultat int?

ImportedBatches protected_oe static_oe property

All imported batches. Used in Batches & Contributions
protected static Dictionary ImportedBatches
Résultat int?>.Dictionary

ImportedPeople protected_oe static_oe property

All the people who've been imported
protected static List ImportedPeople
Résultat List

InFellowshipLoginAttribute protected_oe static_oe property

protected static AttributeCache,Rock.Web.Cache InFellowshipLoginAttribute
Résultat Rock.Web.Cache.AttributeCache

IndividualIdAttribute protected_oe static_oe property

protected static AttributeCache,Rock.Web.Cache IndividualIdAttribute
Résultat Rock.Web.Cache.AttributeCache

IntegerFieldTypeId protected_oe static_oe property

protected static int IntegerFieldTypeId
Résultat int

PersonEntityTypeId protected_oe static_oe property

protected static int PersonEntityTypeId
Résultat int

SecondaryEmailAttribute protected_oe static_oe property

protected static AttributeCache,Rock.Web.Cache SecondaryEmailAttribute
Résultat Rock.Web.Cache.AttributeCache

TextFieldTypeId protected_oe static_oe property

protected static int TextFieldTypeId
Résultat int