Provides interfaces and classes for the Content Repository for Java Technology.
Interface Summary Interface Description BinaryA
Binaryobject holds a JCR property value of type
CredentialsInterface for all credentials that may be passed to the
Repository.login(Credentials credentials, String workspaceName)method.
ImportUUIDBehaviorThe possible actions specified by the
Workspace.importXML(java.lang.String, java.io.InputStream, int),
Session.importXML(java.lang.String, java.io.InputStream, int),
Item ItemVisitorThis interface defines two signatures of the
visitmethod; one taking a
Node, the other a
NamespaceRegistryEach repository has a single, persistent namespace registry represented by the
NamespaceRegistryobject, accessed via
Nodeinterface represents a node in a workspace.
NodeIteratorAllows easy iteration through a list of
nextNodeas well as a
skipmethod inherited from
Propertyobject represents the smallest granularity of content storage.
PropertyIteratorAllows easy iteration through a list of
nextPropertyas well as a
RepositoryThe entry point into the content repository. RepositoryFactory
RepositoryFactoryis a factory for
Sessionobject provides read and (in level 2) write access to the content of a particular workspace in the repository.
ValueA generic holder for the value of a property. ValueFactoryThe
ValueFactoryobject provides methods for the creation Value objects that can then be used to set properties.
Workspaceobject represents a view onto a persitent workspace within a repository.
Class Summary Class Description GuestCredentials
Credentialsinterface and is used to obtain a "guest", "public" or "anonymous" session.
PropertyTypeThe property types supported by the JCR standard. SimpleCredentials
Credentialsinterface and represents simple user ID/password credentials.
Exception Summary Exception Description AccessDeniedExceptionException thrown by access-related methods. InvalidItemStateException InvalidLifecycleTransitionExceptionException thrown by Lifecycle management-related methods. InvalidSerializedDataExceptionException thrown by the deserialization methods of
Sessionif the serialized data being input has an invalid format.
ItemExistsExceptionAn exception thrown when an attempt is made to place an item in a position where another item already exists. ItemNotFoundException LoginException MergeExceptionException thrown by
Node.merge(String srcWorkspace, boolean isDeep).
NamespaceExceptionException thrown by
if the specified
Session.setNamespacePrefix(String prefix, String uri)
uriis not registered in the
NoSuchWorkspaceExceptionException thrown by
when a specific workspace is not found.
PathNotFoundExceptionException thrown when no
Itemexists at the specified path or when the specified path implies intermediary
Nodes that do not exist.
ReferentialIntegrityExceptionException thrown on referential integrity violation. RepositoryExceptionMain exception thrown by classes in this package. UnsupportedRepositoryOperationExceptionThrown by methods that are not supported by a particular implementation. ValueFormatExceptionException thrown when an attempt is made to assign a value to a property that has an invalid format, given the type of the property.