queryAttachments

abstract fun queryAttachments(criteria: AttachmentQueryCriteria, sorting: AttachmentSort? = null): List<AttachmentId>

Searches attachment using given criteria and optional sort rules

Return

List of AttachmentId of attachment matching criteria, sorted according to given sorting parameter

Parameters

criteria

Query criteria to use as a filter

sorting

Sorting definition, if not given, order is undefined