Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.apache.slide.structure

Contains classes for navigating and manipulating the hierarchy of nodes in a namespace.

See:
Description

Interface Summary
Structure | Structure helper.

Class Summary
ActionNode | Action node class.
GroupNode | GroupNode class
LinkNode | Link node class.
ObjectNode | Represents any kind of object node.
ObjectNode.Binding | Represents an binding bindingName -> UURI
ObjectNode.BindingList |
ObjectNode.ParentBinding | Represents an binding bindingName -> UURI
ObjectNode.ParentBindingList |
StructureImpl | Default implementation of the Structure interface.
SubjectNode | Subject node class.

Exception Summary
CrossServerBindingException | Linked object not found.
LinkedObjectNotFoundException | Linked object not found.
ObjectAlreadyExistsException | Object already exists.
ObjectHasChildrenException | Object has children.
ObjectNotFoundException | Object not found.
StructureException | Data exception.

## Package org.apache.slide.structure Description

Contains classes for navigating and manipulating the hierarchy of nodes in a namespace.

### Nodes

The hierarchy of a namespace is composed of nodes. Each node can have children (called sub-nodes). Just like in a filesystem, nodes have different types. `ObjectNode` is an abstract data type that can represent any node in the namespace structure. In addition, every node must be of either of the following concrete types:

- `SubjectNode` is the most common type of node used in a namespace. A subject can be a file, a directory or a principal.
- `LinkNode` represents a node that is a link to another node in the same namespace.
- `GroupNode` is used to define a group of nodes (usually of users).
- `ActionNode` is a type for defining available actions on nodes.

The type of a node determines which roles that node has. See the `Security` package for more information on roles.

### Structure Helper

The central point in this package is the `Structure` interface, also referred to as the Structure Helper, which you can access using the `NamespaceAccessToken.getStructureHelper()` method. It provides all the methods required to access and manipulate the node hierarchy of a namespace.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES