object FieldValidator

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FieldValidator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type ResolveToTemplateId = (QualifiedName) => (ContextualizedErrorLogger) => Either[StatusRuntimeException, Identifier]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def eventSequentialId(raw: String, fieldName: String, message: String)(implicit errorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Long]
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def matchLedgerId(ledgerId: LedgerId)(receivedO: Option[LedgerId])(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Option[LedgerId]]
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def optionalEventSequentialId(s: String, fieldName: String, message: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Option[Long]]
  17. def optionalIdentityProviderId(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, IdentityProviderId]
  18. def optionalString[T](s: String)(someValidation: (String) => Either[StatusRuntimeException, T]): Either[StatusRuntimeException, Option[T]]
  19. def requireApplicationId(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, daml.lf.data.Ref.ApplicationId]
  20. def requireCommandId(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, daml.lf.data.Ref.CommandId]
  21. def requireContractId(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, ContractId]
  22. def requireDomainId(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, DomainId]
  23. def requireDottedName(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, DottedName]
  24. def requireEmptyString(s: String, fieldName: String)(implicit errorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, String]
  25. def requireIdentifier(s: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Name]
  26. def requireIdentityProviderId(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Id]
  27. def requireJwksUrl(raw: String, fieldName: String)(implicit errorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, JwksUrl]
  28. def requireLedgerString(s: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, LedgerString]
  29. def requireLedgerString(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, LedgerString]
  30. def requireName(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Name]
  31. def requireNonEmpty[M[_] <: Iterable[_], T](s: M[T], fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, M[T]]
  32. def requireNonEmptyString(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, String]
  33. def requirePackageId(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, PackageId]
  34. def requireParties(parties: Set[String])(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Set[Party]]
  35. def requireParty(s: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Party]
  36. def requirePartyField(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Party]
  37. def requirePresence[T](option: Option[T], fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, T]
  38. def requireResourceVersion(raw: String, fieldName: String)(implicit errorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Long]
  39. def requireSubmissionId(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, SubmissionId]
  40. def requireUserId(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, UserId]
  41. def requireWorkflowId(s: String, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, daml.lf.data.Ref.WorkflowId]
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. def validateHash(value: ByteString, fieldName: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Option[Hash]]
  45. def validateIdentifier(identifier: Identifier)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Identifier]
  46. def validateIdentifierWithOptionalPackageId(resolve: ResolveToTemplateId)(identifier: Identifier)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Identifier]
  47. def validateOptional[T, U](t: Option[T])(validation: (T) => Either[StatusRuntimeException, U]): Either[StatusRuntimeException, Option[U]]
  48. def validateSubmissionId(s: String)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Option[SubmissionId]]
  49. def validateTimestamp(timestamp: Timestamp, fieldName: String)(implicit errorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Timestamp]
  50. def validatedTemplateIdWithPackageIdResolutionFallback(identifier: Identifier, includeCreatedEventBlob: Boolean, resolveTemplateIds: (QualifiedName) => Either[StatusRuntimeException, Iterable[Identifier]])(upgradingEnabled: Boolean)(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Iterable[TemplateFilter]]
  51. def verifyMetadataAnnotations(annotations: Map[String, String], allowEmptyValues: Boolean, fieldName: String)(implicit errorLogger: ContextualizedErrorLogger): Either[StatusRuntimeException, Map[String, String]]
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped