Class DeleteInstance
java.lang.Object
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.AbstractTransactionFunction
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.DeleteInstance
- Direct Known Subclasses:
DeleteEntity
,DeleteRelationship
Base transaction function for deleting instances.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static clojure.lang.IPersistentMap
deleteInstance
(String userId, clojure.lang.IPersistentMap existing) Makes the necessary changes to mark a metadata instance as soft-deleted.Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.AbstractTransactionFunction
createTransactionFunction, getGUID, getInstanceProvenanceType, getMetadataCollectionId, getTxnTimeCalculation, getTypeDefForInstance, getTypeDefGUID, incrementVersion, incrementVersion
-
Constructor Details
-
DeleteInstance
public DeleteInstance()
-
-
Method Details
-
deleteInstance
protected static clojure.lang.IPersistentMap deleteInstance(String userId, clojure.lang.IPersistentMap existing) Makes the necessary changes to mark a metadata instance as soft-deleted.- Parameters:
userId
- doing the deletionexisting
- metadata instance- Returns:
- IPersistentMap giving the deleted instance representation
-