Uses of Interface
se.conciliate.extensions.store.query.MTModelQuery
Packages that use MTModelQuery
Package
Description
Provides utility classes to perform queries against the current workspace.
-
Uses of MTModelQuery in se.conciliate.extensions.store.query
Methods in se.conciliate.extensions.store.query that return MTModelQueryModifier and TypeMethodDescriptionMTQuery.models()
Selects model by their ID.Selects models by executing a list.MTModelQuery.selectAll()
Selects all models in the workspace.MTModelQuery.selectByNamedQuery
(MTNamedQuery namedQuery) Selects from a named query.MTModelQuery.selectByUUID
(List<String> uuids) Selects models by their UUID.MTModelQuery.selectSubset
(List<Long> roots, boolean onlyOwning) Selects a subset of models by following breakdowns from a set of "root" models.MTModelQuery.selectSubsetByUUID
(List<String> roots, boolean onlyOwning) Selects a subset of models by following breakdowns from a set of "root" models.MTModelQuery.sort
(MTQuery.SortColumn sortColumn, boolean ascending, MTLanguage language, Locale locale) Sorts the selected models.MTModelQuery.withApprovers
(boolean includeNoApprovers, MTUserHeader... approvers) Retains only models with at least one of the given users set as approver of the model.MTModelQuery.withAttributeValues
(MTAttributeFilter filter) Retains only models with selected attribute values.MTModelQuery.withChangesSince
(Date date) Excludes models that have not been modified since a given date.MTModelQuery.withCreators
(MTUserHeader... creators) Retains only models with at least one of the given users set as creator of the model.MTModelQuery.withCurrentRevisions()
MTModelQuery.withDocuments
(Document.DocumentID... documents) Retains only models with at least one of the given documents connected to it.MTModelQuery.withGroups
(MTGroupHeader... groups) Retains only models with at least one of the given groups set as group of the model.MTModelQuery.withLastModifiedBy
(MTUserHeader... modifiers) Retains only models that was last modified by one of the given usersMTModelQuery.withLockedRevisions
(boolean includeInitialRevisions) Retains only locked revisions of models.MTModelQuery.withMaintainers
(boolean includeNoMaintainers, MTUserHeader... maintainers) Retains only models with at least one of the given users set as maintainer of the model.MTModelQuery.withOwners
(MTUserHeader... owners) Retains only models with at least one of the given users set as owner of the model.MTModelQuery.withPattern
(String pattern, MTLanguage language, boolean exactMatch, boolean ignoreCase) Excludes results where the title does not containpattern
as a substring.MTModelQuery.withReviewers
(boolean includeNoReviewer, MTUserHeader... reviewers) Retains only models with at least one of the given users set as reviewer of the model.MTModelQuery.withSubscribers
(boolean includeNoSubscriber, MTSubscriber... subscribers) Retains only models with at least one of the given subscribers set as subscriber of the model.Exclude all models that does not have one of the given types.MTModelQuery.withWorkflowStates
(WorkflowState... states) Retains only models with the given workflow states.