Options
All
  • Public
  • Public/Protected
  • All
Menu

Request builder class for operations supported on the Product entity.

Hierarchy

  • RequestBuilder<Product>
    • ProductRequestBuilder

Implements

Index

Properties

entityConstructor

entityConstructor: Constructable<Product>

Methods

create

  • Returns a request builder for creating a Product entity.

    Parameters

    • entity: Product

      The entity to be created

    Returns CreateRequestBuilder<Product>

    A request builder for creating requests that create an entity of type Product.

getAll

  • getAll(): GetAllRequestBuilder<Product>
  • Returns a request builder for querying all Product entities.

    Returns GetAllRequestBuilder<Product>

    A request builder for creating requests to retrieve all Product entities.

getByKey

  • getByKey(product: string): GetByKeyRequestBuilder<Product>
  • Returns a request builder for retrieving one Product entity based on its keys.

    Parameters

    Returns GetByKeyRequestBuilder<Product>

    A request builder for creating requests to retrieve one Product entity based on its keys.

update

  • Returns a request builder for updating an entity of type Product.

    Parameters

    • entity: Product

      The entity to be updated

    Returns UpdateRequestBuilder<Product>

    A request builder for creating requests that update an entity of type Product.

Static forEntity

  • forEntity<EntityCT>(entity: EntityCT): EntityBasedRequestBuilder<EntityCT>
  • Type parameters

    • EntityCT: Constructable<Entity>

    Parameters

    • entity: EntityCT

    Returns EntityBasedRequestBuilder<EntityCT>