class ContractsService extends NamedLogging with NoTracing
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ContractsService
- NoTracing
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ContractsService(resolveContractTypeId: ResolveContractTypeId, allTemplateIds: AllTemplateIds, getContractByContractId: GetContractByContractId, getContractByContractKey: GetContractByContractKey, getActiveContracts: GetActiveContracts, getCreatesAndArchivesSince: GetCreatesAndArchivesSince, lookupType: TypeLookup, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext)
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]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def insertDeleteStepSource(jwt: Jwt, ledgerId: LedgerId, parties: PartySet, templateIds: List[domain.ContractTypeId.Resolved], startOffset: Option[StartingOffset] = None, terminates: Terminates = Terminates.AtLedgerEnd)(implicit lc: LoggingContextOf[InstanceUUID]): Source[fetchcontracts.util.ContractStreamStep.LAV1, NotUsed]
An ACS ++ transaction stream of
templateIds
, starting atstartOffset
and ending atterminates
. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def liveAcsAsInsertDeleteStepSource(jwt: Jwt, ledgerId: LedgerId, parties: PartySet, templateIds: List[domain.ContractTypeId.Resolved])(implicit lc: LoggingContextOf[InstanceUUID]): Source[fetchcontracts.util.ContractStreamStep.LAV1, NotUsed]
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- ContractsService → NamedLogging
- def lookup(jwt: Jwt, jwtPayload: JwtPayload, req: FetchRequest[LfValue])(implicit lc: LoggingContextOf[InstanceUUID with RequestID], metrics: HttpApiMetrics): ET[ActiveContractO]
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def resolveContractReference(jwt: Jwt, parties: PartySet, contractLocator: ContractLocator[LfValue], ledgerId: LedgerId)(implicit lc: LoggingContextOf[InstanceUUID with RequestID], metrics: HttpApiMetrics): ET[ResolvedContractRef[LfValue]]
- def resolveContractTypeIds[Tid <: domain.ContractTypeId.OptionalPkg](jwt: Jwt, ledgerId: LedgerId)(xs: NonEmpty[Set[Tid]])(implicit lc: LoggingContextOf[InstanceUUID with RequestID]): Future[(Set[domain.ContractTypeId.Resolved], Set[Tid])]
- def retrieveAll(jwt: Jwt, ledgerId: LedgerId, parties: PartySet)(implicit lc: LoggingContextOf[InstanceUUID]): SearchResult[\/[Error, ResolvedCtTyId[LfValue]]]
- def retrieveAll(jwt: Jwt, jwtPayload: JwtPayload)(implicit lc: LoggingContextOf[InstanceUUID]): SearchResult[\/[Error, ResolvedCtTyId[LfValue]]]
- def search(jwt: Jwt, ledgerId: LedgerId, parties: PartySet, templateIds: NonEmpty[Set[domain.ContractTypeId.OptionalPkg]], queryParams: Map[String, JsValue])(implicit lc: LoggingContextOf[InstanceUUID with RequestID], metrics: HttpApiMetrics): Future[SearchResult[\/[Error, ResolvedCtTyId[JsValue]]]]
- def search(jwt: Jwt, jwtPayload: JwtPayload, request: GetActiveContractsRequest)(implicit lc: LoggingContextOf[InstanceUUID with RequestID], metrics: HttpApiMetrics): Future[SearchResult[\/[Error, ResolvedCtTyId[JsValue]]]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def traceContext: TraceContext
- Attributes
- protected
- Definition Classes
- NoTracing
- def valuePredicate(templateId: domain.ContractTypeId.RequiredPkg, q: Map[String, JsValue]): ValuePredicate
- 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])