Interface MTEntityPropertyQuery
- All Superinterfaces:
MTModelFilterQuery
,MTPatternQuery
,MTQuery
,MTSortableQuery
,MTSymbolFilterQuery
public interface MTEntityPropertyQuery
extends MTQuery, MTPatternQuery, MTSortableQuery, MTSymbolFilterQuery, MTModelFilterQuery
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.conciliate.extensions.store.query.MTQuery
MTQuery.ResultContext, MTQuery.SortColumn, MTQuery.State
-
Method Summary
Modifier and TypeMethodDescriptionSelects all properties in the repository.selectByUUID
(List<String> uuids) Selects properties by their UUID.sort
(MTQuery.SortColumn sortColumn, boolean ascending, MTLanguage language, Locale locale) Sorts the selected variables.withModelFilter
(List<MTNamedQuery> filter) Retains only properties from entities in selected models.withPattern
(String pattern, MTLanguage language, boolean exactMatch, boolean ignoreCase) Excludes results where the title does not containpattern
as a substring.withSymbolFilter
(List<MTNamedQuery> filter) Retains only properties on selected entities.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
MTEntityPropertyQuery selectAll()Selects all properties in the repository. -
selectByUUID
Selects properties by their UUID.- Parameters:
uuids
- The UUID:s of the properties to select.
-
withPattern
MTEntityPropertyQuery withPattern(String pattern, MTLanguage language, boolean exactMatch, boolean ignoreCase) Excludes results where the title does not containpattern
as a substring.- Specified by:
withPattern
in interfaceMTPatternQuery
- 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.
-
withSymbolFilter
Retains only properties on selected entities.- Specified by:
withSymbolFilter
in interfaceMTSymbolFilterQuery
-
withModelFilter
Retains only properties from entities in selected models.- Specified by:
withModelFilter
in interfaceMTModelFilterQuery
-
sort
MTEntityPropertyQuery sort(MTQuery.SortColumn sortColumn, boolean ascending, MTLanguage language, Locale locale) Sorts the selected variables.- Specified by:
sort
in interfaceMTSortableQuery
- Parameters:
sortColumn
- The column to sort byascending
- true for ascending order, false for descendinglanguage
- The language to sort bylocale
- the locale to use when sorting
-