Click or drag to resize
BaseAbstractInfoProvider Class
Base class for the info providers.
Inheritance Hierarchy

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public abstract class BaseAbstractInfoProvider : AbstractProvider

The BaseAbstractInfoProvider type exposes the following members.

Constructors
Methods
  NameDescription
Protected methodBoundGetInfoByGuid(Guid)
Gets the info by GUID
Protected methodBoundGetInfoByGuid(Guid, Int32)
Gets the info by GUID
Protected methodBoundGetInfoById
Gets the info by ID.
Protected methodBoundGetInfoByName(String)
Gets the info by code name
Protected methodBoundGetInfoByName(String, Int32)
Gets the info by code name
Protected methodBoundGetInfosByIds
Gets the info by its type and ID from the appropriate provider.
Protected methodClearHashtables(Boolean)
Clears the object's hashtables.
(Inherited from AbstractProvider.)
Protected methodCreateHashtables
Creates the provider hashtables
Public methodCreateWebFarmTask(String, String)
Creates web farm task specific for current object and action name
(Inherited from AbstractProvider.)
Public methodCreateWebFarmTask(String, String, Byte)
Creates web farm task specific for current object and action name
(Inherited from AbstractProvider.)
Public methodStatic memberGetCodeName
Gets the code name by the given ID
Public methodStatic memberGetId
Gets the ID by the given code name
Public methodStatic memberGetInfoByGuid(String, Guid, Boolean)
Gets the info by its type and GUID from the appropriate provider.
Public methodStatic memberGetInfoByGuid(String, Guid, Int32, Boolean)
Gets the info by its type and GUID from the appropriate provider.
Public methodStatic memberGetInfoById
Gets the info by its type and ID from the appropriate provider.
Public methodStatic memberGetInfoByName(String, String, Boolean)
Gets the info by its type and code name from the appropriate provider.
Public methodStatic memberGetInfoByName(String, String, Int32, Boolean)
Gets the info by its type and code name from the appropriate provider.
Public methodStatic memberGetInfoProvider
Gets the loaded provider by its object type.
Public methodStatic memberGetInfosByIds
Gets the info by its type and ID from the appropriate provider.
Protected methodGetTypeInfo
Gets the type info for this provider
Protected methodInit
Initializes the provider variables.
Protected methodInvalidate
Sets this provider as invalid
(Inherited from AbstractProvider.)
Public methodProcessWebFarmTask
Runs the processing of specific web farm task for current provider
(Overrides AbstractProviderProcessWebFarmTask(String, String, Byte).)
Public methodRefreshObjectsCounts
Updates all counts for all sub-objects.
Protected methodRegister
Registers current provider in providers collection
(Inherited from AbstractProvider.)
Public methodResetToDefault
Resets the provider to default implementation
Public methodSetAsDefaultProvider
Sets this provider instance as the default provider
(Inherited from AbstractProvider.)
Public methodUseSource
Sets the provider to use given data as data source
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberALL_SITES
All sites constant for the data retrieval.
Protected fieldhashtableLock
Table lock for loading hashtables
Protected fieldinfos
Info tables.
Public fieldStatic memberINVALIDATE_COLUMN_NAMES
Codename for column names invalidation
Protected fieldmTypeInfo
Object type information.
Public fieldStatic memberUNKNOWN_TYPEINFO
Type information.
Top
Properties
  NameDescription
Protected propertyDataSource
Data source for the provider
Protected propertyGenerationColumn Obsolete.
Column used to filter the data according the generation in which the items should be loaded.
Public propertyHashtableSettings
Hashtable settings
Public propertyInfoType
Returns the type of the info object for this provider
Public propertyIsDataAvailable
Returns true if the data is available for this provider
Public propertyIsValid
Indicates if the provider instance is up-to-date and can be used to manage object instances.
(Inherited from AbstractProvider.)
Protected propertyLoadHashtables Obsolete.
Determines the mode in which the hashtables should be loaded. In case the hashtables are loaded through generations, you must also specify the GenerationColumn property.
Protected propertyProviderName
Provider name
(Overrides AbstractProviderProviderName.)
Public propertyTypeInfo
Object type information.
Protected propertyUseFullNameHashtable Obsolete.
If true, the full name hashtable is allowed to be used.
Protected propertyUseGUIDHashtable Obsolete.
If true, the guid hashtable is allowed to be used.
Protected propertyUseHashtables Obsolete.
If true, the provider uses hashtables.
Protected propertyUseIDHashtable Obsolete.
If true, the ID hashtable is allowed to be used.
Protected propertyUseNameHashtable Obsolete.
If true, the code name hashtable is allowed to be used.
Protected propertyUseWeakReferences Obsolete.
If true, the weak references are used for the items so the memory can be cleared upon request
Top
See Also