Interface ExternalIdUpsertPreprocessor
public interface ExternalIdUpsertPreprocessor
This optional preprocessor is called in
ExternalIdNotes
before an update is committed.-
Method Summary
Modifier and TypeMethodDescriptionvoid
upsert
(ExternalId extId, Class<? extends AccountsUpdate> accountsUpdateImplClz) Called when inserting or updating an external ID.
-
Method Details
-
upsert
Called when inserting or updating an external ID.ExternalId.blobId()
is set. The upsert can be blocked by throwingStorageException
, e.g. when a precondition or preparatory work fails.- Parameters:
extId
- - the external ID to upsertaccountsUpdateImplClz
- - theAccountsUpdate
implementation class that is used to update the storage to which the ExternalId is upsert.
-