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
public abstract class RestoreInstance extends AbstractTransactionFunction
Base transaction function for restoring a soft-deleted instance back to active status.
-
-
Constructor Summary
Constructors Constructor Description RestoreInstance()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Method Detail
-
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
-
-