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 |
NodeEntry.getNodeState() |
NodeState |
NodeEntryImpl.getNodeState() |
NodeState |
HierarchyManager.getNodeState(Path qPath)
Retrieves the
NodeEntry corresponding to the given
path and resolves it to the underlying NodeState . |
NodeState |
HierarchyManagerImpl.getNodeState(Path qPath) |
Modifier and Type | Method and 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)
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 . |
Lock |
LockManagerImpl.lock(NodeState nodeState,
boolean isDeep,
boolean isSessionScoped) |
Lock |
LockStateManager.lock(NodeState nodeState,
boolean isDeep,
boolean isSessionScoped)
Lock a node.
|
Lock |
LockManagerImpl.lock(NodeState nodeState,
boolean isDeep,
boolean isSessionScoped,
long timeoutHint,
String ownerHint) |
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.
|
Modifier and Type | Field and Description |
---|---|
protected NodeState |
AbstractRemove.parent |
protected NodeState |
Remove.parent |
Modifier and Type | Method and Description |
---|---|
NodeState |
ReorderNodes.getBeforeNode() |
NodeState |
Move.getDestinationParentState() |
NodeState |
ReorderNodes.getInsertNode() |
NodeState |
SetMixin.getNodeState() |
NodeState |
SetPrimaryType.getNodeState() |
protected static NodeState |
AbstractOperation.getNodeState(Path nodePath,
HierarchyManager hierMgr) |
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() |
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 Operation |
LockRefresh.create(NodeState nodeState) |
static Operation |
LockRelease.create(NodeState nodeState) |
static SetTree |
SetTree.create(NodeState treeState) |
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 Operation |
Checkout.create(NodeState nodeState,
NodeId activityId,
VersionManager mgr) |
static Checkpoint |
Checkpoint.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 Checkin |
Checkin.create(NodeState nodeState,
VersionManager mgr) |
static Operation |
Checkout.create(NodeState nodeState,
VersionManager mgr) |
static Checkpoint |
Checkpoint.create(NodeState nodeState,
VersionManager mgr) |
static CreateConfiguration |
CreateConfiguration.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 |
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 |
TransientISFactory.createDeepNodeState(NodeId nodeId,
NodeEntry anyParent) |
NodeState |
WorkspaceItemStateFactory.createDeepNodeState(NodeId nodeId,
NodeEntry anyParent)
Creates the node with information retrieved from the
RepositoryService . |
NodeState |
TransientISFactory.createNewNodeState(NodeEntry entry,
Name nodetypeName,
QNodeDefinition definition) |
NodeState |
TransientItemStateFactory.createNewNodeState(NodeEntry entry,
Name nodeTypeName,
QNodeDefinition definition)
Creates a transient child
NodeState with the given
name . |
NodeState |
ItemStateFactory.createNodeState(NodeId nodeId,
NodeEntry entry)
Creates the child
NodeState with the given
nodeId . |
NodeState |
TransientISFactory.createNodeState(NodeId nodeId,
NodeEntry entry) |
NodeState |
WorkspaceItemStateFactory.createNodeState(NodeId nodeId,
NodeEntry entry)
Creates the node with information retrieved from the
RepositoryService . |
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 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> |
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.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
StateUtility.isMovedState(NodeState state) |
Modifier and Type | Method and 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 |
VersionManagerImpl.checkout(NodeState nodeState) |
void |
VersionManager.checkout(NodeState nodeState,
NodeId activityId) |
void |
VersionManagerImpl.checkout(NodeState nodeState,
NodeId activityId) |
NodeEntry |
VersionManager.checkpoint(NodeState nodeState) |
NodeEntry |
VersionManagerImpl.checkpoint(NodeState nodeState) |
NodeEntry |
VersionManager.checkpoint(NodeState nodeState,
NodeId activityId) |
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> |
VersionManagerImpl.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,
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 |
VersionManagerImpl.restore(NodeState[] versionStates,
boolean removeExisting) |
void |
VersionManager.restore(NodeState nodeState,
Path relativePath,
NodeState versionState,
boolean removeExisting) |
void |
VersionManagerImpl.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–2022 The Apache Software Foundation. All rights reserved.