Interface FluentSaveOperation
- All Known Subinterfaces:
FluentNeo4jOperations
- All Known Implementing Classes:
Neo4jTemplate
@API(status=STABLE,
since="6.1.3")
public interface FluentSaveOperation
FluentSaveOperation allows creation and execution of Neo4j save operations in a
fluent API style. It is designed to be used together with the
fluent find operations.
Both interfaces provide a way to specify a pair of two types: A domain type and a
result (projected) type. The fluent save operations are mainly used with DTO based
projections. Closed interface projections won't be that helpful when you received them
via fluent find operations as they won't be modifiable.
- Since:
- 6.1.3
- Author:
- Michael J. Simons, Gerrit Meier
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAfter the domain type has been specified, related projections or instances of the domain type can be saved. -
Method Summary
Modifier and TypeMethodDescriptionStart creating a save operation for the given domainType.
-
Method Details
-
save
Start creating a save operation for the given domainType.- Type Parameters:
T- the type of the domain type- Parameters:
domainType- must not be null.- Returns:
- new instance of
FluentSaveOperation.ExecutableSave. - Throws:
IllegalArgumentException- if domainType is null.
-