Home Manual Reference Source Test Repository
public class | source

ManufacturerFinder

Extends:

GenericFinderProvisionGenericFinder → ManufacturerFinder

This class allow make get request to hardware manufacturers resource into Opengate North API.

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public

Download a specific manufacturer by its id.

public

findById(identifier: string): Promise

Download a specific manufacturer by its id.

public

findMediaById(manufacturerId: string, mediaIdentifier: string): Promise

Download a specific manufacturer media by its ids.

public

findMedias(manufacturerId: string): Promise

Download manufacturer medias.

Public Constructors

public constructor(Reference: InternalOpenGateAPI) source

Constructor

Override:

ProvisionGenericFinder#constructor

Params:

NameTypeAttributeDescription
Reference InternalOpenGateAPI

to the API object.

Public Methods

public findAll(): Promise source

Download a specific manufacturer by its id. This execute a GET http method

Return:

Promise

public findById(identifier: string): Promise source

Download a specific manufacturer by its id. This execute a GET http method

Params:

NameTypeAttributeDescription
identifier string

manufacturer identifier .

Return:

Promise

public findMediaById(manufacturerId: string, mediaIdentifier: string): Promise source

Download a specific manufacturer media by its ids. This execute a GET http method

Params:

NameTypeAttributeDescription
manufacturerId string

manufacturer identifier .

mediaIdentifier string

media identifier.

Return:

Promise

public findMedias(manufacturerId: string): Promise source

Download manufacturer medias. This execute a GET http method

Params:

NameTypeAttributeDescription
manufacturerId string

manufacturer identifier .

Return:

Promise