C# Класс SobekCM.Core.Settings.InstanceWide_Settings

Наследование: iSerializationEvents
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Add_Additional_Setting ( string Key, string Value ) : void

Add a remaining, unassigned, additional setting

Contains_Additional_Setting ( string Key ) : bool

Get a flag indicating if a value is set for this key

Disposition_ID_Future ( string Disposition_Term ) : int

Gets the primary key for a disposition type, by the future tense term

Disposition_ID_Past ( string Disposition_Term ) : int

Gets the primary key for a disposition type, by the past tense term

Disposition_Term_Future ( int DispositionID ) : string

Gets the disposition term, in future tense, by primary key

Disposition_Term_Past ( int DispositionID ) : string

Gets the disposition term, in past tense, by primary key

ExtensionByCode ( string Code ) : ExtensionInfo

Gets the information from the database for a single extension

ExtensionEnabled ( string Code ) : bool

Checks to see if the extension exists and is enabled, according to the database

Get_Additional_Setting ( string Key ) : string

Gets an additional setting value, by the key

InstanceWide_Settings ( ) : System

constructor sets all the values to default empty strings

Metadata_Search_Field_By_Code ( string SobekCM_Code ) : Metadata_Search_Field

Gets a single metadata search field, by SobekCM web code

Metadata_Search_Field_By_Display_Name ( string Display_Name ) : Metadata_Search_Field

Gets a single metadata search field, by the display name

Metadata_Search_Field_By_Facet_Name ( string Facet_Name ) : Metadata_Search_Field

Gets a single metadata search field, by the facet name

Metadata_Search_Field_By_ID ( short MetadataTypeID ) : Metadata_Search_Field

Gets a single metadata search field, by primary identifiere

Metadata_Search_Field_By_Name ( string Metadata_Name ) : Metadata_Search_Field

Gets a single metadata search field, by the metadata column name

PostUnSerialization ( ) : void

Method is called by the serializer after this item is unserialized

ShouldSerializeArchive ( ) : bool

Method suppresses XML Serialization of the Archive property if it is empty

ShouldSerializeFlorida ( ) : bool

Method suppresses XML Serialization of the Florida property if it is empty

ShouldSerializeMarcGeneration ( ) : bool

Method suppresses XML Serialization of the MarcGeneration property if it is empty

User_InProcess_Directory ( User_Object CurrentUser, string DirectoryName ) : string

Gets the user-in-process directory

Описание методов

Add_Additional_Setting() публичный Метод

Add a remaining, unassigned, additional setting
public Add_Additional_Setting ( string Key, string Value ) : void
Key string Name / key for this database setting
Value string Current value for this setting
Результат void

Contains_Additional_Setting() публичный Метод

Get a flag indicating if a value is set for this key
public Contains_Additional_Setting ( string Key ) : bool
Key string Name / key for this database setting
Результат bool

Disposition_ID_Future() публичный Метод

Gets the primary key for a disposition type, by the future tense term
public Disposition_ID_Future ( string Disposition_Term ) : int
Disposition_Term string Disposition term, in future tense
Результат int

Disposition_ID_Past() публичный Метод

Gets the primary key for a disposition type, by the past tense term
public Disposition_ID_Past ( string Disposition_Term ) : int
Disposition_Term string Disposition term, in past tense
Результат int

Disposition_Term_Future() публичный Метод

Gets the disposition term, in future tense, by primary key
public Disposition_Term_Future ( int DispositionID ) : string
DispositionID int Primary key for the disposition term
Результат string

Disposition_Term_Past() публичный Метод

Gets the disposition term, in past tense, by primary key
public Disposition_Term_Past ( int DispositionID ) : string
DispositionID int Primary key for the disposition term
Результат string

ExtensionByCode() публичный Метод

Gets the information from the database for a single extension
public ExtensionByCode ( string Code ) : ExtensionInfo
Code string Code of the extensions, which must match the directory for the plug-in
Результат SobekCM.Core.Configuration.Extensions.ExtensionInfo

ExtensionEnabled() публичный Метод

Checks to see if the extension exists and is enabled, according to the database
public ExtensionEnabled ( string Code ) : bool
Code string Code of the extensions, which must match the directory for the plug-in
Результат bool

Get_Additional_Setting() публичный Метод

Gets an additional setting value, by the key
public Get_Additional_Setting ( string Key ) : string
Key string Name / key for this database setting
Результат string

InstanceWide_Settings() публичный Метод

constructor sets all the values to default empty strings
public InstanceWide_Settings ( ) : System
Результат System

Metadata_Search_Field_By_Code() публичный Метод

Gets a single metadata search field, by SobekCM web code
public Metadata_Search_Field_By_Code ( string SobekCM_Code ) : Metadata_Search_Field
SobekCM_Code string Code for this metadata search field, employed within the URLs
Результат SobekCM.Core.Search.Metadata_Search_Field

Metadata_Search_Field_By_Display_Name() публичный Метод

Gets a single metadata search field, by the display name
public Metadata_Search_Field_By_Display_Name ( string Display_Name ) : Metadata_Search_Field
Display_Name string Name for this field and name of the column in the database
Результат SobekCM.Core.Search.Metadata_Search_Field

Metadata_Search_Field_By_Facet_Name() публичный Метод

Gets a single metadata search field, by the facet name
public Metadata_Search_Field_By_Facet_Name ( string Facet_Name ) : Metadata_Search_Field
Facet_Name string Name for this field for faceting purposes
Результат SobekCM.Core.Search.Metadata_Search_Field

Metadata_Search_Field_By_ID() публичный Метод

Gets a single metadata search field, by primary identifiere
public Metadata_Search_Field_By_ID ( short MetadataTypeID ) : Metadata_Search_Field
MetadataTypeID short Primary identifier for the metadata search field
Результат SobekCM.Core.Search.Metadata_Search_Field

Metadata_Search_Field_By_Name() публичный Метод

Gets a single metadata search field, by the metadata column name
public Metadata_Search_Field_By_Name ( string Metadata_Name ) : Metadata_Search_Field
Metadata_Name string Name for this field and name of the column in the database
Результат SobekCM.Core.Search.Metadata_Search_Field

PostUnSerialization() публичный Метод

Method is called by the serializer after this item is unserialized
public PostUnSerialization ( ) : void
Результат void

ShouldSerializeArchive() публичный Метод

Method suppresses XML Serialization of the Archive property if it is empty
public ShouldSerializeArchive ( ) : bool
Результат bool

ShouldSerializeFlorida() публичный Метод

Method suppresses XML Serialization of the Florida property if it is empty
public ShouldSerializeFlorida ( ) : bool
Результат bool

ShouldSerializeMarcGeneration() публичный Метод

Method suppresses XML Serialization of the MarcGeneration property if it is empty
public ShouldSerializeMarcGeneration ( ) : bool
Результат bool

User_InProcess_Directory() публичный Метод

Gets the user-in-process directory
public User_InProcess_Directory ( User_Object CurrentUser, string DirectoryName ) : string
CurrentUser SobekCM.Core.Users.User_Object Current user, for which to find the in-process directory
DirectoryName string Subdirectory requested
Результат string