|
||||||||||
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.MoveAction<T>
@NotThreadSafe protected abstract class Graph.MoveAction<T>
Method Summary | |
---|---|
Graph.Move<T> |
and(Iterable<Property> idPropertiesFrom)
Specify that another node should also be copied or moved. |
Graph.Move<T> |
and(Location from)
Specify that another node should also be copied or moved. |
Graph.Move<T> |
and(Path from)
Specify that another node should also be copied or moved. |
Graph.Move<T> |
and(Property from)
Specify that another node should also be copied or moved. |
Graph.Move<T> |
and(Property firstFrom,
Property... additionalFroms)
Specify that another node should also be copied or moved. |
Graph.Move<T> |
and(String from)
Specify that another node should also be copied or moved. |
Graph.Move<T> |
and(UUID from)
Specify that another node should also be copied or moved. |
Graph.Into<T> |
as(Name newName)
Finish the request by specifying the new name. |
Graph.Into<T> |
as(String newName)
Finish the request by specifying the new name. |
T |
before(Location before)
Finish the request by specifying the location of the node before which the node should be copied/moved. |
T |
before(Path before)
Finish the request by specifying the location of the node before which the node should be copied/moved. |
T |
before(Property before)
Finish the request by specifying the location of the node before which the node should be copied/moved. |
T |
before(Property firstIdProperty,
Property... additionalIdProperties)
Finish the request by specifying the location of the node before which the node should be copied/moved. |
T |
before(String before)
Finish the request by specifying the location of the node before which the node should be copied/moved. |
T |
before(UUID before)
Finish the request by specifying the location of the node before which the node should be copied/moved. |
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(org.modeshape.graph.Locations from,
Location into,
Location before,
Name newName)
Submit any requests to move the targets into the supplied parent location |
protected T |
submit(org.modeshape.graph.Locations from,
Location into,
Name newName)
Submit any requests to move the targets into the supplied parent location |
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 |
Method Detail |
---|
public Graph.Move<T> and(Location from)
Graph.And
and
in interface Graph.And<Graph.Move<T>>
from
- the location of the node to be copied or moved
public Graph.Move<T> and(String from)
Graph.And
and
in interface Graph.And<Graph.Move<T>>
from
- the path of the node to be copied or moved
public Graph.Move<T> and(Path from)
Graph.And
and
in interface Graph.And<Graph.Move<T>>
from
- the path of the node to be copied or moved
public Graph.Move<T> and(Property firstFrom, Property... additionalFroms)
Graph.And
and
in interface Graph.And<Graph.Move<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.Move<T> and(Iterable<Property> idPropertiesFrom)
Graph.And
and
in interface Graph.And<Graph.Move<T>>
idPropertiesFrom
- the properties that uniquely identifies the node to be copied or moved
public Graph.Move<T> and(Property from)
Graph.And
and
in interface Graph.And<Graph.Move<T>>
from
- the property that uniquely identifies the node to be copied or moved
public Graph.Move<T> and(UUID from)
Graph.And
and
in interface Graph.And<Graph.Move<T>>
from
- the UUID of the node to be copied or moved
public Graph.Into<T> as(Name newName)
Graph.AsName
as
in interface Graph.AsName<Graph.Into<T>>
newName
- the new name
public Graph.Into<T> as(String newName)
as
in interface Graph.AsName<Graph.Into<T>>
newName
- the new name
Graph.AsName.as(java.lang.String)
protected abstract T submit(org.modeshape.graph.Locations from, Location into, Location before, Name newName)
from
- the location(s) that are being moved; never nullinto
- the parent locationbefore
- the location of the child of the parent before which this node should be placednewName
- the new name for the node being moved; may be null
protected T submit(org.modeshape.graph.Locations from, Location into, Name newName)
from
- the location(s) that are being moved; never nullinto
- the parent locationnewName
- the new name for the node being moved; may be null
public T into(Location into)
Graph.Into
Graph.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.Into
Graph.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.Into
Graph.To.to(String)
instead.
into
in interface Graph.Into<T>
into
- the path of the new parent
Graph.To.to(String)
public T before(Location before)
Graph.Before
Graph.To.to(Location)
instead.
before
in interface Graph.Before<T>
before
- the location of the new parent
Graph.To.to(Location)
public T before(Path before)
Graph.Before
Graph.To.to(Path)
instead.
before
in interface Graph.Before<T>
before
- the path of the new parent
Graph.To.to(Path)
public T before(UUID before)
Graph.Before
before
in interface Graph.Before<T>
before
- the UUID of the new parent
public T before(Property firstIdProperty, Property... additionalIdProperties)
Graph.Before
before
in interface Graph.Before<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 before(Property before)
Graph.Before
before
in interface Graph.Before<T>
before
- the property that uniquely identifies the new parent
public T before(String before)
Graph.Before
Graph.To.to(String)
instead.
before
in interface Graph.Before<T>
before
- the path of the new parent
Graph.To.to(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |