Uses of Class
org.apache.jackrabbit.jcr2spi.state.NodeState
-
-
Uses of NodeState in org.apache.jackrabbit.jcr2spi
Methods in org.apache.jackrabbit.jcr2spi with parameters of type NodeState Modifier and Type Method Description boolean
WorkspaceManager. isGranted(NodeState parentState, Path relPath, String[] actions)
Constructors in org.apache.jackrabbit.jcr2spi with parameters of type NodeState Constructor Description NodeImpl(SessionImpl session, NodeState state, ItemLifeCycleListener[] listeners)
-
Uses of NodeState in org.apache.jackrabbit.jcr2spi.hierarchy
Methods in org.apache.jackrabbit.jcr2spi.hierarchy that return NodeState Modifier and Type Method Description NodeState
HierarchyManager. getNodeState(Path qPath)
Retrieves theNodeEntry
corresponding to the given path and resolves it to the underlyingNodeState
.NodeState
HierarchyManagerImpl. getNodeState(Path qPath)
NodeState
NodeEntry. getNodeState()
NodeState
NodeEntryImpl. getNodeState()
-
Uses of NodeState in org.apache.jackrabbit.jcr2spi.lock
Methods in org.apache.jackrabbit.jcr2spi.lock with parameters of type NodeState Modifier and Type Method Description void
LockManagerImpl. checkLock(NodeState nodeState)
void
LockStateManager. checkLock(NodeState nodeState)
Check whether the given node state is locked by somebody else than the current session.Lock
LockManagerImpl. getLock(NodeState nodeState)
If the session created a lock on the node with the given state, we already know the lock.Lock
LockStateManager. getLock(NodeState nodeState)
Returns the Lock object that applies to a node.boolean
LockManagerImpl. isLocked(NodeState nodeState)
boolean
LockStateManager. isLocked(NodeState nodeState)
Returnstrue
if this node is locked either as a result of a lock held by this node or by a deep lock on a node above this node; otherwise returnsfalse
.Lock
LockManagerImpl. lock(NodeState nodeState, boolean isDeep, boolean isSessionScoped)
Lock
LockManagerImpl. lock(NodeState nodeState, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerHint)
Lock
LockStateManager. lock(NodeState nodeState, boolean isDeep, boolean isSessionScoped)
Lock a node.Lock
LockStateManager. lock(NodeState nodeState, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerHint)
Lock a node.void
LockManagerImpl. unlock(NodeState nodeState)
void
LockStateManager. unlock(NodeState nodeState)
Removes the lock on a node. -
Uses of NodeState in org.apache.jackrabbit.jcr2spi.operation
Fields in org.apache.jackrabbit.jcr2spi.operation declared as NodeState Modifier and Type Field Description protected NodeState
AbstractRemove. parent
protected NodeState
Remove. parent
Methods in org.apache.jackrabbit.jcr2spi.operation that return NodeState Modifier and Type Method Description NodeState
ReorderNodes. getBeforeNode()
NodeState
Move. getDestinationParentState()
NodeState
ReorderNodes. getInsertNode()
protected static NodeState
AbstractOperation. getNodeState(Path nodePath, HierarchyManager hierMgr)
NodeState
SetMixin. getNodeState()
NodeState
SetPrimaryType. getNodeState()
NodeState
AbstractRemove. getParentState()
NodeState
AddNode. getParentState()
NodeState
AddProperty. getParentState()
NodeState
Remove. getParentState()
NodeState
ReorderNodes. getParentState()
NodeState
SetTree. getParentState()
NodeState
Move. getSourceParentState()
NodeState
Move. getSourceState()
NodeState
SetTree. getTreeState()
Methods in org.apache.jackrabbit.jcr2spi.operation with parameters of type NodeState Modifier and Type Method Description Operation
SetTree. addChildNode(NodeState parentState, Name nodeName, Name nodeTypeName, String uuid)
Add a child node operation to thissetTree
instance.Operation
SetTree. addChildProperty(NodeState parentState, Name propName, int propertyType, QValue[] values, QPropertyDefinition definition)
Add a child property operation to thissetTree
instance.protected static void
AbstractOperation. assertChildNodeEntries(NodeState parentState)
Asserts that the NodeEntry of the given parent state has it's child node entries loaded.static Operation
AddLabel. create(NodeState versionHistoryState, NodeState versionState, Name label, boolean moveLabel)
static Operation
AddNode. create(NodeState parentState, Name nodeName, Name nodeTypeName, String uuid)
static Operation
AddProperty. create(NodeState parentState, Name propName, int propertyType, QPropertyDefinition def, QValue[] values)
static Checkin
Checkin. create(NodeState nodeState, VersionManager mgr)
static Operation
Checkout. create(NodeState nodeState, VersionManager mgr)
static Operation
Checkout. create(NodeState nodeState, NodeId activityId, VersionManager mgr)
static Checkpoint
Checkpoint. create(NodeState nodeState, VersionManager mgr)
static Checkpoint
Checkpoint. create(NodeState nodeState, NodeId activityId, VersionManager mgr)
static CreateConfiguration
CreateConfiguration. create(NodeState nodeState, VersionManager mgr)
static LockOperation
LockOperation. create(NodeState nodeState, boolean isDeep, boolean isSessionScoped)
static LockOperation
LockOperation. create(NodeState nodeState, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerHint)
static Operation
LockRefresh. create(NodeState nodeState)
static Operation
LockRelease. create(NodeState nodeState)
static Merge
Merge. create(NodeState nodeState, String srcWorkspaceName, boolean bestEffort, boolean isShallow, VersionManager mgr)
static Operation
RemoveActivity. create(NodeState activityState, HierarchyManager hierarchyMgr)
static Operation
RemoveLabel. create(NodeState versionHistoryState, NodeState versionState, Name label)
static Operation
RemoveVersion. create(NodeState versionState, NodeState vhState, VersionManager mgr)
static Operation
ReorderNodes. create(NodeState parentState, Path srcPath, Path beforePath)
static Operation
ResolveMergeConflict. create(NodeState nodeState, NodeId[] mergeFailedIds, NodeId[] predecessorIds, boolean resolveDone)
static Operation
Restore. create(NodeState[] versionStates, boolean removeExisting)
static Operation
Restore. create(NodeState nodeState, Path relQPath, NodeState versionState, boolean removeExisting)
static Operation
SetMixin. create(NodeState nodeState, Name[] mixinNames)
static Operation
SetPrimaryType. create(NodeState nodeState, Name primaryTypeName)
static SetTree
SetTree. create(NodeState treeState)
static SetTree
SetTree. create(UpdatableItemStateManager itemStateMgr, NodeState parent, Name nodeName, Name nodeTypeName, String uuid)
static Operation
Update. create(NodeState nodeState, String srcWorkspaceName)
static Operation
WorkspaceImport. create(NodeState nodeState, InputStream xmlStream, int uuidBehaviour)
Constructors in org.apache.jackrabbit.jcr2spi.operation with parameters of type NodeState Constructor Description AbstractRemove(ItemState removeState, NodeState parent)
-
Uses of NodeState in org.apache.jackrabbit.jcr2spi.security
Methods in org.apache.jackrabbit.jcr2spi.security with parameters of type NodeState Modifier and Type Method Description boolean
AccessManager. isGranted(NodeState parentState, Path relPath, String[] actions)
Determines whether the specifiedpermissions
are granted on the item with the specified path. -
Uses of NodeState in org.apache.jackrabbit.jcr2spi.state
Methods in org.apache.jackrabbit.jcr2spi.state that return NodeState Modifier and Type Method Description NodeState
ItemStateFactory. createDeepNodeState(NodeId nodeId, NodeEntry anyParent)
Tries to retrieve theNodeState
with the givenNodeId
and if the state exists, fills in the NodeEntries missing between the last known NodeEntry marked byanyParent
.NodeState
TransientISFactory. createDeepNodeState(NodeId nodeId, NodeEntry anyParent)
NodeState
WorkspaceItemStateFactory. createDeepNodeState(NodeId nodeId, NodeEntry anyParent)
Creates the node with information retrieved from theRepositoryService
.NodeState
TransientISFactory. createNewNodeState(NodeEntry entry, Name nodetypeName, QNodeDefinition definition)
NodeState
TransientItemStateFactory. createNewNodeState(NodeEntry entry, Name nodeTypeName, QNodeDefinition definition)
Creates a transient childNodeState
with the givenname
.NodeState
ItemStateFactory. createNodeState(NodeId nodeId, NodeEntry entry)
Creates the childNodeState
with the givennodeId
.NodeState
TransientISFactory. createNodeState(NodeId nodeId, NodeEntry entry)
NodeState
WorkspaceItemStateFactory. createNodeState(NodeId nodeId, NodeEntry entry)
Creates the node with information retrieved from theRepositoryService
.NodeState
ItemStateFactory. createRootState(NodeEntry entry)
NodeState
TransientISFactory. createRootState(NodeEntry entry)
NodeState
WorkspaceItemStateFactory. createRootState(NodeEntry entry)
NodeState
NodeState. getChildNodeState(Name nodeName, int index)
Utility Returns the childNodeState
with the specified name and index.NodeState
ItemState. getParent()
Utility method: Shortcut for calling 'getParent().getNodeState()' on thehierarchy entry
.Methods in org.apache.jackrabbit.jcr2spi.state with parameters of type NodeState Modifier and Type Method Description void
ItemStateValidator. checkAddNode(NodeState parentState, Name nodeName, Name nodeTypeName, int options)
Checks if adding a child node callednodeName
of node typenodeTypeName
to the given parent node is allowed in the current context.void
ItemStateValidator. checkAddProperty(NodeState parentState, Name propertyName, QPropertyDefinition definition, int options)
void
ItemStateValidator. checkIsWritable(NodeState parentState, int options)
Iterator<PropertyId>
ItemStateFactory. getNodeReferences(NodeState nodeState, Name propertyName, boolean weak)
Returns the identifiers of all reference properties that point to the given node.Iterator<PropertyId>
TransientISFactory. getNodeReferences(NodeState nodeState, Name propertyName, boolean weak)
Iterator<PropertyId>
WorkspaceItemStateFactory. getNodeReferences(NodeState nodeState, Name propertyName, boolean weak)
void
ItemStateValidator. validate(NodeState nodeState)
Checks whether the given node state satisfies the constraints specified by its primary and mixin node types. -
Uses of NodeState in org.apache.jackrabbit.jcr2spi.util
Methods in org.apache.jackrabbit.jcr2spi.util with parameters of type NodeState Modifier and Type Method Description static boolean
StateUtility. isMovedState(NodeState state)
-
Uses of NodeState in org.apache.jackrabbit.jcr2spi.version
Methods in org.apache.jackrabbit.jcr2spi.version with parameters of type NodeState Modifier and Type Method Description void
VersionManager. addVersionLabel(NodeState versionHistoryState, NodeState versionState, Name qLabel, boolean moveLabel)
void
VersionManagerImpl. addVersionLabel(NodeState versionHistoryState, NodeState versionState, Name qLabel, boolean moveLabel)
NodeEntry
VersionManager. checkin(NodeState nodeState)
NodeEntry
VersionManagerImpl. checkin(NodeState nodeState)
void
VersionManager. checkIsCheckedOut(NodeState nodeState)
void
VersionManagerImpl. checkIsCheckedOut(NodeState nodeState)
void
VersionManager. checkout(NodeState nodeState)
void
VersionManager. checkout(NodeState nodeState, NodeId activityId)
void
VersionManagerImpl. checkout(NodeState nodeState)
void
VersionManagerImpl. checkout(NodeState nodeState, NodeId activityId)
NodeEntry
VersionManager. checkpoint(NodeState nodeState)
NodeEntry
VersionManager. checkpoint(NodeState nodeState, NodeId activityId)
NodeEntry
VersionManagerImpl. checkpoint(NodeState nodeState)
NodeEntry
VersionManagerImpl. checkpoint(NodeState nodeState, NodeId activityId)
NodeEntry
VersionManager. createConfiguration(NodeState nodeState)
NodeEntry
VersionManagerImpl. createConfiguration(NodeState nodeState)
NodeEntry
VersionManager. getVersionableNodeEntry(NodeState versionState)
NodeEntry
VersionManagerImpl. getVersionableNodeEntry(NodeState versionState)
NodeEntry
VersionManager. getVersionHistoryEntry(NodeState versionableState)
NodeEntry
VersionManagerImpl. getVersionHistoryEntry(NodeState versionableState)
boolean
VersionManager. isCheckedOut(NodeState nodeState)
boolean
VersionManagerImpl. isCheckedOut(NodeState nodeState)
Search nearest ancestor that is versionable.Iterator<NodeId>
VersionManager. merge(NodeState nodeState, String workspaceName, boolean bestEffort)
Iterator<NodeId>
VersionManager. merge(NodeState nodeState, String workspaceName, boolean bestEffort, boolean isShallow)
Iterator<NodeId>
VersionManagerImpl. merge(NodeState nodeState, String workspaceName, boolean bestEffort)
Iterator<NodeId>
VersionManagerImpl. merge(NodeState nodeState, String workspaceName, boolean bestEffort, boolean isShallow)
Iterator<NodeId>
VersionManager. mergeActivity(NodeState activityState)
Iterator<NodeId>
VersionManagerImpl. mergeActivity(NodeState activityState)
void
VersionManager. removeActivity(NodeState activityState)
void
VersionManagerImpl. removeActivity(NodeState activityState)
void
VersionManager. removeVersion(NodeState versionHistoryState, NodeState versionState)
void
VersionManagerImpl. removeVersion(NodeState versionHistoryState, NodeState versionState)
void
VersionManager. removeVersionLabel(NodeState versionHistoryState, NodeState versionState, Name qLabel)
void
VersionManagerImpl. removeVersionLabel(NodeState versionHistoryState, NodeState versionState, Name qLabel)
void
VersionManager. resolveMergeConflict(NodeState nodeState, NodeState versionState, boolean done)
void
VersionManagerImpl. resolveMergeConflict(NodeState nodeState, NodeState versionState, boolean done)
void
VersionManager. restore(NodeState[] versionStates, boolean removeExisting)
void
VersionManager. restore(NodeState nodeState, Path relativePath, NodeState versionState, boolean removeExisting)
void
VersionManagerImpl. restore(NodeState[] versionStates, boolean removeExisting)
void
VersionManagerImpl. restore(NodeState nodeState, Path relativePath, NodeState versionState, boolean removeExisting)
Constructors in org.apache.jackrabbit.jcr2spi.version with parameters of type NodeState Constructor Description VersionHistoryImpl(SessionImpl session, NodeState state, ItemLifeCycleListener[] listeners)
VersionImpl(SessionImpl session, NodeState state, ItemLifeCycleListener[] listeners)
-