TrackedEntityInstanceQuery class

Inheritance

Constructors

TrackedEntityInstanceQuery({Database? database})

Properties

apiResourceName String?
getter/setter pairinherited
attributeFilters List<QueryFilter>?
getter/setter pair
data ↔ dynamic
getter/setter pairinherited
database ↔ Database?
getter/setter pairinherited
fields List<String>?
getter/setter pairinherited
filters List<QueryFilter>?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pairinherited
junctionOperator String?
getter/setter pairinherited
mergeMode MergeMode
no getterinherited
orgUnit String?
getter/setter pair
ouMode OrgUnitMode?
getter/setter pair
primaryKey Column?
getter/setter pairinherited
program String?
getter/setter pair
query QueryModel
no setterinherited
relations List<ColumnRelation>
getter/setter pairinherited
repository Repository<BaseEntity>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected List<String>
A list of strings as an argument for the select method. It can contain various fields as accepted by the DHIS2 API.
getter/setter pairinherited
singularResourceName String?
getter/setter pairinherited
sortOrder Map<String, SortOrder>
getter/setter pairinherited
tableName String?
getter/setter pairinherited
useUserOrgUnit bool?
getter/setter pair

Methods

byAttribute(String attributeId, String attibuteValue) TrackedEntityInstanceQuery
byId(String id) → dynamic
inherited
byIds(List<String> ids) → dynamic
inherited
byOrgUnit(String orgUnit) TrackedEntityInstanceQuery
byProgram(String program) TrackedEntityInstanceQuery
byUserOrgUnit() TrackedEntityInstanceQuery
count() Future
inherited
create() Future
override
createTable() Future
inherited
delete() Future
inherited
deleteOnline({Dio? dioTestClient}) Future<Map<String, dynamic>>
inherited
dhisUrl() Future<String>
override
download(dynamic callback(RequestProgress, bool), {Dio? dioTestClient}) Future<List<TrackedEntityInstance>?>
override
downloadByProgramAndInstances({required String program, required List<String> trackedEntityInstances, Dio? dioTestClient}) Future
downloadRelatedTrackedEntityInstances({required List<TrackedEntityInstanceRelationship> relationships, Dio? dioTestClient}) Future<List<TrackedEntityInstance>>
fetchOnline({Dio? dioTestClient}) Future<List<TrackedEntityInstance>>
inherited
get({Dio? dioTestClient, bool? online}) Future<List<TrackedEntityInstance>>
override
getOne({Dio? dioTestClient, bool? online}) Future<TrackedEntityInstance?>
inherited
greaterThan({required String attribute, required dynamic value}) → dynamic
inherited
greaterThanOrEqual({required String attribute, required dynamic value}) → dynamic
inherited
ilike({required String attribute, required dynamic value, String? filterCondition, String? key, String? keyValue}) → dynamic
inherited
lessThan({required String attribute, dynamic value}) → dynamic
inherited
lessThanOrEqual({required String attribute, required dynamic value}) → dynamic
inherited
like({required String attribute, required dynamic value}) → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orderBy({required String attribute, required SortOrder order}) → dynamic
inherited
printWrapped(String text) → void
save({SaveOptions? saveOptions}) Future<int>
inherited
select(List<String> fields) → dynamic
A method that accepted a list of user selected fields as an argument . Fields as accepted by the DHIS2 API.
inherited
setData(dynamic data) → dynamic
inherited
toString() String
A string representation of this object.
inherited
upload(dynamic callback(RequestProgress, bool), {Dio? dioTestClient}) Future<List<TrackedEntityInstance>?>
where({required String attribute, dynamic value}) → dynamic
inherited
whereIn({required String attribute, required List<String> values, required bool merge}) → dynamic
inherited
withAttributes() TrackedEntityInstanceQuery
withEnrollments() TrackedEntityInstanceQuery
withOuMode(OrgUnitMode ouMode) TrackedEntityInstanceQuery
withRelationships() TrackedEntityInstanceQuery

Operators

operator ==(Object other) bool
The equality operator.
inherited