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.lock |
Provides interfaces and classes for content repository locking functionality.
|
javax.jcr.query |
Provides interfaces and classes for content repository searching functionality.
|
javax.jcr.retention |
Provides interfaces and classes for content repository retention management
functionality.
|
javax.jcr.security |
Provides interfaces and classes for content repository access control management
functionality.
|
javax.jcr.version |
Provides interfaces and classes for content repository versioning functionality.
|
senselogic.sitevision.api.metadata |
Metadata utility interfaces
|
Modifier and Type | Method and Description |
---|---|
void |
Node.addMixin(String mixinName)
Adds the mixin node type named
mixinName to this node. |
Node |
Node.addNode(String relPath)
Creates a new node at
relPath . |
Node |
Node.addNode(String relPath,
String primaryNodeTypeName)
Creates a new node at
relPath of the specified node type. |
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.clone(String srcWorkspace,
String srcAbsPath,
String destAbsPath,
boolean removeExisting)
Clones the subgraph at the node
srcAbsPath in
srcWorkspace to the new location at destAbsPath
in this workspace. |
void |
Workspace.copy(String srcAbsPath,
String destAbsPath)
This method copies the subgraph rooted at, and including, the node at
srcAbsPath to the new location at destAbsPath . |
void |
Workspace.copy(String srcWorkspace,
String srcAbsPath,
String destAbsPath)
This method copies the subgraph at
srcAbsPath in
srcWorkspace to destAbsPath in
this workspace. |
ContentHandler |
Workspace.getImportContentHandler(String parentAbsPath,
int uuidBehavior)
Returns an
org.xml.sax.ContentHandler which can be used to
push SAX events into the repository. |
ContentHandler |
Session.getImportContentHandler(String parentAbsPath,
int uuidBehavior)
Returns an
org.xml.sax.ContentHandler which is used to push
SAX events to the repository. |
Lock |
Node.getLock()
Deprecated.
As of JCR 2.0,
LockManager.getLock(String) should be
used instead. |
void |
Workspace.importXML(String parentAbsPath,
InputStream in,
int uuidBehavior)
Deserializes an XML document and adds the resulting item subgraph as a
child of the node at
parentAbsPath . |
void |
Session.importXML(String parentAbsPath,
InputStream in,
int uuidBehavior)
Deserializes an XML document and adds the resulting item subgraph as a
child of the node at
parentAbsPath . |
Lock |
Node.lock(boolean isDeep,
boolean isSessionScoped)
Deprecated.
As of JCR 2.0,
LockManager.lock(String, boolean,
boolean, long, String) should be used instead. |
NodeIterator |
Node.merge(String srcWorkspace,
boolean bestEffort)
Deprecated.
As of JCR 2.0,
VersionManager.merge(java.lang.String, java.lang.String, boolean)
should be used instead. |
void |
Workspace.move(String srcAbsPath,
String destAbsPath)
Moves the node at
srcAbsPath (and its entire subgraph) to
the new location at destAbsPath . |
void |
Session.move(String srcAbsPath,
String destAbsPath)
Moves the node at
srcAbsPath (and its entire subgraph) to
the new location at destAbsPath . |
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 |
Item.remove()
Removes
this item (and its subgraph). |
void |
Session.removeItem(String absPath)
Removes the specified item and its subgraph.
|
void |
Node.removeMixin(String mixinName)
Removes the specified mixin node type from this node and removes
mixinName from this node's jcr:mixinTypes
property. |
void |
Node.removeShare()
Removes this node, but does not remove any other node in the shared set
of this node.
|
void |
Node.removeSharedSet()
Removes this node and every other node in the shared set of this node.
|
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 |
Item.save()
Validates all pending changes currently recorded in this
Session that apply to this Item or any of its
descendants (that is, the subgraph rooted at this Item). |
void |
Session.save()
Validates all pending changes currently recorded in this
Session . |
void |
Node.setPrimaryType(String nodeTypeName)
Changes the primary node type of this node to
nodeTypeName . |
Property |
Node.setProperty(String name,
BigDecimal value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a BigDecimal and, if possible, the type assigned to
the property is DECIMAL , otherwise a best-effort conversion
is attempted. |
Property |
Node.setProperty(String name,
Binary value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a Binary and, if possible, the type assigned to the
property is BINARY , otherwise a best-effort conversion is
attempted. |
Property |
Node.setProperty(String name,
boolean value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a boolean and, if possible, the type assigned
to the property is BOOLEAN , otherwise a best-effort
conversion is attempted. |
Property |
Node.setProperty(String name,
Calendar value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a Calendar and, if possible, the type assigned to
the property is DATE , otherwise a best-effort conversion is
attempted. |
Property |
Node.setProperty(String name,
double value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a double and, if possible, the type assigned to
the property is DOUBLE , otherwise a best-effort conversion
is attempted. |
Property |
Node.setProperty(String name,
InputStream value)
Deprecated.
As of JCR 2.0,
Node.setProperty(String, Binary) should be
used instead. |
Property |
Node.setProperty(String name,
long value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a long and, if possible, the type assigned to
the property is LONG , otherwise a best-effort conversion is
attempted. |
Property |
Node.setProperty(String name,
Node value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a Node and, if possible, the type assigned to the
property is REFERENCE or WEAKREFERENCE ,
otherwise a best-effort conversion is attempted. |
Property |
Node.setProperty(String name,
String value)
Sets the specified single-value property to the specified value.
|
Property |
Node.setProperty(String name,
String[] values)
Sets the specified property to the specified array of values.
|
Property |
Node.setProperty(String name,
String[] values,
int type)
Sets the specified property to the specified array of values and to the
specified type.
|
Property |
Node.setProperty(String name,
String value,
int type)
Sets the specified single-value property to the specified value.
|
Property |
Node.setProperty(String name,
Value value)
Sets the single-value property of this node called
name to
the specified value . |
Property |
Node.setProperty(String name,
Value[] values)
Sets the multi-value property of this node called
name to
the specified array of values. |
Property |
Node.setProperty(String name,
Value[] values,
int type)
Sets the multi-value property of this node called
name to
the specified array of values. |
Property |
Node.setProperty(String name,
Value value,
int type)
Sets the single-value property of this node called
name to
the specified value and the specified type . |
void |
Property.setValue(BigDecimal value)
Sets the value of this property to
value . |
void |
Property.setValue(Binary value)
Sets the value of this property to
value . |
void |
Property.setValue(boolean value)
Sets the value of this property to
value . |
void |
Property.setValue(Calendar value)
Sets the value of this property to
value . |
void |
Property.setValue(double value)
Sets the value of this property to
value . |
void |
Property.setValue(InputStream value)
Deprecated.
As of JCR 2.0,
Property.setValue(Binary) should be used
instead. |
void |
Property.setValue(long value)
Sets the value of this property to
value . |
void |
Property.setValue(Node value)
Sets this
REFERENCE or WEAKREFERNCE property to
refer to the specified node. |
void |
Property.setValue(String value)
Sets the value of this property to
value . |
void |
Property.setValue(String[] values)
Sets the value of this property to the
values array. |
void |
Property.setValue(Value value)
Sets the value of this property to
value . |
void |
Property.setValue(Value[] values)
Sets the value of this property to the
values array. |
void |
Node.unlock()
Deprecated.
As of JCR 2.0,
LockManager.unlock(String) should be
used instead. |
void |
Node.update(String srcWorkspace)
If this node does have a corresponding node in the workspace
srcWorkspace , then this replaces this node and its subgraph
with a clone of the corresponding node and its subgraph. |
Modifier and Type | Method and Description |
---|---|
void |
LockManager.addLockToken(String lockToken)
Adds the specified lock token to the current
Session . |
Lock |
LockManager.getLock(String absPath)
Returns the
Lock object that applies to the node at the
specified absPath . |
Lock |
LockManager.lock(String absPath,
boolean isDeep,
boolean isSessionScoped,
long timeoutHint,
String ownerInfo)
Places a lock on the node at
absPath . |
void |
Lock.refresh()
If this lock's time-to-live is governed by a timer, this method resets
that timer so that the lock does not timeout and expire.
|
void |
LockManager.removeLockToken(String lockToken)
Removes the specified lock token from this
Session . |
void |
LockManager.unlock(String absPath)
Removes the lock on the node at
absPath . |
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 |
---|---|
Hold |
RetentionManager.addHold(String absPath,
String name,
boolean isDeep)
Places a hold on the existing node at
absPath . |
void |
RetentionManager.removeHold(String absPath,
Hold hold)
Removes the specified
hold from the node at
absPath . |
void |
RetentionManager.removeRetentionPolicy(String absPath)
Causes the current retention policy on the node at
absPath
to no longer apply. |
void |
RetentionManager.setRetentionPolicy(String absPath,
RetentionPolicy retentionPolicy)
Sets the retention policy of the node at
absPath to that
defined in the specified policy node. |
Modifier and Type | Method and Description |
---|---|
void |
AccessControlManager.removePolicy(String absPath,
AccessControlPolicy policy)
Removes the specified
AccessControlPolicy from the node at
absPath . |
void |
AccessControlManager.setPolicy(String absPath,
AccessControlPolicy policy)
Binds the
policy to the node at absPath . |
Modifier and Type | Method and Description |
---|---|
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 . |
NodeIterator |
VersionManager.merge(Node activityNode)
This method merges the changes that were made under the specified
activity into the current workspace.
|
NodeIterator |
VersionManager.merge(String absPath,
String srcWorkspace,
boolean bestEffort)
This method recursively tests each versionable node in the subgraph of
the node at
absPath against its corresponding node in
srcWorkspace with respect to the relation between their
respective base versions and either updates the node in question or not,
depending on the outcome of the test. |
NodeIterator |
VersionManager.merge(String absPath,
String srcWorkspace,
boolean bestEffort,
boolean isShallow)
Same as
VersionManager.merge(String absPath, String srcWorkspace, boolean
bestEffort) except that an option exists to make the merge
shallow. |
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. |
Modifier and Type | Method and Description |
---|---|
void |
MetadataUtil.setMetadataPropertyValue(Node aNode,
Property aProperty,
Object aValue)
Set a new value to a metadata
Property on a Node . |
void |
MetadataUtil.setMetadataPropertyValue(Node aNode,
String aPropertyName,
Object aValue)
Set a new value to a metadata
Property on a Node . |
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.