PermissionGroup
Represents a group of permissions for a Security Token

Hierarchy

Index

Properties

Methods

Properties

Protected context

context: Context
Inherited from Entity.context

ticker

ticker: string

uuid

uuid: string
Inherited from Entity.uuid

Methods

Abstract exists

exists(): Promise‹boolean›
Inherited from Entity.exists
Determine whether this Entity exists on chain
Returns: Promise‹boolean›

Abstract getPermissions

getPermissions(): Promise‹GroupPermissions
Retrieve the Permissions associated with this Permission Group
Returns: Promise‹GroupPermissions

isEqual

isEqual(entity: Entity‹unknown, unknown›): boolean
Inherited from Entity.isEqual
Determine whether this Entity is the same as another one
Parameters:
Name
Type
entity
Entity‹unknown, unknown›
Returns: boolean

Abstract toJson

toJson(): unknown
Inherited from Entity.toJson
Returns Entity data in a human readable (JSON) format
Returns: unknown

Static generateUuid

generateUuidIdentifiers›(identifiers: Identifiers): string
Inherited from Entity.generateUuid
Generate the Entity's UUID from its identifying properties
Type parameters:
Identifiers
Parameters:
Name
Type
Description
identifiers
Identifiers
Returns: string

Static isUniqueIdentifiers

isUniqueIdentifiers(identifiers: unknown): boolean
Inherited from Entity.isUniqueIdentifiers
Typeguard that checks whether the object passed corresponds to the unique identifiers of the class. Must be overridden
Parameters:
Name
Type
Description
identifiers
unknown
object to type check
Returns: boolean

Static unserialize

unserializeIdentifiers›(serialized: string): Identifiers
Inherited from Entity.unserialize
Unserialize a UUID into its Unique Identifiers
Type parameters:
Identifiers
Parameters:
Name
Type
Description
serialized
string
UUID to unserialize
Returns: Identifiers
Last modified 26d ago