|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.Graph.AbstractAction<T>
org.modeshape.graph.Graph.CopyAction<T>
@NotThreadSafe protected abstract class Graph.CopyAction<T>

| Field Summary | |
|---|---|
protected org.modeshape.graph.Locations |
from
|
protected String |
fromWorkspaceName
|
| Method Summary | |
|---|---|
Graph.Copy<T> |
and(Iterable<Property> idProperties)
Specify that another node should also be copied or moved. |
Graph.Copy<T> |
and(Location from)
Specify that another node should also be copied or moved. |
Graph.Copy<T> |
and(Path from)
Specify that another node should also be copied or moved. |
Graph.Copy<T> |
and(Property from)
Specify that another node should also be copied or moved. |
Graph.Copy<T> |
and(Property firstFrom,
Property... additionalFroms)
Specify that another node should also be copied or moved. |
Graph.Copy<T> |
and(String from)
Specify that another node should also be copied or moved. |
Graph.Copy<T> |
and(UUID from)
Specify that another node should also be copied or moved. |
Graph.CopyTarget<T> |
fromWorkspace(String workspaceName)
|
T |
into(Location into)
Finish the request by specifying the location of the parent into which the node should be copied/moved. |
T |
into(Path into)
Finish the request by specifying the location of the parent into which the node should be copied/moved. |
T |
into(Property into)
Finish the request by specifying the location of the parent into which the node should be copied/moved. |
T |
into(Property firstIdProperty,
Property... additionalIdProperties)
Finish the request by specifying the location of the parent into which the node should be copied/moved. |
T |
into(String into)
Finish the request by specifying the location of the parent into which the node should be copied/moved. |
T |
into(UUID into)
Finish the request by specifying the location of the parent into which the node should be copied/moved. |
protected abstract T |
submit(String fromWorkspaceName,
org.modeshape.graph.Locations from,
Location into,
Name nameForCopy)
Submit any requests to move the targets into the supplied parent location |
T |
to(Location desiredLocation)
Finish the request by specifying the Location.create where the node should be copied/moved. |
T |
to(Path desiredPath)
Finish the request by specifying the Location.create where the node should be copied/moved. |
T |
to(String desiredPath)
Finish the request by specifying the Location.create where the node should be copied/moved. |
| Methods inherited from class org.modeshape.graph.Graph.AbstractAction |
|---|
and |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.modeshape.graph.Locations from
protected String fromWorkspaceName
| Method Detail |
|---|
public Graph.Copy<T> and(Location from)
Graph.And
and in interface Graph.And<Graph.Copy<T>>from - the location of the node to be copied or moved
public Graph.Copy<T> and(String from)
Graph.And
and in interface Graph.And<Graph.Copy<T>>from - the path of the node to be copied or moved
public Graph.Copy<T> and(Path from)
Graph.And
and in interface Graph.And<Graph.Copy<T>>from - the path of the node to be copied or moved
public Graph.Copy<T> and(Property firstFrom,
Property... additionalFroms)
Graph.And
and in interface Graph.And<Graph.Copy<T>>firstFrom - the first property that, with the additionalIdProperties, uniquely identifies the
node to be copied or movedadditionalFroms - the additional properties that, with the additionalIdProperties, uniquely
identifies the node to be copied or moved
public Graph.Copy<T> and(Iterable<Property> idProperties)
Graph.And
and in interface Graph.And<Graph.Copy<T>>idProperties - the properties that uniquely identifies the node to be copied or moved
public Graph.Copy<T> and(Property from)
Graph.And
and in interface Graph.And<Graph.Copy<T>>from - the property that uniquely identifies the node to be copied or moved
public Graph.Copy<T> and(UUID from)
Graph.And
and in interface Graph.And<Graph.Copy<T>>from - the UUID of the node to be copied or moved
protected abstract T submit(String fromWorkspaceName,
org.modeshape.graph.Locations from,
Location into,
Name nameForCopy)
fromWorkspaceName - the name of the workspace containing the from locationsfrom - the locations that are being copiedinto - the parent locationnameForCopy - the name that should be used for the copy, or null if the name should be the same as the original
public Graph.CopyTarget<T> fromWorkspace(String workspaceName)
fromWorkspace in interface Graph.FromWorkspace<Graph.CopyTarget<T>>public T into(Location into)
Graph.IntoGraph.To.to(Location) instead.
into in interface Graph.Into<T>into - the location of the new parent
Graph.To.to(Location)public T into(Path into)
Graph.IntoGraph.To.to(Path) instead.
into in interface Graph.Into<T>into - the path of the new parent
Graph.To.to(Path)public T into(UUID into)
Graph.Into
into in interface Graph.Into<T>into - the UUID of the new parent
public T into(Property firstIdProperty,
Property... additionalIdProperties)
Graph.Into
into in interface Graph.Into<T>firstIdProperty - the first property that, with the additionalIdProperties, uniquely identifies
the new parentadditionalIdProperties - the additional properties that, with the additionalIdProperties,
uniquely identifies the new parent
public T into(Property into)
Graph.Into
into in interface Graph.Into<T>into - the property that uniquely identifies the new parent
public T into(String into)
Graph.IntoGraph.To.to(String) instead.
into in interface Graph.Into<T>into - the path of the new parent
Graph.To.to(String)public T to(Location desiredLocation)
Graph.ToGraph.Into.into(Location), which specifies the location of the parent and which assumes the new node should have the
same name as the original, this method allows the caller to specify a new name for the new node.
to in interface Graph.To<T>desiredLocation - the desired location for the new node, which must have a path
Graph.Into.into(Location)public T to(Path desiredPath)
Graph.ToGraph.Into.into(Path) , which specifies the location of the parent and which assumes the new node should have the
same name as the original, this method allows the caller to specify a new name for the new node.
to in interface Graph.To<T>desiredPath - the path for the new node
Graph.Into.into(Path)public T to(String desiredPath)
Graph.ToGraph.Into.into(String), which specifies the location of the parent and which assumes the new node should have the
same name as the original, this method allows the caller to specify a new name for the new node.
to in interface Graph.To<T>desiredPath - the path for the new node
Graph.Into.into(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||