Class RestoreInstance
java.lang.Object
org.odpi.egeria.connectors.juxt.xtdb.txnfn.AbstractTransactionFunction
org.odpi.egeria.connectors.juxt.xtdb.txnfn.RestoreInstance
- Direct Known Subclasses:
RestoreEntity,RestoreRelationship
Base transaction function for restoring a soft-deleted instance back to active status.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static clojure.lang.IPersistentMaprestoreInstance(String userId, clojure.lang.IPersistentMap existing) Makes the necessary changes to restore a metadata instance that was soft-deleted.Methods inherited from class org.odpi.egeria.connectors.juxt.xtdb.txnfn.AbstractTransactionFunction
createTransactionFunction, getGUID, getInstanceProvenanceType, getMetadataCollectionId, getTxnTimeCalculation, getTypeDefForInstance, getTypeDefGUID, incrementVersion, incrementVersion
-
Constructor Details
-
RestoreInstance
public RestoreInstance()
-
-
Method Details
-
restoreInstance
protected static clojure.lang.IPersistentMap restoreInstance(String userId, clojure.lang.IPersistentMap existing) Makes the necessary changes to restore a metadata instance that was soft-deleted.- Parameters:
userId- doing the restoreexisting- metadata instance- Returns:
- IPersistentMap giving the restored instance representation
-