Copyright© 2008-2022 Sitevision AB, all rights reserved.
Package | Description |
---|---|
javax.jcr |
Provides interfaces and classes for the Content Repository for Java Technology.
|
javax.jcr.nodetype |
This package provides interfaces and classes for content repository node type functionality.
|
javax.jcr.query |
Provides interfaces and classes for content repository searching functionality.
|
javax.jcr.version |
Provides interfaces and classes for content repository versioning functionality.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.cancelMerge(Version version)
Deprecated.
As of JCR 2.0,
VersionManager.cancelMerge(java.lang.String, javax.jcr.version.Version)
should be used instead. |
Version |
Node.checkin()
Deprecated.
As of JCR 2.0,
VersionManager.checkin(java.lang.String)
should be used instead. |
void |
Node.checkout()
Deprecated.
As of JCR 2.0,
VersionManager.checkout(java.lang.String)
should be used instead. |
void |
Workspace.createWorkspace(String name)
Creates a new
Workspace with the specified
name . |
void |
Workspace.createWorkspace(String name,
String srcWorkspace)
Creates a new
Workspace with the specified name
initialized with a clone of the content of the workspace
srcWorkspace . |
void |
Workspace.deleteWorkspace(String name)
Deletes the workspace with the specified
name from the
repository, deleting all content within it. |
void |
Node.doneMerge(Version version)
Deprecated.
As of JCR 2.0,
VersionManager.doneMerge(java.lang.String, javax.jcr.version.Version)
should be used instead. |
void |
Node.followLifecycleTransition(String transition)
Causes the lifecycle state of this node to undergo the specified
transition . |
AccessControlManager |
Session.getAccessControlManager()
Returns the access control manager for this
Session . |
String[] |
Node.getAllowedLifecycleTransistions()
Returns the list of valid state transitions for this node.
|
Version |
Node.getBaseVersion()
Deprecated.
As of JCR 2.0,
VersionManager.getBaseVersion(java.lang.String)
should be used instead. |
Lock |
Node.getLock()
Deprecated.
As of JCR 2.0,
LockManager.getLock(String) should be
used instead. |
LockManager |
Workspace.getLockManager()
Returns the
LockManager object, through which locking
methods are accessed. |
ObservationManager |
Workspace.getObservationManager()
Returns the
ObservationManager object. |
RetentionManager |
Session.getRetentionManager()
Returns the retention and hold manager for this
Session . |
String |
Node.getUUID()
Deprecated.
As of JCR 2.0,
Node.getIdentifier() should be used
instead. |
ValueFactory |
Session.getValueFactory()
This method returns a
ValueFactory that is used to create
Value objects for use when setting repository properties. |
VersionHistory |
Node.getVersionHistory()
Deprecated.
As of JCR 2.0,
VersionManager.getVersionHistory(java.lang.String)
should be used instead. |
VersionManager |
Workspace.getVersionManager()
Returns the
VersionManager object. |
Lock |
Node.lock(boolean isDeep,
boolean isSessionScoped)
Deprecated.
As of JCR 2.0,
LockManager.lock(String, boolean,
boolean, long, String) should be used instead. |
void |
Node.orderBefore(String srcChildRelPath,
String destChildRelPath)
If this node supports child node ordering, this method inserts the child
node at
srcChildRelPath into the child node list at the
position immediately the child node at destChildRelPath . |
void |
NamespaceRegistry.registerNamespace(String prefix,
String uri)
Sets a one-to-one mapping between
prefix and
uri in the global namespace registry of this repository. |
void |
Node.restore(String versionName,
boolean removeExisting)
Deprecated.
As of JCR 2.0,
VersionManager.restore(javax.jcr.version.Version[], boolean)
should be used instead. |
void |
Workspace.restore(Version[] versions,
boolean removeExisting)
Deprecated.
As of JCR 2.0,
VersionManager.restore(javax.jcr.version.Version[], boolean)
should be used instead. |
void |
Node.restore(Version version,
boolean removeExisting)
Deprecated.
As of JCR 2.0,
VersionManager.restore(javax.jcr.version.Version[], boolean)
should be used instead. |
void |
Node.restore(Version version,
String relPath,
boolean removeExisting)
Deprecated.
As of JCR 2.0,
VersionManager.restore(javax.jcr.version.Version[], boolean)
should be used instead. |
void |
Node.restoreByLabel(String versionLabel,
boolean removeExisting)
Deprecated.
As of JCR 2.0,
VersionManager.restoreByLabel(java.lang.String, java.lang.String, boolean)
should be used instead. |
void |
Node.unlock()
Deprecated.
As of JCR 2.0,
LockManager.unlock(String) should be
used instead. |
void |
NamespaceRegistry.unregisterNamespace(String prefix)
Removes a namespace mapping from the registry.
|
Modifier and Type | Method and Description |
---|---|
NodeDefinitionTemplate |
NodeTypeManager.createNodeDefinitionTemplate()
Returns an empty
NodeDefinitionTemplate which can then be
used to create a child node definition and attached to a
NodeTypeTemplate . |
NodeTypeTemplate |
NodeTypeManager.createNodeTypeTemplate()
Returns an empty
NodeTypeTemplate which can then be used to
define a node type and passed to NodeTypeManager.registerNodeType . |
NodeTypeTemplate |
NodeTypeManager.createNodeTypeTemplate(NodeTypeDefinition ntd)
Returns a
NodeTypeTemplate holding the specified node type
definition. |
PropertyDefinitionTemplate |
NodeTypeManager.createPropertyDefinitionTemplate()
Returns an empty
PropertyDefinitionTemplate which can then
be used to create a property definition and attached to a
NodeTypeTemplate . |
NodeType |
NodeTypeManager.registerNodeType(NodeTypeDefinition ntd,
boolean allowUpdate)
Registers a new node type or updates an existing node type using the
specified definition and returns the resulting
NodeType
object. |
NodeTypeIterator |
NodeTypeManager.registerNodeTypes(NodeTypeDefinition[] ntds,
boolean allowUpdate)
Registers or updates the specified array of
NodeTypeDefinition
objects. |
void |
NodeTypeManager.unregisterNodeType(String name)
Unregisters the specified node type.
|
void |
NodeTypeManager.unregisterNodeTypes(String[] names)
Unregisters the specified set of node types.
|
Modifier and Type | Method and Description |
---|---|
Node |
Query.storeAsNode(String absPath)
Creates a node of type
nt:query holding this query at
absPath and returns that node. |
Modifier and Type | Method and Description |
---|---|
void |
VersionManager.cancelMerge(String absPath,
Version version)
Cancels the merge process with respect to the node at
absPath and the specified version . |
Version |
VersionManager.checkin(String absPath)
Creates for the versionable node at
absPath a new version
with a system generated version name and returns that version (which will
be the new base version of this node). |
void |
VersionManager.checkout(String absPath)
Sets the versionable node at
absPath to checked-out status
by setting its jcr:isCheckedOut property to
true . |
Version |
VersionManager.checkpoint(String absPath)
Performs a
checkin() followed by a checkout()
on the versionable node at absPath . |
Node |
VersionManager.createActivity(String title)
This method creates a new
nt:activity at an
implementation-determined location in the /jcr:system/jcr:activities
subgraph. |
Node |
VersionManager.createConfiguration(String absPath)
Calling
createConfiguration on the node N at
absPath creates, in the configuration storage, a new
nt:configuration node whose root is N. |
void |
VersionManager.doneMerge(String absPath,
Version version)
Completes the merge process with respect to the node at
absPath and the specified version . |
Node |
VersionManager.getActivity()
Returns the node representing the current activity or
null
if there is no current activity. |
Version |
VersionManager.getBaseVersion(String absPath)
Returns the current base version of the versionable node at
absPath . |
VersionHistory |
VersionManager.getVersionHistory(String absPath)
Returns the
VersionHistory object of the node at
absPath . |
void |
VersionManager.removeActivity(Node activityNode)
This method removes the given
activityNode and all REFERENCE properties
within all workspaces that refer to the activityNode . |
void |
VersionHistory.removeVersion(String versionName)
Removes the named version from this version history and automatically
repairs the version graph.
|
void |
VersionManager.restore(String absPath,
String versionName,
boolean removeExisting)
Restores the node at
absPath to the state defined by the
version with the specified versionName . |
void |
VersionManager.restore(String absPath,
Version version,
boolean removeExisting)
Restores the specified version to
absPath . |
void |
VersionManager.restore(Version[] versions,
boolean removeExisting)
Restores a set of versions at once.
|
void |
VersionManager.restore(Version version,
boolean removeExisting)
Restores the node in the current workspace that is the versionable node of the
specified
version to the state reflected in that version. |
void |
VersionManager.restoreByLabel(String absPath,
String versionLabel,
boolean removeExisting)
Restores the version of the node at
absPath with the
specified version label. |
Node |
VersionManager.setActivity(Node activity)
This method is called by the client to set the current activity on the
current session by specifying a previously created
nt:activity
node (see VersionManager.createActivity(java.lang.String) ). |
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.