Interface MTPluginDataQuery

All Superinterfaces:
MTQuery

public interface MTPluginDataQuery extends 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
  • Method Details

    • selectAll

      MTPluginDataQuery selectAll()
      Selects all plugin data in the workspace.
      Returns:
      A query selecting all plugin data.
    • select

      MTPluginDataQuery select(List<Long> ids)
      Selects plugin data by their ID.
      Parameters:
      ids - The ID:s of the plugin data to select.
    • selectByUUID

      MTPluginDataQuery selectByUUID(List<String> uuids)
      Selects plugin data by their UUID.
      Parameters:
      uuids - The UUID:s of the plugin data to select.
    • withProvider

      MTPluginDataQuery withProvider(String providerUUID)
      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

      MTPluginDataQuery withDataKey(String dataKey)
      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.