java.lang.Object
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.AbstractTransactionFunction
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.SaveClassificationReferenceCopy
Direct Known Subclasses:
SaveClassificationReferenceCopyEntityDetail, SaveClassificationReferenceCopyEntityProxy

public abstract class SaveClassificationReferenceCopy extends AbstractTransactionFunction
  • Field Details

    • FUNCTION_NAME

      public static final clojure.lang.Keyword FUNCTION_NAME
    • xtdbDoc

      protected final clojure.lang.IPersistentMap xtdbDoc
  • Constructor Details

    • SaveClassificationReferenceCopy

      protected SaveClassificationReferenceCopy(String className, String methodName, Long txId, String entityGUID, clojure.lang.PersistentHashMap existing, clojure.lang.PersistentHashMap entity, Classification classification, String homeMetadataCollectionId) throws Exception
      Constructor used to execute the transaction function.
      Parameters:
      className - name of the implementing class
      methodName - name of the implemented transaction method
      txId - the transaction ID of this function invocation
      existing - XTDB document to update
      entity - XTDB document to create, if existing is empty
      entityGUID - of the entity to update
      classification - to persist on the entity
      homeMetadataCollectionId - the metadataCollectionId of the repository where the transaction is running
      Throws:
      Exception - on any error
  • Method Details

    • getTxFn

      protected static String getTxFn(String className)
      Construct the transaction function specific to the subclass.
      Parameters:
      className - canonical name of the subclass for which to construct the transaction function
      Returns:
      the transaction function