Package | Description |
---|---|
org.modeshape.jcr | |
org.modeshape.jcr.cache | |
org.modeshape.jcr.cache.document |
Modifier and Type | Method and Description |
---|---|
protected MutableCachedNode |
SystemContent.initializeVersionStorage(NodeKey versionableNodeKey,
NodeKey versionHistoryKey,
NodeKey versionKey,
Name primaryTypeName,
Set<Name> mixinTypeNames,
Path versionHistoryPath,
NodeKey originalVersionKey,
DateTime now)
Create and initialize the version history structure for a versionable node with the supplied UUID.
|
MutableCachedNode |
SystemContent.mutableLocksNode() |
MutableCachedNode |
SystemContent.mutableNamespacesNode() |
MutableCachedNode |
SystemContent.mutableNodeTypesNode() |
MutableCachedNode |
SystemContent.mutableSystemNode() |
MutableCachedNode |
SystemContent.mutableVersionStorageNode() |
MutableCachedNode |
SystemContent.recordNewVersion(CachedNode versionableNode,
SessionCache cacheForVersionableNode,
Path versionHistoryPath,
NodeKey originalVersionKey,
Collection<Property> versionableProperties,
DateTime now,
AtomicReference<MutableCachedNode> frozenNodeOutput)
The method efficiently updates the JCR version history and storage with a new version of a node being checked in.
|
Modifier and Type | Method and Description |
---|---|
void |
JcrSession.JcrPreSave.process(MutableCachedNode node,
SessionCache.SaveContext context) |
void |
JcrSession.JcrPreSave.processAfterLocking(MutableCachedNode modifiedNode,
SessionCache.SaveContext context,
NodeCache persistentNodeCache) |
Modifier and Type | Method and Description |
---|---|
MutableCachedNode |
SystemContent.recordNewVersion(CachedNode versionableNode,
SessionCache cacheForVersionableNode,
Path versionHistoryPath,
NodeKey originalVersionKey,
Collection<Property> versionableProperties,
DateTime now,
AtomicReference<MutableCachedNode> frozenNodeOutput)
The method efficiently updates the JCR version history and storage with a new version of a node being checked in.
|
Modifier and Type | Method and Description |
---|---|
MutableCachedNode |
MutableCachedNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Iterable<Property> properties)
Create a new node as a child of this node with the supplied name and properties.
|
MutableCachedNode |
MutableCachedNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Property firstProperty,
Property... additionalProperties)
Create a new node as a child of this node with the supplied name and properties.
|
MutableCachedNode |
SessionCacheWrapper.mutable(NodeKey key) |
MutableCachedNode |
SessionCache.mutable(NodeKey key)
Get a mutable form of the node with the supplied key.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryCache.ContentInitializer.initialize(SessionCache session,
MutableCachedNode parent) |
void |
MutableCachedNode.moveChild(SessionCache cache,
NodeKey key,
MutableCachedNode newParent,
Name newName)
Remove the node from being a child of this node and append it as a child of the supplied node.
|
void |
SessionCache.PreSave.process(MutableCachedNode modifiedOrNewNode,
SessionCache.SaveContext context)
Process the supplied node prior to saving the changes.
|
void |
SessionCache.PreSave.processAfterLocking(MutableCachedNode modifiedNode,
SessionCache.SaveContext context,
NodeCache persistentNodeCache)
Process the supplied existing node prior to saving the changes but only after the entry corresponding to the key of the
node has been locked in Infinispan.
|
Modifier and Type | Class and Description |
---|---|
class |
SessionNode
A node used within a
session when that node has (or may have) transient (unsaved) changes. |
Modifier and Type | Method and Description |
---|---|
MutableCachedNode |
SessionNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Iterable<Property> properties) |
MutableCachedNode |
SessionNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Property firstProperty,
Property... additionalProperties) |
Modifier and Type | Method and Description |
---|---|
protected void |
SessionNode.DeepCopy.copyProperties(MutableCachedNode targetNode,
CachedNode sourceNode) |
protected void |
SessionNode.DeepClone.copyProperties(MutableCachedNode targetNode,
CachedNode sourceNode) |
protected void |
SessionNode.DeepCopy.copyUUIDProperty(Property sourceProperty,
MutableCachedNode targetNode,
CachedNode sourceNode) |
protected void |
SessionNode.DeepClone.copyUUIDProperty(Property sourceProperty,
MutableCachedNode targetNode,
CachedNode sourceNode) |
protected void |
SessionNode.DeepCopy.doPhase1(MutableCachedNode targetNode,
CachedNode sourceNode)
Perform a copy of the source tree to create a similar tree in the target session.
|
void |
SessionNode.moveChild(SessionCache cache,
NodeKey key,
MutableCachedNode newParent,
Name newName) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.