| Overview Principles Object Model
NodeRevisionDescriptors
NodeRevisionDescriptor
NodeProperty
NodeRevisionContent
NodeRevisionNumber
Overview
Slide provides transparent versioning for the content of the objects it
manages. By default linear versioning is automatically provided, but the
client can use helper functions to create and merge branches. The
versioning component also manages the metadata associated on the
objects, like for example its size and creation date.
Principles
Each ObjectNode which has content has associated
NodeRevisionDescriptors and NodeRevisionDescriptor objects. These
objects manage :
|
| The metadata associated with the object |
| The revision tree |
The basic metadata include :
|
| Client friendly name |
| Creation date |
| Content type |
| Content language (if applicable) |
The client application can modify metadata fields, add additional
fields, ...
Object Model
NodeRevisionDescriptors
The NodeRevisionDescriptors class represents the revision tree of an
object. This object is immutable.
|
|
Object: Uri of the asssociated node.
|
|
Use Versioning: Flag which indicates whether or not a node has
multiple revisions.
|
|
Latest Revision Numbers: Indicates what is the latest revision
number in each branch.
|
|
Branches: Revision numbers of all the revisions of the node.
|
NodeRevisionDescriptor
The NodeRevisionDescriptor class represents all the metadata
information associated with the binary content of a revision.
This includes information on the revision itself, labels and
properties.
|
|
Branch Name: Name of the branch in which this revision is.
|
|
Number: Revision number.
|
|
Labels: Labels (tags) associated with the revision.
|
|
Properties: Properties associated with the revision. The default
properties are: creation date, name, type, source, content length,
last modification date.
|
NodeProperty
The NodeProperty class represents an individual property associated
to a revision. This object is immutable.
|
|
Name: Property name.
|
|
Namespace: Property namespace.
|
|
Value: Property value.
|
|
Type: Property type.
|
NodeRevisionContent
The NodeRevisionContent class gives access to the revision's binary
content.
NodeRevisionNumber
The NodeRevisionNumber class represents the revision number of a
revision. This object is immutable.
|
| |
$Revision$ $Author$ $Date$
Java, JDBC, JNDI, JTA, JMS, Sun, Sun Microsystems are trademarks
or registered trademarks of Sun Microsystems, Inc. in the United States
and in other countries. All other product names mentioned herein are
trademarks of their respective owners.
The Apache Software Foundation.
(C) 2000-2001. All rights reserved
|