# Uses of Interface
com.orchestranetworks.service.AccessRule

Packages that use AccessRule
Package
Description
com.orchestranetworks.schema
Represents XML Schema concepts and provides schema extensions capabilities.
com.orchestranetworks.service
Provides classes and interfaces for implementing specific services and access rules on EBX®.

- ## Uses of AccessRule in com.orchestranetworks.schema

  Methods in com.orchestranetworks.schema with parameters of type AccessRule
  Modifier and Type
  Method
  Description
  `void`
  SchemaExtensionsContext.`setAccessRuleOnInstance(AccessRule aRule)`
  Sets an `AccessRule` on a dataset using this schema without specifying a custom description.
  `void`
  SchemaExtensionsContext.`setAccessRuleOnInstance(AccessRule aRule, UserMessage aDescription)`
  Declares that global access to a dataset may be restricted by the specified rule.
  `void`
  SchemaExtensionsContext.`setAccessRuleOnNode(Path aPath, AccessRule aRule)`
  Sets an `AccessRule` on a node without specifying a custom description.
  `void`
  SchemaExtensionsContext.`setAccessRuleOnNode(Path aPath, AccessRule aRule, UserMessage aDescription)`
  Declares that the access to an element may be restricted by the specified rule.
  `void`
  SchemaExtensionsContext.`setAccessRuleOnNodeAndAllDescendants(Path aSubTreePath, boolean includeRoot, AccessRule aRule)`
  Sets an `AccessRule` on a node subtree without specifying a custom description.
  `void`
  SchemaExtensionsContext.`setAccessRuleOnNodeAndAllDescendants(Path aSubTreePath, boolean includeRoot, AccessRule aRule, UserMessage aDescription)`
  Declares that the access to an element's subtree may be restricted by the specified rule.
  `void`
  SchemaExtensionsContext.`setAccessRuleOnOccurrence(Path aTablePath, AccessRule aRule)`
  Sets an `AccessRule` on an table record without specifying a custom description.
  `void`
  SchemaExtensionsContext.`setAccessRuleOnOccurrence(Path aTablePath, AccessRule aRule, UserMessage aDescription)`
  Declares that global access to a table record in the data model may be restricted by the specified rule.

- ## Uses of AccessRule in com.orchestranetworks.service

  Classes in com.orchestranetworks.service that implement AccessRule
  Modifier and Type
  Class
  Description
  `static final class`
  `AccessRule.NoWriteRule`
  Wraps another rule to return a maximum access level of read-only.
  Fields in com.orchestranetworks.service declared as AccessRule
  Modifier and Type
  Field
  Description
  `static final AccessRule`
  AccessRule.`ALWAYS_HIDDEN`
  Always returns hidden access permission.
  `static final AccessRule`
  AccessRule.`ALWAYS_READ_ONLY`
  Always returns read-only access permission.
  `static final AccessRule`
  AccessRule.`ALWAYS_READ_WRITE`
  Always returns read-write access permission.
  Methods in com.orchestranetworks.service that return AccessRule
  Modifier and Type
  Method
  Description
  `static AccessRule`
  AccessRule.NoWriteRule.`wrapRule(AccessRule aRule)`
  Methods in com.orchestranetworks.service with parameters of type AccessRule
  Modifier and Type
  Method
  Description
  `static AccessRule`
  AccessRule.NoWriteRule.`wrapRule(AccessRule aRule)`