-
-
Method Summary
Selects documents by their IDs.
Selects MT documents by executing a list.
Selects all documents from all sources
Selects documents that are used in given models.
Selects documents that are used in given models and objects.
Selects documents that are used in given objects.
Selects documents from all sources that are not connected to
models or objects in the repository.
Sorts the selected documents.
Selects documents matching a document filter.
Excludes results where the title does not contain pattern
as a substring.
Selects documents from selected sources.
Methods inherited from interface se.conciliate.extensions.store.query.MTQuery
attributeTypes, clear, colorSchemes, documents, documentSources, documentTypes, entityProperties, execute, getResultTypes, getState, images, layerTypes, lists, models, pluginData, publishProfiles, serialize, subscribers, symbols, timestamps, users, variables, workspacePluginData
-
Method Details
-
selectAll
Selects all documents from all sources
-
selectUnused
Selects documents from all sources that are not connected to
models or objects in the repository.
-
select
Selects documents by their IDs.
- Parameters:
ids
- The ID:s of the documents to select, per source.
-
selectByModelsAndSymbols
Selects documents that are used in given models and objects.
- Parameters:
models
- The models.
-
-
-
-
-
-
select
Selects MT documents by executing a list.
- Parameters:
list
- The list to execute.
- Throws:
IllegalArgumentException
- If list.getResultType() != MTList.ResultType.DOCUMENT
.
-
withSources
Selects documents from selected sources.
- Parameters:
sources
- The sources.
-
withFilter
Selects documents matching a document filter.
- Parameters:
filter
- The filter to apply.
-
-
withPattern
Excludes results where the title does not contain pattern
as a substring.
- Specified by:
withPattern
in interface MTPatternQuery
- Parameters:
pattern
- The pattern to search for.
language
- The language of the title to find the pattern in.
exactMatch
- Require the pattern to match the title exactly rather
than containing the pattern.
ignoreCase
- Ignores case. This makes "exact match" check lowercase
strings for equality and "contains match" check lowercase for contains.