C# Class Microsoft.Legal.MatterCenter.CreateTerm.CreateTerm

Show file Open project: Microsoft/mattercenter

Public Properties

Property Type Description
errorFilePath string

Public Methods

Method Description
CreateClientStructure ( string>.Dictionary listval, List clientList, bool action ) : void

Create client structure in taxonomy

CreateClientTerms ( string>.Dictionary listval, List TermsData ) : void

Function to create client terms

CreateTermStructure ( string>.Dictionary listval, List termList ) : void

Create Term store structure

CreateTerms ( string>.Dictionary listval, List TermsData ) : void

Creates terms in term group

DeleteTerms ( string>.Dictionary listval, List TermsData ) : void

Deletes term store hierarchy

Main ( string args ) : void
ReadConfigExcel ( string>.Dictionary listval, bool action ) : void

Read configuration values from Excel and create term store hierarchy

ReadTermData ( Collection sheetValues, string termType ) : Collection

Function is used to return objects formed using values read from Excel sheet

Private Methods

Method Description
CreatePGTerms ( List TermsData, ClientContext clientContext ) : void

Create practice group terms

CreateTermsForClients ( List TermsData, ClientContext clientContext ) : void

Create client terms

CustomArea ( CustomAreaOfLaw aol, Term AOLTerm ) : void
DeleteMatterCenterTerms ( List TermsData, ClientContext clientContext ) : void

Deletes terms from term stores

Method Details

CreateClientStructure() public static method

Create client structure in taxonomy
public static CreateClientStructure ( string>.Dictionary listval, List clientList, bool action ) : void
listval string>.Dictionary Configuration values from configuration Excel
clientList List List of Clients from configuration Excel
action bool flag to create or delete client hierarchy
return void

CreateClientTerms() public static method

Function to create client terms
public static CreateClientTerms ( string>.Dictionary listval, List TermsData ) : void
listval string>.Dictionary List of Clients from configuration Excel
TermsData List Terms data
return void

CreateTermStructure() public static method

Create Term store structure
public static CreateTermStructure ( string>.Dictionary listval, List termList ) : void
listval string>.Dictionary List of Clients from configuration Excel
termList List Terms list
return void

CreateTerms() public static method

Creates terms in term group
public static CreateTerms ( string>.Dictionary listval, List TermsData ) : void
listval string>.Dictionary Configuration list values from configuration Excel
TermsData List Terms Data
return void

DeleteTerms() public static method

Deletes term store hierarchy
public static DeleteTerms ( string>.Dictionary listval, List TermsData ) : void
listval string>.Dictionary Configuration values from Excel
TermsData List Terms Data
return void

Main() public static method

public static Main ( string args ) : void
args string
return void

ReadConfigExcel() public static method

Read configuration values from Excel and create term store hierarchy
public static ReadConfigExcel ( string>.Dictionary listval, bool action ) : void
listval string>.Dictionary Configuration values from configuration Excel
action bool Flag to create or delete hierarchy
return void

ReadTermData() public static method

Function is used to return objects formed using values read from Excel sheet
public static ReadTermData ( Collection sheetValues, string termType ) : Collection
sheetValues Collection List of values read from Excel sheet
termType string Term type
return Collection

Property Details

errorFilePath public static property

public static string errorFilePath
return string