java.lang.Object
io.ebean.MergeOptionsBuilder
Builds a MergeOptions which is immutable and thread safe.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd a path that will included in the merge.build()
Build and return the MergeOptions instance.static MergeOptions
Return the default options.Set to true if Id values are supplied by the client.Set that deletions should use delete permanent (rather than default which allows soft deletes).
-
Constructor Details
-
MergeOptionsBuilder
public MergeOptionsBuilder()
-
-
Method Details
-
defaultOptions
Return the default options. -
addPath
Add a path that will included in the merge.- Parameters:
path
- The path relative to the root type.- Returns:
- The builder to chain another addPath() or build().
-
setClientGeneratedIds
Set to true if Id values are supplied by the client.This would be the case when for example a mobile creates data in it's own local database and then sync's. In this case often the id values are UUID.
-
setDeletePermanent
Set that deletions should use delete permanent (rather than default which allows soft deletes). -
build
Build and return the MergeOptions instance.
-