@acceleratxr/core_sdk / PersonaResourceService

Class: PersonaResourceService#

Hierarchy#

Index#

Constructors#

Properties#

Methods#

Constructors#

constructor#

+ new PersonaResourceService(apiClient: ApiClient, config: Configuration): PersonaResourceService

Overrides ServiceBase.constructor

Defined in src/services/PersonaResourceService.ts:10

Parameters:#

Name

Type

apiClient

ApiClient

config

Configuration

Returns: PersonaResourceService

Properties#

apiClient#

Protected apiClient: ApiClient

Inherited from ServiceBase.apiClient

Defined in src/ServiceBase.ts:14

The API Client used when making requests to the API backend server.


config#

Protected config: Configuration

Inherited from ServiceBase.config

Defined in src/ServiceBase.ts:19

The SDK configuration to use.


uuid#

Static uuid: string = “ce7dc434-527d-4c76-a302-6fb6cd8668a6”

Defined in src/services/PersonaResourceService.ts:16

Methods#

count#

count(query?: any): Promise<number>

Defined in src/services/PersonaResourceService.ts:33

Returns the count of groups

Parameters:#

Name

Type

query?

any

Returns: Promise<number>


findAll#

findAll(query?: any): Promise<PersonaResource[] | undefined>

Defined in src/services/PersonaResourceService.ts:21

Returns all groups from the system that the user has access to

Parameters:#

Name

Type

query?

any

Returns: Promise<PersonaResource[] | undefined>


findById#

findById(id: string): Promise<PersonaResource | undefined>

Defined in src/services/PersonaResourceService.ts:52

Returns a single group from the system that the user has access to

Parameters:#

Name

Type

id

string

Returns: Promise<PersonaResource | undefined>