java.lang.Object
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.AbstractTransactionFunction
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.PurgeClassificationReferenceCopy
Direct Known Subclasses:
PurgeClassificationReferenceCopyEntityDetail, PurgeClassificationReferenceCopyEntityProxy

public abstract class PurgeClassificationReferenceCopy extends AbstractTransactionFunction
Transaction function for adding a reference copy classification.
  • Field Details

    • xtdbDoc

      protected final clojure.lang.IPersistentMap xtdbDoc
  • Constructor Details

    • PurgeClassificationReferenceCopy

      public PurgeClassificationReferenceCopy(String className, String methodName, Long txId, clojure.lang.PersistentHashMap existing, clojure.lang.PersistentHashMap entity, String entityGUID, 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 - the existing entity in XT, if any
      entity - the entity against which to apply the classification
      entityGUID - the GUID of the entity from which we've been asked to declassify
      classification - the classification to persist as a reference copy
      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