Interface ExternalIdUpsertPreprocessor


public interface ExternalIdUpsertPreprocessor
This optional preprocessor is called in ExternalIdNotes before an update is committed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when inserting or updating an external ID.
  • Method Details

    • upsert

      void upsert(ExternalId extId)
      Called when inserting or updating an external ID. ExternalId.blobId() is set. The upsert can be blocked by throwing StorageException, e.g. when a precondition or preparatory work fails.