ContentPermissionContextEntry Class |
Namespace: Packflow.Modeling
public class ContentPermissionContextEntry : ModelingObject
The ContentPermissionContextEntry type exposes the following members.
| Name | Description | |
|---|---|---|
| ContentPermissionContextEntry |
Initializes a new instance of the ContentPermissionContextEntry class.
|
| Name | Description | |
|---|---|---|
| Everyone |
Gets or sets a value indicating whether
this ContentPermissionContextEntry grants its permissions to all users.
| |
| Guid |
Gets the GUID identifying this object.
(Inherited from ModelingObject.) | |
| Id |
Gets the id identifying this object.
(Inherited from ModelingObject.) | |
| InstanceGuid |
Gets a guid, unique for this object instance.
(Inherited from ModelingObject.) | |
| InstanceLanguage |
Gets or sets the instance language (two letters format).
(Inherited from ModelingObject.) | |
| IsExtended |
Gets a value indicating whether this object is Extended or not, allowing to avoid an "is" verification.
(Inherited from ModelingObject.) | |
| Model |
Gets the model hosting this object. The Model is the root object of the modeling tree.
(Inherited from ModelingObject.) | |
| Name |
Gets the name of this object.
(Inherited from ModelingObject.) | |
| Parent |
Gets the parent object in the modeling tree.
(Inherited from ModelingObject.) | |
| ParentType |
Gets the type of the parent object in the modeling tree.
(Inherited from ModelingObject.) | |
| PermissionTypeKey |
Gets or sets the permission type key. Only relevant if the type is set to Permission.
| |
| PrivilegeKey |
Gets or sets the privilege key. Only relevant if the type is set to Privilege.
| |
| StateId |
Gets or sets the state id.
If this value is less or equal to 0, this means that this entry
is global and affects the permissions at all states.
| |
| Type |
Gets or sets the type (permission or privilege).
| |
| Values |
Gets the values, representing the users receiving the permissions.
|
| Name | Description | |
|---|---|---|
| AddColumnValue |
Adds a new column value, referencing a user column.
| |
| AddRoleValue |
Adds a new value, referencing a role.
| |
| AddValue |
Adds a new value.
| |
| AddValue(ContentPermissionContextEntryValueType) |
Adds a new value.
| |
| Children |
Returns all children objects.
(Inherited from ModelingObject.) | |
| DeleteValue |
Deletes the specified value.
| |
| GetGuid |
Gets the Guid.
(Inherited from ModelingObject.) | |
| GetKey |
Gets the key of the concerned permission or privilege, depending on the type.
| |
| GetListItem |
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.) | |
| GetName |
Gets the name.
(Inherited from ModelingObject.) | |
| GetParentParentType |
Returns the first parent of a given type in the modeling tree.
Returns null if not found.
(Inherited from ModelingObject.) | |
| GetValue(Guid) |
Gets a value by its GUID.
| |
| GetValue(Int32) |
Gets a value by its id.
| |
| GetValuesString |
Gets a display text containing all values.
| |
| IsEmpty |
Determines whether this entry gives no permission.
| |
| IsGlobal |
Determines whether this instance is global (=is not related to a particular state).
| |
| IsRelatedTo |
Determines whether this is entry is related
to the specified permission type or to a privilege including it.
| |
| ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) | |
| ToString(Boolean) |
Returns a String that represents this instance.
|
| Name | Description | |
|---|---|---|
| AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
| EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
| EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
| GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
| IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
| IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
| Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |