Interface MTPluginDataQuery
- All Superinterfaces:
MTQuery
Implementations will not capture the semantics or structure of the plugin
data. Thus, the result of a plugin data query will be a set of simple
MTPluginData objects without any references to other plugin data that the
provider may have intended it to have. In order to extract the structure (or
semantics), help will be needed from some provider specific object.
- Author:
- Per-Erik
-
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 plugin data by their ID.Selects all plugin data in the workspace.selectByUUID
(List<String> uuids) Selects plugin data by their UUID.withDataKey
(String dataKey) Excludes plugin data that have a different data key than the given data key.withProvider
(String providerUUID) Excludes plugin data that have a different provider than the given provider uuid.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
MTPluginDataQuery selectAll()Selects all plugin data in the workspace.- Returns:
- A query selecting all plugin data.
-
select
Selects plugin data by their ID.- Parameters:
ids
- The ID:s of the plugin data to select.
-
selectByUUID
Selects plugin data by their UUID.- Parameters:
uuids
- The UUID:s of the plugin data to select.
-
withProvider
Excludes plugin data that have a different provider than the given provider uuid. If called multiple times, existing providerUUID will be replaced with the new one. It is thus not possible to construct a single query asking for more than one providerUUID.- Parameters:
providerUUID
- the provider's UUID.
-
withDataKey
Excludes plugin data that have a different data key than the given data key. If called multiple times, existing data key will be replaced by the new one. It is thus not possible to construct a single query asking for more than one data key.- Parameters:
dataKey
- the data key- Returns:
- an MTPluginDataQuery excluding plugin data with some other key than the given.
-