C# 클래스 SobekCM.Resource_Object.Behaviors.Behaviors_Info

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

공개 메소드들

메소드 설명
Add_Aggregation ( string Code ) : void

Adds an aggregation, if it doesn't exist

This parses the aggregation string for spaces, commas, and semicolons.

Add_Aggregation ( string Code, string Name ) : void

Adds an aggregation, if it doesn't exist

This parses the aggregation string for spaces, commas, and semicolons.

Add_Aggregation ( string Code, string Name, string Type ) : void

Adds an aggregation, if it doesn't exist

This parses the aggregation string for spaces, commas, and semicolons.

Add_Tickler ( string Tickler ) : void

Clear all the ticklers associated with this item

Add_User_Tag ( int UserID, string UserName, string Description_Tag, System.DateTime Date_Added, int TagID ) : void

Add a new user tag to this item

Add_View ( string View_Type ) : View_Object

Add a new SobekCM View to this resource

Add_View ( string View_Type, string Label, string Attributes ) : View_Object

Add a new SobekCM View to this resource

Add_View ( string View_Type, string Label, string Attributes, float MenuOrder, bool Exclude ) : View_Object

Add a new SobekCM View to this resource

Add_View ( View_Object New_View ) : void

Add a new SobekCM View to this resource

Add_Web_Skin ( string New_Web_Skin ) : void

Add a new web skin code to this item

Add_Wordmark ( Wordmark_Info Wordmark ) : void

Adds a wordmark/icon, if it doesn't exist

Add_Wordmark ( string Wordmark ) : void

Adds a wordmark/icon, if it doesn't exist

Add_Wordmarks ( string Wordmark ) : void

Adds a wordmark/icon, if it doesn't exist

This parses the wordmark string for spaces, commas, and semicolons.

Behaviors_Info ( ) : System

Constructor for a new instance of the Behaviors_Info class

Clear_Aggregations ( ) : void

Clear all of the aggregations associated with this item

Clear_Ticklers ( ) : void

Clear all the ticklers associated with this item

Clear_Views ( ) : void

Clear all the pre-existing views from this item

Clear_Web_Skins ( ) : void

Clear all the pre-existing web skins from this item

Clear_Wordmarks ( ) : void

Clears all the icon/wordmarks associated with this item

Dedupe_Wordmarks ( ) : void

Dedupes the wordmarks to ensure that no duplication is occurring

Saving duped wordmarks to the database can result in a database exception during the save process

Delete_User_Tag ( int TagID, int UserID ) : bool

Delete a user tag from this object, by TagID and UserID

This only deletes the user tag if the UserID for the tag matches the provided userid

Insert_View ( int Index, string View_Type ) : View_Object

Add a new SobekCM View to this resource

Insert_View ( int Index, string View_Type, string Label, string Attributes ) : View_Object

Add a new SobekCM View to this resource

Set_Primary_Identifier ( string Type, string Identifier ) : void

Sets the type and identifier for the primary alternate identifier associated with this item group

Set_Private ( ) : void

Makes this item private in the behaviorSec, which results in a VisibilityRestrictions tag of -1 in the procParam of the resulting METS

Set_Public ( ) : void

Makes this item public in the behaviorSec, which results in a VisibilityRestrictions tag of zero in the procParam of the resulting METS

Set_Serial_Info ( SobekCM.Resource_Object.Behaviors.Serial_Info SerialInfo ) : void

Saves the data stored in this instance of the element to the provided bibliographic object

비공개 메소드들

메소드 설명
Add_BehaviorSec_METS ( TextWriter BehaviorSec, bool PackageIncludesImageFiles ) : void

Returns the METS behavior section associated with this resource

Add_METS_Processing_Metadata ( string Sobek_Namespace, TextWriter Results ) : void

Returns the METS formatted XML for all the processing parameters for SobekCM

Calculate_GUID ( string BibID, string License ) : void
ToMETS ( string METS_Tag, string METS_Value ) : string

Returns a single value in METS formatted XML

메소드 상세

Add_Aggregation() 공개 메소드

Adds an aggregation, if it doesn't exist
This parses the aggregation string for spaces, commas, and semicolons.
public Add_Aggregation ( string Code ) : void
Code string Aggregation code to add
리턴 void

Add_Aggregation() 공개 메소드

Adds an aggregation, if it doesn't exist
This parses the aggregation string for spaces, commas, and semicolons.
public Add_Aggregation ( string Code, string Name ) : void
Code string Aggregation code to add
Name string Aggregation name to add
리턴 void

Add_Aggregation() 공개 메소드

Adds an aggregation, if it doesn't exist
This parses the aggregation string for spaces, commas, and semicolons.
public Add_Aggregation ( string Code, string Name, string Type ) : void
Code string Aggregation code to add
Name string Aggregation name to add
Type string Aggregation type
리턴 void

Add_Tickler() 공개 메소드

Clear all the ticklers associated with this item
public Add_Tickler ( string Tickler ) : void
Tickler string New tickler to add to this item
리턴 void

Add_User_Tag() 공개 메소드

