final class CommandsValidator extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommandsValidator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CommandsValidator(validateDisclosedContracts: ValidateDisclosedContracts, validateUpgradingPackageResolutions: ValidateUpgradingPackageResolutions, topologyAwarePackageSelectionEnabled: Boolean = false)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def validateCommands(commands: daml.ledger.api.v2.commands.Commands, currentLedgerTime: Instant, currentUtcTime: Instant, maxDeduplicationDuration: Duration)(implicit errorLoggingContext: ErrorLoggingContext): Either[StatusRuntimeException, Commands]
- def validateDeduplicationPeriod(deduplicationPeriod: DeduplicationPeriod, maxDeduplicationDuration: Duration)(implicit errorLoggingContext: ErrorLoggingContext): Either[StatusRuntimeException, DeduplicationPeriod]
We validate only using current time because we set the currentTime as submitTime so no need to check both
- def validateExecuteDeduplicationPeriod(deduplicationPeriod: DeduplicationPeriod, maxDeduplicationDuration: Duration)(implicit errorLoggingContext: ErrorLoggingContext): Either[StatusRuntimeException, DeduplicationPeriod]
Same as validateDeduplicationPeriod but for the "ExecuteSubmissionRequest" RPC of the interactive submission service.
- def validateInnerCommand(command: Command)(implicit errorLoggingContext: ErrorLoggingContext): Either[StatusRuntimeException, ApiCommand]
- def validateInnerCommands(commands: Seq[Command])(implicit errorLoggingContext: ErrorLoggingContext): Either[StatusRuntimeException, Seq[ApiCommand]]
- def validateLedgerTime(currentTime: Instant, minLedgerTimeAbs: Option[Timestamp], minLedgerTimeRel: Option[Duration])(implicit errorLoggingContext: ErrorLoggingContext): Either[StatusRuntimeException, Timestamp]
- def validateLfTime(protoTimestamp: Timestamp)(implicit errorLoggingContext: ErrorLoggingContext): Either[StatusRuntimeException, LfTimestamp]
- def validatePrepareRequest(prepareRequest: PrepareSubmissionRequest, currentLedgerTime: Instant, currentUtcTime: Instant, maxDeduplicationDuration: Duration)(implicit errorLoggingContext: ErrorLoggingContext): Either[StatusRuntimeException, Commands]
- def validateReassignmentCommands(reassignmentCommands: ReassignmentCommands)(implicit errorLoggingContext: ErrorLoggingContext): Either[StatusRuntimeException, SubmitReassignmentRequest]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])