C# 클래스 SobekCM.Core.ApplicationState.Aggregation_Code_Manager

상속: iSerializationEvents
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Add_Blank_Thematic_Heading ( int NewThematicHeadingID ) : void

Adds a new blank thematic heading when a user adds one through the administrative tools

Add_Collection ( Item_Aggregation_Related_Aggregations New_Aggregation ) : void

Add the basic information about an aggregation to this aggreation manager

Aggregation_By_ID ( int AggregationID ) : Item_Aggregation_Related_Aggregations

Gets the aggregation by primary key

This is not particularly a quick way to do this, since it just loops through all the aggregations, without utilizing a dictionary for lookup.

Aggregation_Code_Manager ( ) : System

Constructor for a new instance of the Aggregation_Code_Manager class

Aggregations_By_ThemeID ( int ThemeID ) : ReadOnlyCollection

Read-only collection of item aggregationPermissions matching a particular thematic heading id

Aggregations_By_Type ( string AggregationType ) : ReadOnlyCollection

Read-only collection of item aggregationPermissions matching a particular aggregation type

Clear ( ) : void

Clears the internal data for this code manager

Get_Collection_Short_Name ( string Aggregation_Code ) : string

Gets the short name associated with a provided aggregation code

PostUnSerialization ( ) : void

Method is called by the serializer after this item is unserialized

Set_Aggregation_Thematic_Heading ( string Code, int ThematicHeadingID ) : void

Set an aggregation to be a part of an existing thematic heading id

isValidCode ( string Aggregation_Code ) : bool

Checks to see if an aggregation code exists

this ( string Aggregation_Code ) : Item_Aggregation_Related_Aggregations

Gets the aggregation information by aggregation code

메소드 상세

Add_Blank_Thematic_Heading() 공개 메소드

Adds a new blank thematic heading when a user adds one through the administrative tools
public Add_Blank_Thematic_Heading ( int NewThematicHeadingID ) : void
NewThematicHeadingID int ID for the new thematic heading
리턴 void

Add_Collection() 공개 메소드

Add the basic information about an aggregation to this aggreation manager
public Add_Collection ( Item_Aggregation_Related_Aggregations New_Aggregation ) : void
New_Aggregation Item_Aggregation_Related_Aggregations New aggregation to add information about
리턴 void

Aggregation_By_ID() 공개 메소드

Gets the aggregation by primary key
This is not particularly a quick way to do this, since it just loops through all the aggregations, without utilizing a dictionary for lookup.
public Aggregation_By_ID ( int AggregationID ) : Item_Aggregation_Related_Aggregations
AggregationID int Aggregation ID for the aggregation to get
리턴 Item_Aggregation_Related_Aggregations

Aggregation_Code_Manager() 공개 메소드

Constructor for a new instance of the Aggregation_Code_Manager class
public Aggregation_Code_Manager ( ) : System
리턴 System

Aggregations_By_ThemeID() 공개 메소드

Read-only collection of item aggregationPermissions matching a particular thematic heading id
public Aggregations_By_ThemeID ( int ThemeID ) : ReadOnlyCollection
ThemeID int Primary key for the thematic heading to pull
리턴 ReadOnlyCollection

Aggregations_By_Type() 공개 메소드

Read-only collection of item aggregationPermissions matching a particular aggregation type
public Aggregations_By_Type ( string AggregationType ) : ReadOnlyCollection
AggregationType string Type of aggregationPermissions to return
리턴 ReadOnlyCollection

Clear() 공개 메소드

Clears the internal data for this code manager
public Clear ( ) : void
리턴 void

Get_Collection_Short_Name() 공개 메소드

Gets the short name associated with a provided aggregation code
public Get_Collection_Short_Name ( string Aggregation_Code ) : string
Aggregation_Code string Code for the aggregation of interest
리턴 string

PostUnSerialization() 공개 메소드

Method is called by the serializer after this item is unserialized
public PostUnSerialization ( ) : void
리턴 void

Set_Aggregation_Thematic_Heading() 공개 메소드

Set an aggregation to be a part of an existing thematic heading id
public Set_Aggregation_Thematic_Heading ( string Code, int ThematicHeadingID ) : void
Code string
ThematicHeadingID int
리턴 void

isValidCode() 공개 메소드

Checks to see if an aggregation code exists
public isValidCode ( string Aggregation_Code ) : bool
Aggregation_Code string Code for the aggregation of interest
리턴 bool

this() 공개 메소드

Gets the aggregation information by aggregation code
public this ( string Aggregation_Code ) : Item_Aggregation_Related_Aggregations
Aggregation_Code string Code for the aggregation of interest
리턴 Item_Aggregation_Related_Aggregations