EventLineListRepository

Functions

Link copied to clipboard

Blocking version of evaluate.

Link copied to clipboard
abstract fun byEventDate(): PeriodsFilterConnector<EventLineListRepository>

Restrict the events to the given periods.

Link copied to clipboard
abstract fun byOrganisationUnit(): OrganisationUnitFilterConnector<EventLineListRepository>

Restrict the events to the given organisation units.

Link copied to clipboard
abstract fun byProgramStage(): EqFilterConnector<EventLineListRepository, String>

Restrict the events to the given program stage. This parameter is mandatory.

Link copied to clipboard
abstract fun byTrackedEntityInstance(): EqFilterConnector<EventLineListRepository, String>

Restrict the events to the given tracked entity instance.

Link copied to clipboard
abstract fun evaluate(): Single<List<LineListResponse>>

Evaluate the given parameters and get a list of events in the format of LineListResponse.

Link copied to clipboard
abstract fun withDataElement(dataElementUid: String): EventLineListRepository

Include the given data element in the response. This method does not replace the list of data elements but appends a new one to the response.

Link copied to clipboard

Assign the strategy to apply with legend.

Link copied to clipboard
abstract fun withProgramIndicator(programIndicatorUid: String): EventLineListRepository

Include the given program indicator in the response. This method does not replace the list of program indicators but appends a new one to the response.