MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.project.persistence.dao/SegmentDao/search

search

[jvm]
abstract suspend fun search(languageId: Int, baseLanguageId: Int = 0, filter: TranslationUnitTypeFilter = TranslationUnitTypeFilter.ALL, search: String? = null, skip: Int = 0, limit: Int = 0): List<SegmentModel>

Get the list of segments corresponding to some search criteria.

Return

list of segment corresponding to the criteria

Parameters

jvm

   
languageId target language ID
baseLanguageId source language ID
filter message type filter
search textual query
skip offset for pagination
limit page size for pagination, if set to 0 no pagination will be performed