Interface MTImageQuery

All Superinterfaces:
MTPatternQuery, MTQuery

public interface MTImageQuery extends MTQuery, MTPatternQuery
  • Method Details

    • selectAll

      MTImageQuery selectAll()
      Selects all images in the repository.
    • select

      MTImageQuery select(List<Long> ids)
      Selects images by their ID.
      Parameters:
      ids - The ID:s of the lists to select.
    • selectByUUID

      MTImageQuery selectByUUID(List<String> uuids)
      Selects images by their UUID.
      Parameters:
      uuids - The UUIDS:s of the images to select.
    • selectByNamedQuery

      MTImageQuery selectByNamedQuery(MTNamedQuery namedQuery)
      Selects from a named query. This way you can base queries on other named queries and filter them further.
      Parameters:
      namedQuery - The named query to base this query on.
    • withPattern

      MTImageQuery withPattern(String pattern, MTLanguage language, boolean exactMatch, boolean ignoreCase)
      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.