Click or drag to resize
CMSSiteDataContext Class
Data context for specific site, contains only site related items
Inheritance Hierarchy
SystemObject
  CMS.BaseAbstractSimpleDataContainerCMSSiteDataContext
    CMS.BaseAbstractDataContainerCMSSiteDataContext
      CMS.BaseAbstractHierarchicalObjectCMSSiteDataContext
        CMS.DocumentEngineCMSDataContextBaseCMSSiteDataContext
          CMS.DocumentEngineCMSSiteDataContext

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public class CMSSiteDataContext : CMSDataContextBase<CMSSiteDataContext>

The CMSSiteDataContext type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainerParentObjectType.)
Public propertyDocuments
Gets the collection of all documents on the site
(Inherited from CMSDataContextBaseParentType.)
Public propertyIsCachedObject
If true, the object is cached within the system for later use
(Inherited from CMSDataContextBaseParentType.)
Public propertyIsDisconnected
Returns true if this object is disconnected from the database
(Inherited from CMSDataContextBaseParentType.)
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyProperties
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyPropertyList
Used property list
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyRegisteredPropertiesObject
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyRootDocument
Gets the root document of current site.
(Inherited from CMSDataContextBaseParentType.)
Public propertySettings
Gets the object encapsulating all the settings categories with its setting.
(Inherited from CMSDataContextBaseParentType.)
Public propertySiteName
Context site name.
(Inherited from CMSDataContextBaseParentType.)
Public propertySiteObjects
Returns the list of all site objects (entry point to site objects).
(Inherited from CMSDataContextBaseParentType.)
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyUseLocalProperties
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.)
Top
Methods
  NameDescription
Public methodCombineWith
Combines current instance with other properties (modifies current instace!). List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.)
Public methodGetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.)
Protected methodGetPropertyType
Gets the type of the given property
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.)
Public methodHasSetter
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObjectTObject.)
Protected methodLoadObjects
Loads GlobalObjects and SiteObjects lists.
(Inherited from CMSDataContextBaseParentType.)
Protected methodLoadObjectType
Loads the given object type
(Inherited from CMSDataContextBaseParentType.)
Protected methodRegisterColumn(String, FuncTObject, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumns
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterProperties
Registers the object properties.
(Inherited from CMSDataContextBaseParentType.)
Protected methodRegisterProperty(String, FuncTObject, Object)
Registers the given property to the object
(Inherited from AbstractHierarchicalObjectTObject.)
Protected methodRegisterProperty(String, Object, FuncTObject, Object, Object)
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodSetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodSetValue
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.)
Public methodTryGetProperty(String, Object)
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodTryGetProperty(String, Object, Boolean)
Returns value of property.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.)
Top
See Also