Class ContactGroupInfo
- Namespace
- CMS.ContactManagement
- Assembly
- CMS.ContactManagement.dll
ContactGroupInfo data container class.
[InfoCache(InfoCacheBy.ID|InfoCacheBy.Name)]
public class ContactGroupInfo : AbstractInfo<ContactGroupInfo, IContactGroupInfoProvider>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithGuid, IInfoWithName
- Inheritance
-
objectContactGroupInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
ContactGroupInfo()
Constructor - Creates an empty ContactGroupInfo object.
public ContactGroupInfo()
ContactGroupInfo(DataRow)
Constructor - Creates a new ContactGroupInfo object from the given DataRow.
public ContactGroupInfo(DataRow dr)
Parameters
dr
DataRowDataRow with the object data
Fields
OBJECT_TYPE
Object type for contact group.
public const string OBJECT_TYPE = "om.contactgroup"
Field Value
- string
OBJECT_TYPE_RECIPIENT_LIST
Object type for recipient list.
public const string OBJECT_TYPE_RECIPIENT_LIST = "om.recipientlist"
Field Value
- string
TYPEINFO
Type information.
public static ObjectTypeInfo TYPEINFO
Field Value
TYPEINFO_RECIPIENT_LIST
Type information for recipient list.
public static ObjectTypeInfo TYPEINFO_RECIPIENT_LIST
Field Value
Properties
ContactGroupDescription
Gets or sets the description of the contact group.
public virtual string ContactGroupDescription { get; set; }
Property Value
- string
ContactGroupDisplayName
Gets or sets the display name of the contact group.
public virtual string ContactGroupDisplayName { get; set; }
Property Value
- string
ContactGroupDynamicCondition
Gets or sets the macro condition of given group.
public virtual string ContactGroupDynamicCondition { get; set; }
Property Value
- string
ContactGroupEnabled
Gets or sets if the contact group is enabled.
public virtual bool ContactGroupEnabled { get; set; }
Property Value
- bool
ContactGroupGUID
Gets or sets the contact group's unique identifier.
public virtual Guid ContactGroupGUID { get; set; }
Property Value
- Guid
ContactGroupID
Gets or sets the ID of the contact group.
public virtual int ContactGroupID { get; set; }
Property Value
- int
ContactGroupIsRecipientList
Gets or sets if the contact group is recipient group.
public virtual bool ContactGroupIsRecipientList { get; set; }
Property Value
- bool
ContactGroupLastModified
Gets or sets the date and time when the contact group was last modified.
public virtual DateTime ContactGroupLastModified { get; set; }
Property Value
- DateTime
ContactGroupName
Gets or sets the name of the contact group.
public virtual string ContactGroupName { get; set; }
Property Value
- string
ContactGroupStatus
Gets or sets status of dynamic contact group.
public virtual ContactGroupStatusEnum ContactGroupStatus { get; set; }
Property Value
IsRebuildScheduled
Gets whether the contact group is being automatically rebuilt.
public virtual bool IsRebuildScheduled { get; }
Property Value
- bool
TypeInfo
Type information.
public override ObjectTypeInfo TypeInfo { get; }
Property Value
Methods
DeleteObject()
Deletes the object using appropriate provider.
protected override void DeleteObject()
InsertAsCloneInternal(CloneSettings, CloneResult, BaseInfo)
Inserts cloned object to DB.
protected override void InsertAsCloneInternal(CloneSettings settings, CloneResult result, BaseInfo originalObject)
Parameters
settings
CloneSettingsCloning settings
result
CloneResultCloning result
originalObject
BaseInfoOriginal source BaseInfo (object being cloned)
RegisterProperties()
Register the custom properties
protected override sealed void RegisterProperties()
RemoveObjectDependencies(bool, bool)
Removes dependencies when deleting contact group.
protected override void RemoveObjectDependencies(bool deleteAll = false, bool clearHashtables = true)
Parameters
deleteAll
boolclearHashtables
bool
SetObject()
Updates the object using appropriate provider.
protected override void SetObject()