org.jboss.dna.graph
Class Graph.CloneTargetAction<T>

java.lang.Object
  extended by org.jboss.dna.graph.Graph.CloneTargetAction<T>
All Implemented Interfaces:
Graph.Conjunction<T>, Graph.Into<Graph.WithUuids<T>>
Enclosing class:
Graph

@NotThreadSafe
public abstract class Graph.CloneTargetAction<T>
extends Object
implements Graph.Into<Graph.WithUuids<T>>


Method Summary
 Graph.WithUuids<T> into(Location into)
          Finish the request by specifying the location of the parent into which the node should be copied/moved.
 Graph.WithUuids<T> into(Path into)
          Finish the request by specifying the location of the parent into which the node should be copied/moved.
 Graph.WithUuids<T> into(Property into)
          Finish the request by specifying the location of the parent into which the node should be copied/moved.
 Graph.WithUuids<T> into(Property firstIdProperty, Property... additionalIdProperties)
          Finish the request by specifying the location of the parent into which the node should be copied/moved.
 Graph.WithUuids<T> into(String into)
          Finish the request by specifying the location of the parent into which the node should be copied/moved.
 Graph.WithUuids<T> into(UUID into)
          Finish the request by specifying the location of the parent into which the node should be copied/moved.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

into

public Graph.WithUuids<T> into(Location into)
Description copied from interface: Graph.Into
Finish the request by specifying the location of the parent into which the node should be copied/moved. This operation will result in the copied/moved node having the same name as the original (but with the appropriately-determined same-name-sibling index). If you want to control the name of the node for the newly copied/moved node, use Graph.To.to(Location) instead.

Specified by:
into in interface Graph.Into<Graph.WithUuids<T>>
Parameters:
into - the location of the new parent
Returns:
the interface for additional requests or actions
See Also:
Graph.To.to(Location)

into

public Graph.WithUuids<T> into(Path into)
Description copied from interface: Graph.Into
Finish the request by specifying the location of the parent into which the node should be copied/moved. This operation will result in the copied/moved node having the same name as the original (but with the appropriately-determined same-name-sibling index). If you want to control the name of the node for the newly copied/moved node, use Graph.To.to(Path) instead.

Specified by:
into in interface Graph.Into<Graph.WithUuids<T>>
Parameters:
into - the path of the new parent
Returns:
the interface for additional requests or actions
See Also:
Graph.To.to(Path)

into

public Graph.WithUuids<T> into(UUID into)
Description copied from interface: Graph.Into
Finish the request by specifying the location of the parent into which the node should be copied/moved. This operation will result in the copied/moved node having the same name as the original (but with the appropriately-determined same-name-sibling index).

Specified by:
into in interface Graph.Into<Graph.WithUuids<T>>
Parameters:
into - the UUID of the new parent
Returns:
the interface for additional requests or actions

into

public Graph.WithUuids<T> into(Property firstIdProperty,
                               Property... additionalIdProperties)
Description copied from interface: Graph.Into
Finish the request by specifying the location of the parent into which the node should be copied/moved. This operation will result in the copied/moved node having the same name as the original (but with the appropriately-determined same-name-sibling index).

Specified by:
into in interface Graph.Into<Graph.WithUuids<T>>
Parameters:
firstIdProperty - the first property that, with the additionalIdProperties, uniquely identifies the new parent
additionalIdProperties - the additional properties that, with the additionalIdProperties, uniquely identifies the new parent
Returns:
the interface for additional requests or actions

into

public Graph.WithUuids<T> into(Property into)
Description copied from interface: Graph.Into
Finish the request by specifying the location of the parent into which the node should be copied/moved. This operation will result in the copied/moved node having the same name as the original (but with the appropriately-determined same-name-sibling index).

Specified by:
into in interface Graph.Into<Graph.WithUuids<T>>
Parameters:
into - the property that uniquely identifies the new parent
Returns:
the interface for additional requests or actions

into

public Graph.WithUuids<T> into(String into)
Description copied from interface: Graph.Into
Finish the request by specifying the location of the parent into which the node should be copied/moved. This operation will result in the copied/moved node having the same name as the original (but with the appropriately-determined same-name-sibling index). If you want to control the name of the node for the newly copied/moved node, use Graph.To.to(String) instead.

Specified by:
into in interface Graph.Into<Graph.WithUuids<T>>
Parameters:
into - the path of the new parent
Returns:
the interface for additional requests or actions
See Also:
Graph.To.to(String)


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.