@acceleratxr/core_sdk / ProductFeatureService
Class: ProductFeatureService#
Hierarchy#
-
↳ ProductFeatureService
Index#
Constructors#
Properties#
Methods#
Constructors#
constructor#
+ new ProductFeatureService(apiClient: ApiClient, config: Configuration): ProductFeatureService
Overrides ServiceBase.constructor
Defined in src/services/ProductFeatureService.ts:10
Parameters:#
Name |
Type |
|---|---|
|
|
|
Returns: ProductFeatureService
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 = “ae167690-eec7-4700-ae6b-4ee7f87bb5e6”
Defined in src/services/ProductFeatureService.ts:16
Methods#
count#
▸ count(query?: any): Promise<number>
Defined in src/services/ProductFeatureService.ts:57
Returns the count of features
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: Promise<number>
create#
▸ create(obj: ProductFeature): Promise<ProductFeature | undefined>
Defined in src/services/ProductFeatureService.ts:33
Create a new feature
Parameters:#
Name |
Type |
|---|---|
|
Returns: Promise<ProductFeature | undefined>
delete#
▸ delete(id: string): Promise<void>
Defined in src/services/ProductFeatureService.ts:102
Deletes the feature
Parameters:#
Name |
Type |
|---|---|
|
string |
Returns: Promise<void>
findAll#
▸ findAll(query?: any): Promise<ProductFeature[] | undefined>
Defined in src/services/ProductFeatureService.ts:21
Returns all features from the system that the user has access to
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: Promise<ProductFeature[] | undefined>
findById#
▸ findById(id: string): Promise<ProductFeature | undefined>
Defined in src/services/ProductFeatureService.ts:76
Returns a single feature from the system that the user has access to
Parameters:#
Name |
Type |
|---|---|
|
string |
Returns: Promise<ProductFeature | undefined>
truncate#
▸ truncate(query?: any): Promise<void>
Defined in src/services/ProductFeatureService.ts:45
Deletes all features from the service.
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: Promise<void>
update#
▸ update(id: string, obj: ProductFeature): Promise<ProductFeature | undefined>
Defined in src/services/ProductFeatureService.ts:89
Updates a single feature
Parameters:#
Name |
Type |
|---|---|
|
string |
|
Returns: Promise<ProductFeature | undefined>