Class PurgeClassificationReferenceCopy
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
Transaction function for adding a reference copy classification.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPurgeClassificationReferenceCopy
(String className, String methodName, Long txId, clojure.lang.PersistentHashMap existing, clojure.lang.PersistentHashMap entity, String entityGUID, Classification classification, String homeMetadataCollectionId) Constructor used to execute the transaction function. -
Method Summary
Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.AbstractTransactionFunction
createTransactionFunction, getGUID, getInstanceProvenanceType, getMetadataCollectionId, getTxnTimeCalculation, getTypeDefForInstance, getTypeDefGUID, incrementVersion, incrementVersion
-
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 classmethodName
- name of the implemented transaction methodtxId
- the transaction ID of this function invocationexisting
- the existing entity in XT, if anyentity
- the entity against which to apply the classificationentityGUID
- the GUID of the entity from which we've been asked to declassifyclassification
- the classification to persist as a reference copyhomeMetadataCollectionId
- the metadataCollectionId of the repository where the transaction is running- Throws:
Exception
- on any error
-
-
Method Details
-
getTxFn
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
-