Interface MTLayerTypeQuery

All Superinterfaces:
MTMissingTranslationsQuery, MTPatternQuery, MTQuery, MTSortableQuery

public interface MTLayerTypeQuery extends MTQuery, MTPatternQuery, MTSortableQuery, MTMissingTranslationsQuery
  • Method Details

    • selectAll

      MTLayerTypeQuery selectAll()
      Selects all layer types in the repository.
    • selectUnused

      MTLayerTypeQuery selectUnused()
      Selects all layer types that are not used for any layers.
    • select

      MTLayerTypeQuery select(List<Long> ids)
      Selects layer types by their ID.
      Parameters:
      ids - The ID:s of the layer types to select.
    • selectByUUID

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

      MTLayerTypeQuery 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

      MTLayerTypeQuery 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.
    • sort

      MTLayerTypeQuery sort(MTQuery.SortColumn sortColumn, boolean ascending, MTLanguage language, Locale locale)
      Sorts the selected layer types.
      Specified by:
      sort in interface MTSortableQuery
      Parameters:
      sortColumn - The column to sort by
      ascending - true for ascending order, false for descending
      language - The language to sort by
      locale - the locale to use when sorting