Click or drag to resize
ContactManagementContext Class
Contact context method and variables.
Inheritance Hierarchy
SystemObject
  CMS.BaseAbstractSimpleDataContainerContactManagementContext
    CMS.BaseAbstractDataContainerContactManagementContext
      CMS.BaseAbstractHierarchicalObjectContactManagementContext
        CMS.BaseContextContainerContactManagementContext
          CMS.BaseAbstractContextContactManagementContext
            CMS.ContactManagementContactManagementContext

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 12.0.0
Syntax
C#
public class ContactManagementContext : AbstractContext<ContactManagementContext>

The ContactManagementContext type exposes the following members.

Constructors
  NameDescription
Public methodContactManagementContext
Top
Properties
  NameDescription
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainerParentObjectType.)
Public propertyStatic memberCurrentContact
Current contact info.
Public propertyStatic memberCurrentContactID
Current contact ID.
Public propertyIsDefault
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.)
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyKey
Unique container key
(Inherited from ContextContainerTParent.)
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.)
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 methodClearCurrent
Clears the current context value
(Inherited from ContextContainerTParent.)
Public methodCloneForNewThread
Clones the object for new thread
(Inherited from AbstractContextTContext.)
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 methodEnsureCurrent (Inherited from ContextContainerTParent.)
Public methodStatic memberGetCurrentContact(Boolean)
Returns current contact. Tries to find contact in persistent storage, obtains it from the users or tries to recognize it according to known information. If no contact can be found and createAnonymous is true (default), it creates a new anonymous contact. If Online marketing is not enabled or there is no license for ContactManagement found, null is returned. Also, null is returned if request is made by crawler (googlebot, etc.). Currently authenticated user is used to find contacts.
Public methodStatic memberGetCurrentContact(CurrentUserInfo, Boolean) Obsolete.
Returns current contact. Tries to find contact in persistent storage, obtains it from the users or tries to recognize it according to known information. If no contact can be found, it creates a new anonymous contact. If Online marketing is not enabled or there is no license for ContactManagement found, null is returned. Also, null is returned if request is made by crawler (googlebot, etc.).
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 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 properties of this object
(Inherited from AbstractHierarchicalObjectTObject.)
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 methodSetAsCurrent
Sets the current instance as the current thread item
(Inherited from ContextContainerTParent.)
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.)
Public methodStatic memberUpdateUserLoginContact
Returns the contact assigned to the specified user. The contact is retrieved from persistent storage and is compared with all the contacts related to the given user. Applies contact merging to resolve the conflicts when the selected contact is already in relationship with another user.
Top
See Also