Click or drag to resize

ContentRestriction Class

Represents a content restriction based on a visitor profile.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Analytics.Profiles.IntegrationContentRestriction

Namespace:  Dynamicweb.Analytics.Profiles.Integration
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public class ContentRestriction

The ContentRestriction type exposes the following members.

Constructors
  NameDescription
Public methodContentRestriction
Initializes a new instance of an object.
Public methodContentRestriction(ContentRestriction)
Initializes a new instance of an object.
Top
Properties
  NameDescription
Public propertyApplyMode
Gets or sets the apply mode.
Public propertyEvaluationType
Gets or sets the evaluation type.
Public propertyID
Gets the unique identifier of this restriction.
Public propertyItemID
Gets or sets the item ID.
Public propertyItemType
Gets or sets the item type.
Public propertyPresetID
Gets or sets the ID of the preset that is used instead of specifying profiles explicitly.
Public propertyProfiles
Gets or sets the collection of profiles that are subject of this restriction.
Top
Methods
  NameDescription
Public methodStatic memberClearCache
Clears cache.
Public methodContainsProfile(String)
Determines whether the given visitor profile is in scope of this restriction.
Public methodContainsProfile(Profile)
Determines whether the given visitor profile is in scope of this restriction.
Public methodCopyTo
Copies the state of the current object into the given one.
Public methodDelete
Deletes the current content restriction.
Public methodStatic memberDeleteRestrictionByID
Deletes the given content restriction.
Public methodStatic memberDeleteRestrictionByItem
Deletes the given content restriction.
Public methodStatic memberDeleteRestrictions
Deletes all content restrictions.
Public methodStatic memberDeleteRestrictionsByPreset
Deletes all content restrictions that has the given preset attached.
Public methodStatic memberDeleteRestrictionsByProfile(String)
Deletes all restrictions that references the given profile.
Public methodStatic memberDeleteRestrictionsByProfile(ContentRestrictionData)
Deletes all restrictions that references the given profile.
Public methodStatic memberDeleteRestrictionsByProfile(Profile)
Deletes all restrictions that references the given profile.
Public methodStatic memberDeleteRestrictionsByType
Deletes all content restrictions with the given item type.
Public methodStatic memberGetRestrictionByID
Returns existing content restriction by its ID.
Public methodStatic memberGetRestrictionByItem
Returns an existing content restriction by its item ID and item type.
Public methodStatic memberGetRestrictions
Returns a list of all content restrictions.
Public methodStatic memberGetRestrictionsByType
Returns a list of all content restrictions with the given item type.
Public methodSave
Saves the current content restriction.
Top
See Also