Class UpdateEntityClassification
java.lang.Object
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.AbstractTransactionFunction
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.UpdateInstanceProperties
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.UpdateEntityClassification
- Direct Known Subclasses:
UpdateEntityDetailClassification
,UpdateEntityProxyClassification
Transaction function for updating InstanceProperties on a metadata instance.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUpdateEntityClassification
(String className, String methodName, Long txId, clojure.lang.PersistentHashMap existing, clojure.lang.PersistentHashMap proxy, String userId, String entityGUID, String metadataCollectionId, String classificationName, InstanceProperties properties) Constructor used to execute the transaction function. -
Method Summary
Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.UpdateInstanceProperties
updateInstanceProperties, updateInstanceProperties, validate
Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.AbstractTransactionFunction
createTransactionFunction, getGUID, getInstanceProvenanceType, getMetadataCollectionId, getTxnTimeCalculation, getTypeDefForInstance, getTypeDefGUID, incrementVersion, incrementVersion
-
Field Details
-
FUNCTION_NAME
public static final clojure.lang.Keyword FUNCTION_NAME -
CLASS_NAME
-
METHOD_NAME
-
xtdbDoc
protected final clojure.lang.IPersistentMap xtdbDoc
-
-
Constructor Details
-
UpdateEntityClassification
public UpdateEntityClassification(String className, String methodName, Long txId, clojure.lang.PersistentHashMap existing, clojure.lang.PersistentHashMap proxy, String userId, String entityGUID, String metadataCollectionId, String classificationName, InstanceProperties properties) 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
- XTDB document to updateproxy
- XTDB document to update, if existing is emptyuserId
- doing the updateentityGUID
- of the entity to updatemetadataCollectionId
- of the metadata collection in which the transaction is runningclassificationName
- of the classification to updateproperties
- to apply to the classification- Throws:
Exception
- on any error
-