Modifier and Type | Method and Description |
---|---|
boolean |
WorkspaceManager.isGranted(NodeState parentState,
Path relPath,
String[] actions) |
Constructor and Description |
---|
NodeImpl(SessionImpl session,
NodeState state,
ItemLifeCycleListener[] listeners) |
Modifier and Type | Method and Description |
---|---|
NodeState |
NodeEntryImpl.getNodeState() |
NodeState |
NodeEntry.getNodeState() |
NodeState |
HierarchyManagerImpl.getNodeState(Path qPath) |
NodeState |
HierarchyManager.getNodeState(Path qPath)
Retrieves the
NodeEntry corresponding to the given
path and resolves it to the underlying NodeState . |
Modifier and Type | Method and Description |
---|---|
void |
LockStateManager.checkLock(NodeState nodeState)
Check whether the given node state is locked by somebody else than the
current session.
|
void |
LockManagerImpl.checkLock(NodeState nodeState) |
Lock |
LockStateManager.getLock(NodeState nodeState)
Returns the Lock object that applies to a node.
|
Lock |
LockManagerImpl.getLock(NodeState nodeState)
If the session created a lock on the node with the given state, we already
know the lock.
|
boolean |
LockStateManager.isLocked(NodeState nodeState)
Returns
true 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 returns false . |
boolean |
LockManagerImpl.isLocked(NodeState nodeState) |
Lock |
LockStateManager.lock(NodeState nodeState,
boolean isDeep,
boolean isSessionScoped)
Lock a node.
|
Lock |
LockManagerImpl.lock(NodeState nodeState,
boolean isDeep,
boolean isSessionScoped) |
Lock |
LockStateManager.lock(NodeState nodeState,
boolean isDeep,
boolean isSessionScoped,
long timeoutHint,
String ownerHint)
Lock a node.
|
Lock |
LockManagerImpl.lock(NodeState nodeState,
boolean isDeep,
boolean isSessionScoped,
long timeoutHint,
String ownerHint) |
void |
LockStateManager.unlock(NodeState nodeState)
Removes the lock on a node.
|
void |
LockManagerImpl.unlock(NodeState nodeState) |
Modifier and Type | Field and Description |
---|---|
protected NodeState |
Remove.parent |
protected NodeState |
AbstractRemove.parent |
Modifier and Type | Method and Description |
---|---|
NodeState |
ReorderNodes.getBeforeNode() |
NodeState |
Move.getDestinationParentState() |
NodeState |
ReorderNodes.getInsertNode() |
NodeState |
SetPrimaryType.getNodeState() |
NodeState |
SetMixin.getNodeState() |
protected static NodeState |
AbstractOperation.getNodeState(Path nodePath,
HierarchyManager hierMgr) |
NodeState |
SetTree.getParentState() |
NodeState |
ReorderNodes.getParentState() |
NodeState |
Remove.getParentState() |
NodeState |
AddProperty.getParentState() |
NodeState |
AddNode.getParentState() |
NodeState |
AbstractRemove.getParentState() |
NodeState |
Move.getSourceParentState() |
NodeState |
Move.getSourceState() |
NodeState |
SetTree.getTreeState() |
Modifier and Type | Method and Description |
---|---|
Operation |
SetTree.addChildNode(NodeState parentState,
Name nodeName,
Name nodeTypeName,
String uuid)
Add a child node operation to this
setTree instance. |
Operation |
SetTree.addChildProperty(NodeState parentState,
Name propName,
int propertyType,
QValue[] values,
QPropertyDefinition definition)
Add a child property operation to this
setTree 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 SetTree |
SetTree.create(NodeState treeState) |
static Operation |
LockRelease.create(NodeState nodeState) |
static Operation |
LockRefresh.create(NodeState nodeState) |
static Operation |
Restore.create(NodeState[] versionStates,
boolean removeExisting) |
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 |
RemoveActivity.create(NodeState activityState,
HierarchyManager hierarchyMgr) |
static Operation |
WorkspaceImport.create(NodeState nodeState,
InputStream xmlStream,
int uuidBehaviour) |
static Operation |
SetPrimaryType.create(NodeState nodeState,
Name primaryTypeName) |
static Operation |
SetMixin.create(NodeState nodeState,
Name[] mixinNames) |
static Operation |
AddProperty.create(NodeState parentState,
Name propName,
int propertyType,
QPropertyDefinition def,
QValue[] values) |
static Operation |
AddNode.create(NodeState parentState,
Name nodeName,
Name nodeTypeName,
String uuid) |
static Operation |
ResolveMergeConflict.create(NodeState nodeState,
NodeId[] mergeFailedIds,
NodeId[] predecessorIds,
boolean resolveDone) |
static Checkpoint |
Checkpoint.create(NodeState nodeState,
NodeId activityId,
VersionManager mgr) |
static Operation |
Checkout.create(NodeState nodeState,
NodeId activityId,
VersionManager mgr) |
static Operation |
RemoveLabel.create(NodeState versionHistoryState,
NodeState versionState,
Name label) |
static Operation |
AddLabel.create(NodeState versionHistoryState,
NodeState versionState,
Name label,
boolean moveLabel) |
static Operation |
RemoveVersion.create(NodeState versionState,
NodeState vhState,
VersionManager mgr) |
static Operation |
Restore.create(NodeState nodeState,
Path relQPath,
NodeState versionState,
boolean removeExisting) |
static Operation |
ReorderNodes.create(NodeState parentState,
Path srcPath,
Path beforePath) |
static Operation |
Update.create(NodeState nodeState,
String srcWorkspaceName) |
static Merge |
Merge.create(NodeState nodeState,
String srcWorkspaceName,
boolean bestEffort,
boolean isShallow,
VersionManager mgr) |
static CreateConfiguration |
CreateConfiguration.create(NodeState nodeState,
VersionManager mgr) |
static Checkpoint |
Checkpoint.create(NodeState nodeState,
VersionManager mgr) |
static Operation |
Checkout.create(NodeState nodeState,
VersionManager mgr) |
static Checkin |
Checkin.create(NodeState nodeState,
VersionManager mgr) |
static SetTree |
SetTree.create(UpdatableItemStateManager itemStateMgr,
NodeState parent,
Name nodeName,
Name nodeTypeName,
String uuid) |
Constructor and Description |
---|
AbstractRemove(ItemState removeState,
NodeState parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
AccessManager.isGranted(NodeState parentState,
Path relPath,
String[] actions)
Determines whether the specified
permissions are granted
on the item with the specified path. |
Modifier and Type | Method and Description |
---|---|
NodeState |
WorkspaceItemStateFactory.createDeepNodeState(NodeId nodeId,
NodeEntry anyParent)
Creates the node with information retrieved from the
RepositoryService . |
NodeState |
TransientISFactory.createDeepNodeState(NodeId nodeId,
NodeEntry anyParent) |
NodeState |
ItemStateFactory.createDeepNodeState(NodeId nodeId,
NodeEntry anyParent)
Tries to retrieve the
NodeState with the given NodeId
and if the state exists, fills in the NodeEntries missing between the
last known NodeEntry marked by anyParent . |
NodeState |
TransientItemStateFactory.createNewNodeState(NodeEntry entry,
Name nodeTypeName,
QNodeDefinition definition)
Creates a transient child
NodeState with the given
name . |
NodeState |
TransientISFactory.createNewNodeState(NodeEntry entry,
Name nodetypeName,
QNodeDefinition definition) |
NodeState |
WorkspaceItemStateFactory.createNodeState(NodeId nodeId,
NodeEntry entry)
Creates the node with information retrieved from the
RepositoryService . |
NodeState |
TransientISFactory.createNodeState(NodeId nodeId,
NodeEntry entry) |
NodeState |
ItemStateFactory.createNodeState(NodeId nodeId,
NodeEntry entry)
Creates the child
NodeState with the given
nodeId . |
NodeState |
WorkspaceItemStateFactory.createRootState(NodeEntry entry) |
NodeState |
TransientISFactory.createRootState(NodeEntry entry) |
NodeState |
ItemStateFactory.createRootState(NodeEntry entry) |
NodeState |
NodeState.getChildNodeState(Name nodeName,
int index)
Utility
Returns the child
NodeState with the specified name
and index. |
NodeState |
ItemState.getParent()
Utility method: Shortcut for calling
'getParent().getNodeState()' on the
hierarchy entry . |
Modifier and Type | Method and Description |
---|---|
void |
ItemStateValidator.checkAddNode(NodeState parentState,
Name nodeName,
Name nodeTypeName,
int options)
Checks if adding a child node called
nodeName of node type
nodeTypeName 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> |
WorkspaceItemStateFactory.getNodeReferences(NodeState nodeState,
Name propertyName,
boolean weak) |
Iterator<PropertyId> |
TransientISFactory.getNodeReferences(NodeState nodeState,
Name propertyName,
boolean weak) |
Iterator<PropertyId> |
ItemStateFactory.getNodeReferences(NodeState nodeState,
Name propertyName,
boolean weak)
Returns the identifiers of all reference properties that point to
the given node.
|
void |
ItemStateValidator.validate(NodeState nodeState)
Checks whether the given node state satisfies the constraints specified
by its primary and mixin node types.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
StateUtility.isMovedState(NodeState state) |
Modifier and Type | Method and Description |
---|---|
void |
VersionManagerImpl.addVersionLabel(NodeState versionHistoryState,
NodeState versionState,
Name qLabel,
boolean moveLabel) |
void |
VersionManager.addVersionLabel(NodeState versionHistoryState,
NodeState versionState,
Name qLabel,
boolean moveLabel) |
NodeEntry |
VersionManagerImpl.checkin(NodeState nodeState) |
NodeEntry |
VersionManager.checkin(NodeState nodeState) |
void |
VersionManagerImpl.checkIsCheckedOut(NodeState nodeState) |
void |
VersionManager.checkIsCheckedOut(NodeState nodeState) |
void |
VersionManagerImpl.checkout(NodeState nodeState) |
void |
VersionManager.checkout(NodeState nodeState) |
void |
VersionManagerImpl.checkout(NodeState nodeState,
NodeId activityId) |
void |
VersionManager.checkout(NodeState nodeState,
NodeId activityId) |
NodeEntry |
VersionManagerImpl.checkpoint(NodeState nodeState) |
NodeEntry |
VersionManager.checkpoint(NodeState nodeState) |
NodeEntry |
VersionManagerImpl.checkpoint(NodeState nodeState,
NodeId activityId) |
NodeEntry |
VersionManager.checkpoint(NodeState nodeState,
NodeId activityId) |
NodeEntry |
VersionManagerImpl.createConfiguration(NodeState nodeState) |
NodeEntry |
VersionManager.createConfiguration(NodeState nodeState) |
NodeEntry |
VersionManagerImpl.getVersionableNodeEntry(NodeState versionState) |
NodeEntry |
VersionManager.getVersionableNodeEntry(NodeState versionState) |
NodeEntry |
VersionManagerImpl.getVersionHistoryEntry(NodeState versionableState) |
NodeEntry |
VersionManager.getVersionHistoryEntry(NodeState versionableState) |
boolean |
VersionManagerImpl.isCheckedOut(NodeState nodeState)
Search nearest ancestor that is versionable.
|
boolean |
VersionManager.isCheckedOut(NodeState nodeState) |
Iterator<NodeId> |
VersionManagerImpl.merge(NodeState nodeState,
String workspaceName,
boolean bestEffort) |
Iterator<NodeId> |
VersionManager.merge(NodeState nodeState,
String workspaceName,
boolean bestEffort) |
Iterator<NodeId> |
VersionManagerImpl.merge(NodeState nodeState,
String workspaceName,
boolean bestEffort,
boolean isShallow) |
Iterator<NodeId> |
VersionManager.merge(NodeState nodeState,
String workspaceName,
boolean bestEffort,
boolean isShallow) |
Iterator<NodeId> |
VersionManagerImpl.mergeActivity(NodeState activityState) |
Iterator<NodeId> |
VersionManager.mergeActivity(NodeState activityState) |
void |
VersionManagerImpl.removeActivity(NodeState activityState) |
void |
VersionManager.removeActivity(NodeState activityState) |
void |
VersionManagerImpl.removeVersion(NodeState versionHistoryState,
NodeState versionState) |
void |
VersionManager.removeVersion(NodeState versionHistoryState,
NodeState versionState) |
void |
VersionManagerImpl.removeVersionLabel(NodeState versionHistoryState,
NodeState versionState,
Name qLabel) |
void |
VersionManager.removeVersionLabel(NodeState versionHistoryState,
NodeState versionState,
Name qLabel) |
void |
VersionManagerImpl.resolveMergeConflict(NodeState nodeState,
NodeState versionState,
boolean done) |
void |
VersionManager.resolveMergeConflict(NodeState nodeState,
NodeState versionState,
boolean done) |
void |
VersionManagerImpl.restore(NodeState[] versionStates,
boolean removeExisting) |
void |
VersionManager.restore(NodeState[] versionStates,
boolean removeExisting) |
void |
VersionManagerImpl.restore(NodeState nodeState,
Path relativePath,
NodeState versionState,
boolean removeExisting) |
void |
VersionManager.restore(NodeState nodeState,
Path relativePath,
NodeState versionState,
boolean removeExisting) |
Constructor and Description |
---|
VersionHistoryImpl(SessionImpl session,
NodeState state,
ItemLifeCycleListener[] listeners) |
VersionImpl(SessionImpl session,
NodeState state,
ItemLifeCycleListener[] listeners) |
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.