DOFPermissionBindingBuilder ClassOpenDOF Object Access Library
This is the builder for a DOFPermission.Binding.
Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public methodDOFPermissionBindingBuilder(Int32)
Create a Binding builder with one or more actions. By default, this will allow all objectIDs, all interfaceIDs, and no attributes.
Public methodDOFPermissionBindingBuilder(DOFPermissionBinding)
Create a Binding builder from an existing permission.
Top
Methods

  NameDescription
Public methodaddActions
Add one or more actions to the permission request.
Public methodaddInterfaceID
Add an interface identifier to the list of current interface identifiers for this permission.
Public methodaddInterfaceIDs
Add a list of interface identifiers to the list of current interface identifiers for this permission.
Public methodaddObjectID
Add an object identifier to the list of current object identifiers for this permission.
Public methodaddObjectIDs
Add a list of object identifiers to the list of current object identifiers for this permission.
Public methodaddRequiredAttribute
Add an object identifier attribute to the list of current required object identifier attributes for this permission.
Public methodaddRequiredAttributes
Add a list of attributes to the list of current required object identifier attributes for this permission.
Public methodaddWildcardAttribute
Add a wildcard attribute (any data) of a specific type to a binding permission builder.
Public methodbuild
Construct a new DOFPermission.Binding based on the builder's current set of actions, interfaces and objects.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodsetActions
Remove all current actions and then set the actions to the new value.
Public methodsetAllAttributesAllowed
Set all attributes (any type, any data) to a binding permission builder.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This is the builder for a DOFPermission.Binding. Bindings are immutable once built, so this allows creation and modification until that point.
See Also

Reference