Click or drag to resize

ContentPermissionContextEntry Class

Represents a particular permission or privilege of a state or globally.
Inheritance Hierarchy
SystemObject
  Packflow.ModelingModelingObject
    Packflow.ModelingContentPermissionContextEntry

Namespace:  Packflow.Modeling
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public class ContentPermissionContextEntry : ModelingObject

The ContentPermissionContextEntry type exposes the following members.

Constructors
  NameDescription
Public methodContentPermissionContextEntry
Initializes a new instance of the ContentPermissionContextEntry class.
Top
Properties
  NameDescription
Public propertyEveryone
Gets or sets a value indicating whether this ContentPermissionContextEntry grants its permissions to all users.
Public propertyGuid
Gets the GUID identifying this object.
(Inherited from ModelingObject.)
Public propertyId
Gets the id identifying this object.
(Inherited from ModelingObject.)
Public propertyInstanceGuid
Gets a guid, unique for this object instance.
(Inherited from ModelingObject.)
Public propertyInstanceLanguage
Gets or sets the instance language (two letters format).
(Inherited from ModelingObject.)
Public propertyIsExtended
Gets a value indicating whether this object is Extended or not, allowing to avoid an "is" verification.
(Inherited from ModelingObject.)
Public propertyModel
Gets the model hosting this object. The Model is the root object of the modeling tree.
(Inherited from ModelingObject.)
Public propertyName
Gets the name of this object.
(Inherited from ModelingObject.)
Public propertyParent
Gets the parent object in the modeling tree.
(Inherited from ModelingObject.)
Public propertyParentType
Gets the type of the parent object in the modeling tree.
(Inherited from ModelingObject.)
Public propertyPermissionTypeKey
Gets or sets the permission type key. Only relevant if the type is set to Permission.
Public propertyPrivilegeKey
Gets or sets the privilege key. Only relevant if the type is set to Privilege.
Public propertyStateId
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.
Public propertyType
Gets or sets the type (permission or privilege).
Public propertyValues
Gets the values, representing the users receiving the permissions.
Top
Methods
  NameDescription
Public methodAddColumnValue
Adds a new column value, referencing a user column.
Public methodAddRoleValue
Adds a new value, referencing a role.
Public methodAddValue
Adds a new value.
Public methodAddValue(ContentPermissionContextEntryValueType)
Adds a new value.
Public methodChildren
Returns all children objects.
(Inherited from ModelingObject.)
Public methodDeleteValue
Deletes the specified value.
Public methodGetGuid
Gets the Guid.
(Inherited from ModelingObject.)
Public methodGetKey
Gets the key of the concerned permission or privilege, depending on the type.
Public methodGetListItem
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.)
Public methodGetName
Gets the name.
(Inherited from ModelingObject.)
Public methodGetParentParentType
Returns the first parent of a given type in the modeling tree. Returns null if not found.
(Inherited from ModelingObject.)
Public methodGetValue(Guid)
Gets a value by its GUID.
Public methodGetValue(Int32)
Gets a value by its id.
Public methodGetValuesString
Gets a display text containing all values.
Public methodIsEmpty
Determines whether this entry gives no permission.
Public methodIsGlobal
Determines whether this instance is global (=is not related to a particular state).
Public methodIsRelatedTo
Determines whether this is entry is related to the specified permission type or to a privilege including it.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Public methodToString(Boolean)
Returns a String that represents this instance.
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also