Add a new user tag to this item
public Add_User_Tag ( int UserID, string UserName, string Description_Tag, System.DateTime Date_Added, int TagID ) : void
UserID int Primary key for the user who entered this tag
UserName string Name of the user ( Last Name, Firt Name )
Description_Tag string Text of the user-entered descriptive tag
Date_Added System.DateTime Date the tag was added or last modified
TagID int Primary key for this tag from the database
리턴 void

Add_View() 공개 메소드

Add a new SobekCM View to this resource
public Add_View ( string View_Type ) : View_Object
View_Type string Standard type of SobekCM View
리턴 View_Object

Add_View() 공개 메소드

Add a new SobekCM View to this resource
public Add_View ( string View_Type, string Label, string Attributes ) : View_Object
View_Type string Standard type of SobekCM View
Label string Label for this SobekCM View
Attributes string Any additional attribures needed for thie SobekCM View
리턴 View_Object

Add_View() 공개 메소드

Add a new SobekCM View to this resource
public Add_View ( string View_Type, string Label, string Attributes, float MenuOrder, bool Exclude ) : View_Object
View_Type string Standard type of SobekCM View
Label string Label for this SobekCM View
Attributes string Any additional attribures needed for thie SobekCM View
MenuOrder float order where this sits on the item main menu
Exclude bool
리턴 View_Object

Add_View() 공개 메소드

Add a new SobekCM View to this resource
public Add_View ( View_Object New_View ) : void
New_View View_Object SobekCM View object
리턴 void

Add_Web_Skin() 공개 메소드

Add a new web skin code to this item
public Add_Web_Skin ( string New_Web_Skin ) : void
New_Web_Skin string New web skin code
리턴 void

Add_Wordmark() 공개 메소드

Adds a wordmark/icon, if it doesn't exist
public Add_Wordmark ( Wordmark_Info Wordmark ) : void
Wordmark Wordmark_Info Wordmark code to add
리턴 void

Add_Wordmark() 공개 메소드

Adds a wordmark/icon, if it doesn't exist
public Add_Wordmark ( string Wordmark ) : void
Wordmark string Wordmark code to add
리턴 void

Add_Wordmarks() 공개 메소드

Adds a wordmark/icon, if it doesn't exist
This parses the wordmark string for spaces, commas, and semicolons.
public Add_Wordmarks ( string Wordmark ) : void
Wordmark string Wordmark code to add
리턴 void

Behaviors_Info() 공개 메소드

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

Clear_Aggregations() 공개 메소드

Clear all of the aggregations associated with this item
public Clear_Aggregations ( ) : void
리턴 void

Clear_Ticklers() 공개 메소드

Clear all the ticklers associated with this item
public Clear_Ticklers ( ) : void
리턴 void

Clear_Views() 공개 메소드

Clear all the pre-existing views from this item
public Clear_Views ( ) : void
리턴 void

Clear_Web_Skins() 공개 메소드

Clear all the pre-existing web skins from this item
public Clear_Web_Skins ( ) : void
리턴 void

Clear_Wordmarks() 공개 메소드

Clears all the icon/wordmarks associated with this item
public Clear_Wordmarks ( ) : void
리턴 void

Dedupe_Wordmarks() 공개 메소드

Dedupes the wordmarks to ensure that no duplication is occurring
Saving duped wordmarks to the database can result in a database exception during the save process
public Dedupe_Wordmarks ( ) : void
리턴 void

Delete_User_Tag() 공개 메소드

Delete a user tag from this object, by TagID and UserID
This only deletes the user tag if the UserID for the tag matches the provided userid
public Delete_User_Tag ( int TagID, int UserID ) : bool
TagID int Primary key for this tag from the database
UserID int Primary key for the user who entered this tag
리턴 bool

Insert_View() 공개 메소드

Add a new SobekCM View to this resource
public Insert_View ( int Index, string View_Type ) : View_Object
Index int Index where to insert this view
View_Type string Standard type of SobekCM View
리턴 View_Object

Insert_View() 공개 메소드

Add a new SobekCM View to this resource
public Insert_View ( int Index, string View_Type, string Label, string Attributes ) : View_Object
Index int Index where to insert this view
View_Type string Standard type of SobekCM View
Label string Label for this SobekCM View
Attributes string Any additional attribures needed for thie SobekCM View
리턴 View_Object

Set_Primary_Identifier() 공개 메소드

Sets the type and identifier for the primary alternate identifier associated with this item group
public Set_Primary_Identifier ( string Type, string Identifier ) : void
Type string Type of the primary alternate identifier
Identifier string Primary alternate identifier
리턴 void

Set_Private() 공개 메소드

Makes this item private in the behaviorSec, which results in a VisibilityRestrictions tag of -1 in the procParam of the resulting METS
public Set_Private ( ) : void
리턴 void

Set_Public() 공개 메소드

Makes this item public in the behaviorSec, which results in a VisibilityRestrictions tag of zero in the procParam of the resulting METS
public Set_Public ( ) : void
리턴 void

Set_Serial_Info() 공개 메소드

Saves the data stored in this instance of the element to the provided bibliographic object
public Set_Serial_Info ( SobekCM.Resource_Object.Behaviors.Serial_Info SerialInfo ) : void
SerialInfo SobekCM.Resource_Object.Behaviors.Serial_Info Serial information to set to this object
리턴 void