public class UpdateRelationshipStatus extends UpdateInstanceStatus
Transaction function for updating a relationship's status.
  • Field Details

    • FUNCTION_NAME

      public static final clojure.lang.Keyword FUNCTION_NAME
  • Constructor Details

    • UpdateRelationshipStatus

      public UpdateRelationshipStatus(Long txId, clojure.lang.PersistentHashMap existing, String userId, String relationshipGUID, String metadataCollectionId, Integer instanceStatus) throws Exception
      Constructor used to execute the transaction function.
      Parameters:
      txId - the transaction ID of this function invocation
      existing - XTDB document to update
      userId - doing the update
      relationshipGUID - of the relationship to update
      metadataCollectionId - of the metadata collection in which the transaction is running
      instanceStatus - to apply to the relationship
      Throws:
      Exception - on any error
  • Method Details