|
||||||||||
| 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.CreateAction<T>
@NotThreadSafe protected abstract class Graph.CreateAction<T>

| Method Summary | |
|---|---|
T |
and()
Finish the request and prepare to start another. |
Graph.Create<T> |
and(Iterable<Property> properties)
Specify property that should the new node should have. |
Graph.Create<T> |
and(Name name,
Object... values)
Specify a property that should the new node should have. |
Graph.Create<T> |
and(Property property)
Specify a property that should the new node should have. |
Graph.Create<T> |
and(Property property,
Property... additionalProperties)
Specify properties that should the new node should have. |
Graph.Create<T> |
and(String name,
Object... values)
Specify a property that should the new node should have. |
Graph.Create<T> |
and(UUID uuid)
Specify the UUID that should the new node should have. |
Graph.CreateAction<T> |
byAppending()
Create the node if it does not exist by appending or adjusting the same-name-sibling
index). |
Graph.CreateAction<T> |
ifAbsent()
Create the node only if there is no existing node with the same name (ignoring
same-name-sibling indexes). |
Graph.CreateAction<T> |
orReplace()
Create the node if it does not exist, or replace any existing node that has the same name (ignoring same-name-sibling indexes). |
Graph.CreateAction<T> |
orUpdate()
Create the node if it does not exist, or update any existing node that has the same name
(ignoring same-name-sibling indexes). |
protected abstract T |
submit(Location parent,
String workspaceName,
Name childName,
Collection<Property> properties,
NodeConflictBehavior conflictBehavior)
|
Graph.Create<T> |
with(Iterable<Property> properties)
Specify property that should the new node should have. |
Graph.Create<T> |
with(Name name,
Object... values)
Specify a property that should the new node should have. |
Graph.Create<T> |
with(Property property)
Specify a property that should the new node should have. |
Graph.Create<T> |
with(Property property,
Property... additionalProperties)
Specify properties that should the new node should have. |
Graph.Create<T> |
with(String name,
Object... values)
Specify a property that should the new node should have. |
Graph.Create<T> |
with(UUID uuid)
Specify the UUID that should the new node should have. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Graph.CreateAction<T> ifAbsent()
name (ignoring
same-name-sibling indexes).
ifAbsent in interface Graph.Create<T>Graph.Create.ifAbsent()public Graph.CreateAction<T> orReplace()
name (ignoring same-name-sibling indexes).
orReplace in interface Graph.Create<T>Graph.Create.orReplace()public Graph.CreateAction<T> orUpdate()
name
(ignoring same-name-sibling indexes).
orUpdate in interface Graph.Create<T>Graph.Create.orUpdate()public Graph.CreateAction<T> byAppending()
same-name-sibling
index). This is the default behavior.
byAppending in interface Graph.Create<T>Graph.Create.byAppending()public Graph.Create<T> and(UUID uuid)
Graph.Create
and in interface Graph.Create<T>uuid - the UUID
public Graph.Create<T> and(Property property)
Graph.Create
and in interface Graph.Create<T>property - the property
public Graph.Create<T> and(Iterable<Property> properties)
Graph.CreateGraph.Create.and(Property) for each of
the properties in the supplied Iterable.
and in interface Graph.Create<T>properties - the properties that should be added
public Graph.Create<T> and(String name,
Object... values)
Graph.Create
and in interface Graph.Create<T>name - the name of the propertyvalues - the property values
public Graph.Create<T> and(Name name,
Object... values)
Graph.Create
and in interface Graph.Create<T>name - the name of the propertyvalues - the property values
public Graph.Create<T> and(Property property,
Property... additionalProperties)
Graph.Create
and in interface Graph.Create<T>property - the first propertyadditionalProperties - the additional property
public Graph.Create<T> with(UUID uuid)
Graph.CreateGraph.Create.and(UUID).
with in interface Graph.Create<T>uuid - the UUID
public Graph.Create<T> with(Property property)
Graph.CreateGraph.Create.and(Property).
with in interface Graph.Create<T>property - the property
public Graph.Create<T> with(Iterable<Property> properties)
Graph.CreateGraph.Create.and(Iterable).
with in interface Graph.Create<T>properties - the properties that should be added
public Graph.Create<T> with(Property property,
Property... additionalProperties)
Graph.CreateGraph.Create.and(Property, Property...).
with in interface Graph.Create<T>property - the first propertyadditionalProperties - the additional property
public Graph.Create<T> with(String name,
Object... values)
Graph.CreateGraph.Create.and(String, Object...).
with in interface Graph.Create<T>name - the name of the propertyvalues - the property values
public Graph.Create<T> with(Name name,
Object... values)
Graph.CreateGraph.Create.and(Name, Object...).
with in interface Graph.Create<T>name - the name of the propertyvalues - the property values
protected abstract T submit(Location parent,
String workspaceName,
Name childName,
Collection<Property> properties,
NodeConflictBehavior conflictBehavior)
public T and()
Graph.Conjunction
and in interface Graph.Conjunction<T>and in class Graph.AbstractAction<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||