Interface for data processing components that can get data items.
Description
The IGetter interface is used by data processing components that are capable of getting data items.
Instance methods
getOneById
Gets a data item by its unique id.
T getOneById(IContext context, K id) throws ApplicationException
- context: IContext - (optional) a context to trace execution through a call chain.
- id: K - id of the item to be retrieved.
- returns: Promise<T> - returned item.