Packages

c

com.digitalasset.canton.console.commands

ParticipantPartiesAdministrationGroupX

class ParticipantPartiesAdministrationGroupX extends PartiesAdministrationGroupX

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParticipantPartiesAdministrationGroupX
  2. PartiesAdministrationGroupX
  3. Helpful
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ParticipantPartiesAdministrationGroupX(participantId: => ParticipantId, runner: AdminCommandRunner with ParticipantAdministration with BaseLedgerApiAdministration, consoleEnvironment: ConsoleEnvironment)

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. def defaultLimit: PositiveInt
    Attributes
    protected
    Definition Classes
    PartiesAdministrationGroupX
  7. def disable(name: Identifier, force: Boolean = false): Unit
    Annotations
    @Summary(s = "Disable party on participant", flag = console.this.Help.Summary.<init>$default$2)
  8. def enable(name: String, namespace: Namespace = participantId.uid.namespace, participants: Seq[ParticipantId] = Seq(participantId), threshold: PositiveInt = PositiveInt.one, displayName: Option[String] = None, waitForDomain: DomainChoice = DomainChoice.Only(Seq()), synchronizeParticipants: Seq[ParticipantReferenceX] = Seq(), groupAddressing: Boolean = false, mustFullyAuthorize: Boolean = true): PartyId
    Annotations
    @Summary(s = "Enable/add party to participant", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """This function registers a new party with the current participant within the participants
    |namespace. The function fails if the participant does not have appropriate signing keys
    |to issue the corresponding PartyToParticipant topology transaction.
    |Optionally, a local display name can be added. This display name will be exposed on the
    |ledger API party management endpoint.
    |Specifying a set of domains via the `WaitForDomain` parameter ensures that the domains have
    |enabled/added a party by the time the call returns, but other participants connected to the same domains may not
    |yet be aware of the party.
    |Additionally, a sequence of additional participants can be added to be synchronized to
    |ensure that the party is known to these participants as well before the function terminates.
    |"""
    )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def find(filterParty: String): PartyId
    Annotations
    @Summary(s = "Find a party from a filter string", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Will search for all parties that match this filter string. If it finds exactly one party, it
    |will return that one. Otherwise, the function will throw."""
    )
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def help(methodName: String)(implicit consoleEnvironment: ConsoleEnvironment): Unit
    Definition Classes
    Helpful
    Annotations
    @Summary(s = "Help for specific commands (use help() or help(\"method\") for more information)", flag = console.this.Help.Summary.<init>$default$2) @Topic(t = Seq("Top-level Commands"))
  15. def help()(implicit consoleEnvironment: ConsoleEnvironment): Unit
    Definition Classes
    Helpful
  16. def hosted(filterParty: String = "", filterDomain: String = "", asOf: Option[Instant] = None, limit: PositiveInt = defaultLimit): Seq[ListPartiesResult]
    Annotations
    @Summary(s = "List parties hosted by this participant", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Inspect the parties hosted by this participant as used for synchronisation.
    |The response is built from the timestamped topology transactions of each domain, excluding the
    |authorized store of the given node. The search will include all hosted parties and is equivalent
    |to running the `list` method using the participant id of the invoking participant.
    |
    filterParty: Filter by parties starting with the given string.
    filterDomain: Filter by domains whose id starts with the given string.
    asOf: Optional timestamp to inspect the topology state at a given point in time.
    limit: How many items to return (defaults to canton.parameters.console.default-limit)

    Example: participant1.parties.hosted(filterParty="alice")"""
    )
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def list(filterParty: String = "", filterParticipant: String = "", filterDomain: String = "", asOf: Option[Instant] = None, limit: PositiveInt = defaultLimit): Seq[ListPartiesResult]
    Definition Classes
    PartiesAdministrationGroupX
    Annotations
    @Summary(s = "List active parties, their active participants, and the participants' permissions on domains.", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Inspect the parties known by this participant as used for synchronisation.
    |The response is built from the timestamped topology transactions of each domain, excluding the
    |authorized store of the given node. For each known party, the list of active
    |participants and their permission on the domain for that party is given.
    |
    filterParty: Filter by parties starting with the given string.
    filterParticipant: Filter for parties that are hosted by a participant with an id starting with the given string
    filterDomain: Filter by domains whose id starts with the given string.
    asOf: Optional timestamp to inspect the topology state at a given point in time.
    limit: Limit on the number of parties fetched (defaults to canton.parameters.console.default-limit).

    Example: participant1.parties.list(filterParty="alice")
    """
    )
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def set_display_name(party: PartyId, displayName: String): Unit
    Annotations
    @Summary(s = "Set party display name", flag = console.this.Help.Summary.<init>$default$2) @Description(s = "Locally set the party display name (shown on the ledger-api) to the given value")
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def update(party: PartyId, modifier: (PartyDetails) => PartyDetails): PartyDetails
    Annotations
    @Summary(s = "Update participant-local party details", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Currently you can update only the annotations.
    |You cannot update other user attributes.
    party: party to be updated,
    modifier: a function to modify the party details, e.g.: `partyDetails => { partyDetails.copy(annotations = partyDetails.annotations.updated("a", "b").removed("c")) }`"""
    )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. 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 Helpful

Inherited from AnyRef

Inherited from Any

Ungrouped