This is the builder for a DOFPermission.Binding.
Inheritance Hierarchy
org.opendof.core.oal.securityDOFPermissionBindingBuilder
Namespace: org.opendof.core.oal.security
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public sealed class Builder
The DOFPermissionBindingBuilder type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DOFPermissionBindingBuilder(Int32) |
Create a
Binding
builder with one or more actions. By default, this will allow all objectIDs, all interfaceIDs, and no attributes.
| |
| DOFPermissionBindingBuilder(DOFPermissionBinding) |
Create a
Binding
builder from an existing permission.
|
Methods
| Name | Description | |
|---|---|---|
| addActions | Add one or more actions to the permission request. | |
| addInterfaceID | Add an interface identifier to the list of current interface identifiers for this permission.
| |
| addInterfaceIDs | Add a list of interface identifiers to the list of current interface identifiers for this permission.
| |
| addObjectID | Add an object identifier to the list of current object identifiers for this permission.
| |
| addObjectIDs | Add a list of object identifiers to the list of current object identifiers for this permission.
| |
| addRequiredAttribute | Add an object identifier attribute to the list of current required object identifier attributes for this permission.
| |
| addRequiredAttributes | Add a list of attributes to the list of current required object identifier attributes for this permission.
| |
| addWildcardAttribute | Add a wildcard attribute (any data) of a specific type to a binding permission builder.
| |
| build | Construct a new DOFPermission.Binding based on the builder's current set of actions, interfaces and objects.
| |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| setActions | Remove all current actions and then set the actions to the new value. | |
| setAllAttributesAllowed | Set all attributes (any type, any data) to a binding permission builder.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
See Also