Options
All
  • Public
  • Public/Protected
  • All
Menu

Request builder class for operations supported on the Batch entity.

Hierarchy

  • RequestBuilder<Batch>
    • BatchRequestBuilder

Implements

  • EntityIdentifiable<Batch>

Index

Properties

entityConstructor

entityConstructor: Constructable<Batch>

Methods

create

  • create(entity: Batch): CreateRequestBuilder<Batch>
  • Returns a request builder for creating a Batch entity.

    Parameters

    • entity: Batch

      The entity to be created

    Returns CreateRequestBuilder<Batch>

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

getAll

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

    Returns GetAllRequestBuilder<Batch>

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

getByKey

  • getByKey(material: string, batchIdentifyingPlant: string, batch: string): GetByKeyRequestBuilder<Batch>
  • Returns a request builder for retrieving one Batch entity based on its keys.

    Parameters

    Returns GetByKeyRequestBuilder<Batch>

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

update

  • update(entity: Batch): UpdateRequestBuilder<Batch>
  • Returns a request builder for updating an entity of type Batch.

    Parameters

    • entity: Batch

      The entity to be updated

    Returns UpdateRequestBuilder<Batch>

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

Static forEntity

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

    • EntityCT: Constructable<Entity>

    Parameters

    • entity: EntityCT

    Returns EntityBasedRequestBuilder<EntityCT>