Module io.ebean.api
Package io.ebean

Interface MergeOptions


public interface MergeOptions
Options used to control a merge. Use MergeOptionsBuilder to create an instance.

Instances of MergeOptions are thread safe and safe to share across threads.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if Id values are supplied by the client.
    boolean
    Return true if delete permanent should be used and false for 'normal' delete that allows soft deletes.
    Return the paths included in the merge.
  • Method Details

    • isClientGeneratedIds

      boolean isClientGeneratedIds()
      Returns 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.

    • isDeletePermanent

      boolean isDeletePermanent()
      Return true if delete permanent should be used and false for 'normal' delete that allows soft deletes.
    • paths

      Set<String> paths()
      Return the paths included in the merge.