|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MapNode | |
---|---|
org.modeshape.connector.store.jpa.model.simple | The classes that define the "simple" storage model for the JPA connector. |
org.modeshape.graph.connector.map | The MapRepository class and its supporting classes provide a default implementation of the connector
classes for connectors that support the transient or persistent mapping of a UUID to a standard
representation of a node . |
Uses of MapNode in org.modeshape.connector.store.jpa.model.simple |
---|
Classes in org.modeshape.connector.store.jpa.model.simple that implement MapNode | |
---|---|
protected class |
SimpleJpaRepository.JpaNode
Adapter between the persistent entity for nodes and the map repository interface for
nodes . |
Methods in org.modeshape.connector.store.jpa.model.simple that return MapNode | |
---|---|
MapNode |
SimpleJpaRepository.Workspace.copyNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
boolean recursive)
This should copy the subgraph given by the original node and place the new copy under the supplied new parent. |
protected MapNode |
SimpleJpaRepository.Workspace.createMapNode(UUID uuid)
|
MapNode |
SimpleJpaRepository.Workspace.getNode(Path path)
|
MapNode |
SimpleJpaRepository.JpaNode.getParent()
|
protected MapNode |
SimpleJpaRepository.Workspace.removeNodeFromMap(UUID nodeUuid)
|
MapNode |
SimpleJpaRepository.JpaNode.removeProperty(Name propertyName)
|
MapNode |
SimpleJpaRepository.JpaNode.setProperties(Iterable<Property> properties)
|
MapNode |
SimpleJpaRepository.JpaNode.setProperty(ExecutionContext context,
String name,
Object... values)
|
MapNode |
SimpleJpaRepository.JpaNode.setProperty(Property property)
|
Methods in org.modeshape.connector.store.jpa.model.simple that return types with arguments of type MapNode | |
---|---|
List<MapNode> |
SimpleJpaRepository.Workspace.getBranch(Location rootLocation,
int maximumDepth)
Retrieves the branch of nodes rooted at the given location using the subgraph bulk accessor method . |
List<MapNode> |
SimpleJpaRepository.JpaNode.getChildren()
|
Methods in org.modeshape.connector.store.jpa.model.simple with parameters of type MapNode | |
---|---|
void |
SimpleJpaRepository.JpaNode.addChild(int index,
MapNode child)
|
void |
SimpleJpaRepository.JpaNode.addChild(MapNode child)
|
protected void |
SimpleJpaRepository.Workspace.addNodeToMap(MapNode node)
Adds the given node to the persistent store, replacing any node already in the persistent store with the same UUID. |
MapNode |
SimpleJpaRepository.Workspace.copyNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
boolean recursive)
This should copy the subgraph given by the original node and place the new copy under the supplied new parent. |
protected void |
SimpleJpaRepository.Workspace.correctSameNameSiblingIndexes(ExecutionContext context,
MapNode parentNode,
Name name)
|
void |
SimpleJpaRepository.Workspace.lockNode(MapNode node,
LockBranchRequest.LockScope lockScope,
long lockTimeoutInMillis)
This connector does not support connector-level, persistent locking of nodes. |
boolean |
SimpleJpaRepository.JpaNode.removeChild(MapNode child)
|
protected void |
SimpleJpaRepository.Workspace.removeUuidReference(MapNode node)
Removes the given node and its children from the persistent store using the subgraph bulk delete method . |
void |
SimpleJpaRepository.JpaNode.setParent(MapNode parent)
|
void |
SimpleJpaRepository.Workspace.unlockNode(MapNode node)
This connector does not support connector-level, persistent locking of nodes. |
Uses of MapNode in org.modeshape.graph.connector.map |
---|
Classes in org.modeshape.graph.connector.map that implement MapNode | |
---|---|
class |
DefaultMapNode
|
Methods in org.modeshape.graph.connector.map that return MapNode | |
---|---|
MapNode |
MapWorkspace.cloneNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
Path.Segment desiredSegment,
boolean removeExisting,
Set<Location> removedExistingNodes)
This should clone the subgraph given by the original node and place the cloned copy under the supplied new parent. |
MapNode |
AbstractMapWorkspace.cloneNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
Path.Segment desiredSegment,
boolean removeExisting,
Set<Location> removedExistingNodes)
This should clone the subgraph given by the original node and place the cloned copy under the supplied new parent. |
MapNode |
MapWorkspace.copyNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
boolean recursive)
This should copy the subgraph given by the original node and place the new copy under the supplied new parent. |
MapNode |
AbstractMapWorkspace.copyNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
boolean recursive)
This should copy the subgraph given by the original node and place the new copy under the supplied new parent. |
protected MapNode |
AbstractMapWorkspace.copyNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
boolean recursive,
Map<UUID,UUID> oldToNewUuids)
This should copy the subgraph given by the original node and place the new copy under the supplied new parent. |
protected MapNode |
AbstractMapWorkspace.createMapNode(UUID uuid)
Creates an empty node with the given UUID. |
MapNode |
MapWorkspace.createNode(ExecutionContext context,
MapNode parentNode,
Name name,
UUID uuid,
Iterable<Property> properties)
Create a new node with the supplied name, as a child of the supplied parent. |
MapNode |
AbstractMapWorkspace.createNode(ExecutionContext context,
MapNode parentNode,
Name name,
UUID uuid,
Iterable<Property> properties)
Create a new node with the supplied name, as a child of the supplied parent. |
MapNode |
MapWorkspace.createNode(ExecutionContext context,
String pathToNewNode,
Iterable<Property> properties)
Create a node at the supplied path. |
MapNode |
AbstractMapWorkspace.createNode(ExecutionContext context,
String pathToNewNode,
Iterable<Property> properties)
Create a node at the supplied path. |
MapNode |
AbstractMapWorkspace.getNode(ExecutionContext context,
String path)
Find a node with the given path. |
MapNode |
MapWorkspace.getNode(Path path)
Returns the node at the given path, if one exists of null if no exists at the given path. |
MapNode |
AbstractMapWorkspace.getNode(Path path)
Find a node with the given path. |
MapNode |
MapWorkspace.getNode(UUID uuid)
Returns the node with the given UUID, if one exists or null if no with the given UUID
exists in the workspace. |
abstract MapNode |
AbstractMapWorkspace.getNode(UUID nodeUuid)
Gets the node with the given UUID from the backing map, if one exists |
MapNode |
MapNode.getParent()
Returns the parent of this node or null if the node is the root node for its workspace. |
MapNode |
DefaultMapNode.getParent()
|
MapNode |
MapWorkspace.getRoot()
Returns the root node in the workspace. |
MapNode |
AbstractMapWorkspace.getRoot()
Returns the root node in the workspace. |
protected MapNode |
MapRequestProcessor.getTargetNode(MapWorkspace workspace,
Request request,
Location location)
|
protected abstract MapNode |
AbstractMapWorkspace.removeNodeFromMap(UUID nodeUuid)
Removes the node with the given UUID from the backing map, returning the node if it exists |
MapNode |
MapNode.removeProperty(Name propertyName)
Removes the property with the given name |
MapNode |
DefaultMapNode.removeProperty(Name propertyName)
|
MapNode |
MapNode.setProperties(Iterable<Property> properties)
Sets the given properties in a single operation, overwriting any previous properties for the same name This bulk mutator should be used when multiple properties are being set in order to allow underlying implementations to optimize their access to their respective persistent storage mechanism. |
MapNode |
DefaultMapNode.setProperties(Iterable<Property> properties)
|
MapNode |
MapNode.setProperty(ExecutionContext context,
String name,
Object... values)
Sets the property with the given name, overwriting any previous property for the given name |
MapNode |
DefaultMapNode.setProperty(ExecutionContext context,
String name,
Object... values)
Sets the property with the given name, overwriting any previous property for the given name |
MapNode |
MapNode.setProperty(Property property)
Sets the property with the given name, overwriting any previous property for the given name |
MapNode |
DefaultMapNode.setProperty(Property property)
Sets the property with the given name, overwriting any previous property for the given name |
Methods in org.modeshape.graph.connector.map that return types with arguments of type MapNode | |
---|---|
List<MapNode> |
MapNode.getChildren()
|
LinkedList<MapNode> |
DefaultMapNode.getChildren()
|
Methods in org.modeshape.graph.connector.map with parameters of type MapNode | |
---|---|
void |
MapNode.addChild(int index,
MapNode child)
Inserts the specified child at the specified position in the list of children. |
void |
DefaultMapNode.addChild(int index,
MapNode child)
|
void |
MapNode.addChild(MapNode child)
Adds the given child to the end of the list of children for this node |
void |
DefaultMapNode.addChild(MapNode child)
|
protected abstract void |
AbstractMapWorkspace.addNodeToMap(MapNode node)
Adds the given node to the backing map, replacing any node already in the backing map with the same UUID. |
MapNode |
MapWorkspace.cloneNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
Path.Segment desiredSegment,
boolean removeExisting,
Set<Location> removedExistingNodes)
This should clone the subgraph given by the original node and place the cloned copy under the supplied new parent. |
MapNode |
AbstractMapWorkspace.cloneNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
Path.Segment desiredSegment,
boolean removeExisting,
Set<Location> removedExistingNodes)
This should clone the subgraph given by the original node and place the cloned copy under the supplied new parent. |
MapNode |
MapWorkspace.copyNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
boolean recursive)
This should copy the subgraph given by the original node and place the new copy under the supplied new parent. |
MapNode |
AbstractMapWorkspace.copyNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
boolean recursive)
This should copy the subgraph given by the original node and place the new copy under the supplied new parent. |
protected MapNode |
AbstractMapWorkspace.copyNode(ExecutionContext context,
MapNode original,
MapWorkspace newWorkspace,
MapNode newParent,
Name desiredName,
boolean recursive,
Map<UUID,UUID> oldToNewUuids)
This should copy the subgraph given by the original node and place the new copy under the supplied new parent. |
protected void |
AbstractMapWorkspace.correctSameNameSiblingIndexes(ExecutionContext context,
MapNode parentNode,
Name name)
Corrects the SNS indices for all children of the node with the given name |
MapNode |
MapWorkspace.createNode(ExecutionContext context,
MapNode parentNode,
Name name,
UUID uuid,
Iterable<Property> properties)
Create a new node with the supplied name, as a child of the supplied parent. |
MapNode |
AbstractMapWorkspace.createNode(ExecutionContext context,
MapNode parentNode,
Name name,
UUID uuid,
Iterable<Property> properties)
Create a new node with the supplied name, as a child of the supplied parent. |
protected Location |
MapRequestProcessor.getActualLocation(Location location,
MapNode node)
|
Set<UUID> |
AbstractMapWorkspace.getUuidsUnderNode(MapNode node)
Returns all of the UUIDs in the branch rooted at node . |
void |
MapWorkspace.lockNode(MapNode node,
LockBranchRequest.LockScope lockScope,
long lockTimeoutInMillis)
Attempts to lock the given node with the given timeout. |
void |
MapWorkspace.moveNode(ExecutionContext context,
MapNode node,
Name desiredNewName,
MapWorkspace newWorkspace,
MapNode newParent,
MapNode beforeNode)
Move the supplied node to the new parent. |
void |
AbstractMapWorkspace.moveNode(ExecutionContext context,
MapNode node,
Name desiredNewName,
MapWorkspace newWorkspace,
MapNode newParent,
MapNode beforeNode)
Move the supplied node to the new parent. |
protected void |
AbstractMapWorkspace.moveNodeToWorkspace(MapNode node,
AbstractMapWorkspace newWorkspace)
Moves the branch rooted at the given node to the new workspace, removing it from this workspace. |
Path |
MapWorkspace.pathFor(PathFactory pathFactory,
MapNode node)
Returns the path for the given node with this workspace if one exists, or a null if no node exists at the given
path. |
Path |
AbstractMapWorkspace.pathFor(PathFactory pathFactory,
MapNode node)
Returns the absolute path to the given node |
boolean |
MapNode.removeChild(MapNode child)
Removes the given child from the list of children |
boolean |
DefaultMapNode.removeChild(MapNode child)
|
boolean |
MapWorkspace.removeNode(ExecutionContext context,
MapNode node)
Removes the given node. |
boolean |
AbstractMapWorkspace.removeNode(ExecutionContext context,
MapNode node)
Removes the given node and its children, correcting the SNS and child indices for its parent. |
protected void |
AbstractMapWorkspace.removeUuidReference(MapNode node)
Recursively removes the given node and its children from the backing map |
void |
MapNode.setParent(MapNode parent)
|
void |
DefaultMapNode.setParent(MapNode parent)
|
void |
MapWorkspace.unlockNode(MapNode node)
Attempts to unlock the given node. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |