final case class Fetch(coid: ContractId, templateId: TypeConName, actingParties: Set[Party], signatories: Set[Party], stakeholders: Set[Party], keyOpt: Option[GlobalKeyWithMaintainers], byKey: Boolean, version: TransactionVersion) extends Action with LeafOnlyAction with Product with Serializable
Denotes that the contract identifier coid
needs to be active for the transaction to be valid.
- Alphabetic
- By Inheritance
- Fetch
- LeafOnlyAction
- Action
- Node
- CidContainer
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Fetch(coid: ContractId, templateId: TypeConName, actingParties: Set[Party], signatories: Set[Party], stakeholders: Set[Party], keyOpt: Option[GlobalKeyWithMaintainers], byKey: Boolean, version: TransactionVersion)
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
- val actingParties: Set[Party]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val byKey: Boolean
- def cids: Set[ContractId]
- Definition Classes
- CidContainer
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val coid: ContractId
- def collectCids(acc: Set[ContractId]): Set[ContractId]
- Definition Classes
- CidContainer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def foreachCid(f: (ContractId) => Unit): Unit
- Definition Classes
- CidContainer
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def gkeyOpt: Option[GlobalKey]
- Definition Classes
- Action
- def informeesOfNode: Set[Party]
Compute the informees of a node based on the ledger model definition.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyOpt: Option[GlobalKeyWithMaintainers]
- def mapCid(f: (ContractId) => ContractId): Fetch
- Definition Classes
- Fetch → CidContainer
- def mapNodeId(f: (NodeId) => NodeId): Node
- Definition Classes
- LeafOnlyAction → Node
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nodeType: String
String describing the type of node
String describing the type of node
- Definition Classes
- Node
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def optVersion: Option[TransactionVersion]
- Definition Classes
- Node
- def packageIds: Iterable[PackageId]
The package ids used by this action node.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def requiredAuthorizers: Set[Party]
Required authorizers (see ledger model); UNSAFE TO USE on fetch nodes of transaction with versions < 5
Required authorizers (see ledger model); UNSAFE TO USE on fetch nodes of transaction with versions < 5
The ledger model defines the fetch node actors as the nodes' required authorizers. However, the our transaction data structure did not include the actors in versions < 5. The usage of this method must thus be restricted to: 1. settings where no fetch nodes appear (for example, the
validate
method of DAMLe, which uses it on root nodes, which are guaranteed never to contain a fetch node) 2. Daml ledger implementations that do not store or process any transactions with version < 5 - final def self: Fetch.this.type
- Attributes
- protected
- Definition Classes
- Action → CidContainer
- val signatories: Set[Party]
- val stakeholders: Set[Party]
- final def suffixCid(f: (Hash) => Bytes): Either[String, Action]
- Definition Classes
- CidContainer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val templateId: TypeConName
- def traverseCid[L](f: (ContractId) => Either[L, ContractId]): Either[L, Action]
- Definition Classes
- CidContainer
- val version: TransactionVersion
- def versioned[X](x: X): Versioned[X]
- Attributes
- protected
- Definition Classes
- Action
- def versionedKeyOpt: Option[Versioned[GlobalKeyWithMaintainers]]
- Definition Classes
- Action
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def key: Option[GlobalKeyWithMaintainers]
- Annotations
- @deprecated
- Deprecated
(Since version 2.6.0) use keyOpt