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 booleanWorkspaceManager. 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 NodeStateHierarchyManager. getNodeState(Path qPath)Retrieves theNodeEntrycorresponding to the given path and resolves it to the underlyingNodeState.NodeStateHierarchyManagerImpl. getNodeState(Path qPath)NodeStateNodeEntry. getNodeState()NodeStateNodeEntryImpl. 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 voidLockManagerImpl. checkLock(NodeState nodeState)voidLockStateManager. checkLock(NodeState nodeState)Check whether the given node state is locked by somebody else than the current session.LockLockManagerImpl. getLock(NodeState nodeState)If the session created a lock on the node with the given state, we already know the lock.LockLockStateManager. getLock(NodeState nodeState)Returns the Lock object that applies to a node.booleanLockManagerImpl. isLocked(NodeState nodeState)booleanLockStateManager. isLocked(NodeState nodeState)Returnstrueif 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.LockLockManagerImpl. lock(NodeState nodeState, boolean isDeep, boolean isSessionScoped)LockLockManagerImpl. lock(NodeState nodeState, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerHint)LockLockStateManager. lock(NodeState nodeState, boolean isDeep, boolean isSessionScoped)Lock a node.LockLockStateManager. lock(NodeState nodeState, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerHint)Lock a node.voidLockManagerImpl. unlock(NodeState nodeState)voidLockStateManager. 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 NodeStateAbstractRemove. parentprotected NodeStateRemove. parentMethods in org.apache.jackrabbit.jcr2spi.operation that return NodeState Modifier and Type Method Description NodeStateReorderNodes. getBeforeNode()NodeStateMove. getDestinationParentState()NodeStateReorderNodes. getInsertNode()protected static NodeStateAbstractOperation. getNodeState(Path nodePath, HierarchyManager hierMgr)NodeStateSetMixin. getNodeState()NodeStateSetPrimaryType. getNodeState()NodeStateAbstractRemove. getParentState()NodeStateAddNode. getParentState()NodeStateAddProperty. getParentState()NodeStateRemove. getParentState()NodeStateReorderNodes. getParentState()NodeStateSetTree. getParentState()NodeStateMove. getSourceParentState()NodeStateMove. getSourceState()NodeStateSetTree. getTreeState()Methods in org.apache.jackrabbit.jcr2spi.operation with parameters of type NodeState Modifier and Type Method Description OperationSetTree. addChildNode(NodeState parentState, Name nodeName, Name nodeTypeName, String uuid)Add a child node operation to thissetTreeinstance.OperationSetTree. addChildProperty(NodeState parentState, Name propName, int propertyType, QValue[] values, QPropertyDefinition definition)Add a child property operation to thissetTreeinstance.protected static voidAbstractOperation. assertChildNodeEntries(NodeState parentState)Asserts that the NodeEntry of the given parent state has it's child node entries loaded.static OperationAddLabel. create(NodeState versionHistoryState, NodeState versionState, Name label, boolean moveLabel)static OperationAddNode. create(NodeState parentState, Name nodeName, Name nodeTypeName, String uuid)static OperationAddProperty. create(NodeState parentState, Name propName, int propertyType, QPropertyDefinition def, QValue[] values)static CheckinCheckin. create(NodeState nodeState, VersionManager mgr)static OperationCheckout. create(NodeState nodeState, VersionManager mgr)static OperationCheckout. create(NodeState nodeState, NodeId activityId, VersionManager mgr)static CheckpointCheckpoint. create(NodeState nodeState, VersionManager mgr)static CheckpointCheckpoint. create(NodeState nodeState, NodeId activityId, VersionManager mgr)static CreateConfigurationCreateConfiguration. create(NodeState nodeState, VersionManager mgr)static LockOperationLockOperation. create(NodeState nodeState, boolean isDeep, boolean isSessionScoped)static LockOperationLockOperation. create(NodeState nodeState, boolean isDeep, boolean isSessionScoped, long timeoutHint, String ownerHint)static OperationLockRefresh. create(NodeState nodeState)static OperationLockRelease. create(NodeState nodeState)static MergeMerge. create(NodeState nodeState, String srcWorkspaceName, boolean bestEffort, boolean isShallow, VersionManager mgr)static OperationRemoveActivity. create(NodeState activityState, HierarchyManager hierarchyMgr)static OperationRemoveLabel. create(NodeState versionHistoryState, NodeState versionState, Name label)static OperationRemoveVersion. create(NodeState versionState, NodeState vhState, VersionManager mgr)static OperationReorderNodes. create(NodeState parentState, Path srcPath, Path beforePath)static OperationResolveMergeConflict. create(NodeState nodeState, NodeId[] mergeFailedIds, NodeId[] predecessorIds, boolean resolveDone)static OperationRestore. create(NodeState[] versionStates, boolean removeExisting)static OperationRestore. create(NodeState nodeState, Path relQPath, NodeState versionState, boolean removeExisting)static OperationSetMixin. create(NodeState nodeState, Name[] mixinNames)static OperationSetPrimaryType. create(NodeState nodeState, Name primaryTypeName)static SetTreeSetTree. create(NodeState treeState)static SetTreeSetTree. create(UpdatableItemStateManager itemStateMgr, NodeState parent, Name nodeName, Name nodeTypeName, String uuid)static OperationUpdate. create(NodeState nodeState, String srcWorkspaceName)static OperationWorkspaceImport. 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 booleanAccessManager. isGranted(NodeState parentState, Path relPath, String[] actions)Determines whether the specifiedpermissionsare 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 NodeStateItemStateFactory. createDeepNodeState(NodeId nodeId, NodeEntry anyParent)Tries to retrieve theNodeStatewith the givenNodeIdand if the state exists, fills in the NodeEntries missing between the last known NodeEntry marked byanyParent.NodeStateTransientISFactory. createDeepNodeState(NodeId nodeId, NodeEntry anyParent)NodeStateWorkspaceItemStateFactory. createDeepNodeState(NodeId nodeId, NodeEntry anyParent)Creates the node with information retrieved from theRepositoryService.NodeStateTransientISFactory. createNewNodeState(NodeEntry entry, Name nodetypeName, QNodeDefinition definition)NodeStateTransientItemStateFactory. createNewNodeState(NodeEntry entry, Name nodeTypeName, QNodeDefinition definition)Creates a transient childNodeStatewith the givenname.NodeStateItemStateFactory. createNodeState(NodeId nodeId, NodeEntry entry)Creates the childNodeStatewith the givennodeId.NodeStateTransientISFactory. createNodeState(NodeId nodeId, NodeEntry entry)NodeStateWorkspaceItemStateFactory. createNodeState(NodeId nodeId, NodeEntry entry)Creates the node with information retrieved from theRepositoryService.NodeStateItemStateFactory. createRootState(NodeEntry entry)NodeStateTransientISFactory. createRootState(NodeEntry entry)NodeStateWorkspaceItemStateFactory. createRootState(NodeEntry entry)NodeStateNodeState. getChildNodeState(Name nodeName, int index)Utility Returns the childNodeStatewith the specified name and index.NodeStateItemState. 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 voidItemStateValidator. checkAddNode(NodeState parentState, Name nodeName, Name nodeTypeName, int options)Checks if adding a child node callednodeNameof node typenodeTypeNameto the given parent node is allowed in the current context.voidItemStateValidator. checkAddProperty(NodeState parentState, Name propertyName, QPropertyDefinition definition, int options)voidItemStateValidator. 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)voidItemStateValidator. 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 booleanStateUtility. 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 voidVersionManager. addVersionLabel(NodeState versionHistoryState, NodeState versionState, Name qLabel, boolean moveLabel)voidVersionManagerImpl. addVersionLabel(NodeState versionHistoryState, NodeState versionState, Name qLabel, boolean moveLabel)NodeEntryVersionManager. checkin(NodeState nodeState)NodeEntryVersionManagerImpl. checkin(NodeState nodeState)voidVersionManager. checkIsCheckedOut(NodeState nodeState)voidVersionManagerImpl. checkIsCheckedOut(NodeState nodeState)voidVersionManager. checkout(NodeState nodeState)voidVersionManager. checkout(NodeState nodeState, NodeId activityId)voidVersionManagerImpl. checkout(NodeState nodeState)voidVersionManagerImpl. checkout(NodeState nodeState, NodeId activityId)NodeEntryVersionManager. checkpoint(NodeState nodeState)NodeEntryVersionManager. checkpoint(NodeState nodeState, NodeId activityId)NodeEntryVersionManagerImpl. checkpoint(NodeState nodeState)NodeEntryVersionManagerImpl. checkpoint(NodeState nodeState, NodeId activityId)NodeEntryVersionManager. createConfiguration(NodeState nodeState)NodeEntryVersionManagerImpl. createConfiguration(NodeState nodeState)NodeEntryVersionManager. getVersionableNodeEntry(NodeState versionState)NodeEntryVersionManagerImpl. getVersionableNodeEntry(NodeState versionState)NodeEntryVersionManager. getVersionHistoryEntry(NodeState versionableState)NodeEntryVersionManagerImpl. getVersionHistoryEntry(NodeState versionableState)booleanVersionManager. isCheckedOut(NodeState nodeState)booleanVersionManagerImpl. 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)voidVersionManager. removeActivity(NodeState activityState)voidVersionManagerImpl. removeActivity(NodeState activityState)voidVersionManager. removeVersion(NodeState versionHistoryState, NodeState versionState)voidVersionManagerImpl. removeVersion(NodeState versionHistoryState, NodeState versionState)voidVersionManager. removeVersionLabel(NodeState versionHistoryState, NodeState versionState, Name qLabel)voidVersionManagerImpl. removeVersionLabel(NodeState versionHistoryState, NodeState versionState, Name qLabel)voidVersionManager. resolveMergeConflict(NodeState nodeState, NodeState versionState, boolean done)voidVersionManagerImpl. resolveMergeConflict(NodeState nodeState, NodeState versionState, boolean done)voidVersionManager. restore(NodeState[] versionStates, boolean removeExisting)voidVersionManager. restore(NodeState nodeState, Path relativePath, NodeState versionState, boolean removeExisting)voidVersionManagerImpl. restore(NodeState[] versionStates, boolean removeExisting)voidVersionManagerImpl. 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)
-