Interface MTQuery.State
- Enclosing interface:
- MTQuery
public static interface MTQuery.State
Represents the state of a query which may be used by
a query builder. The state contains all possible states
for all query type. For a given query type only some
select/filter method will be implemented, all other
methods will return "false" or "null". It is up to
the implementer of the query builder to use the correct
methods based on the query type and the select/filter
methods available for that type.
-
Method Summary
Modifier and TypeMethodDescriptiongetIDs()
getKeys()
getList()
getType()
getTypes()
getUUIDs()
default boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isSort()
boolean
boolean
default boolean
default boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Method Details
-
getContexts
List<MTQuery.ResultContext> getContexts() -
isSelectAll
boolean isSelectAll() -
isSelectByIDs
boolean isSelectByIDs() -
getIDs
-
getStringIDs
-
getDocumentSourceIDs
List<Document.DocumentID> getDocumentSourceIDs() -
isSelectByUUIDs
boolean isSelectByUUIDs() -
getUUIDs
-
isSelectList
boolean isSelectList() -
getList
MTList getList() -
isSelectNamedQuery
boolean isSelectNamedQuery() -
getNamedQuery
MTNamedQuery getNamedQuery() -
isSelectSubset
boolean isSelectSubset() -
isSelectUUIDSubset
boolean isSelectUUIDSubset() -
isOwningSubset
boolean isOwningSubset() -
getSubset
-
getUUIDSubset
-
isSelectUnused
boolean isSelectUnused() -
isSelectByTitles
boolean isSelectByTitles() -
getTitles
-
isSelectByType
boolean isSelectByType() -
getType
String getType() -
isSelectByKeys
boolean isSelectByKeys() -
getKeys
-
isSelectByTypes
boolean isSelectByTypes() -
isSelectByModelsAndSymbols
boolean isSelectByModelsAndSymbols() -
isSelectByModels
boolean isSelectByModels() -
isSelectBySymbols
boolean isSelectBySymbols() -
getModels
List<MTModelHeader> getModels() -
isWithPattern
boolean isWithPattern() -
getPattern
String getPattern() -
getPatternLanguage
MTLanguage getPatternLanguage() -
isWithChangesSince
boolean isWithChangesSince() -
getChangesDate
Date getChangesDate() -
isWorkspaceData
boolean isWorkspaceData() -
isWithProvider
boolean isWithProvider() -
getProvider
String getProvider() -
isWithDataKey
boolean isWithDataKey() -
getDataKey
String getDataKey() -
isWithTypes
boolean isWithTypes() -
getTypes
-
isWithDocumentTypes
boolean isWithDocumentTypes() -
isIncludeNoDocumentTypes
boolean isIncludeNoDocumentTypes() -
getDocumentTypes
List<MTDocumentTypeHeader> getDocumentTypes() -
isWithLockedRevisions
boolean isWithLockedRevisions() -
isIncludeInitialRevisions
boolean isIncludeInitialRevisions() -
isWithApprovers
boolean isWithApprovers() -
isIncludeNoApprovers
boolean isIncludeNoApprovers() -
getApprovers
List<MTUserHeader> getApprovers() -
isWithReviewers
boolean isWithReviewers() -
isIncludeNoReviewers
boolean isIncludeNoReviewers() -
getReviewers
List<MTUserHeader> getReviewers() -
isWithSubscribers
boolean isWithSubscribers() -
isIncludeNoSubscribers
boolean isIncludeNoSubscribers() -
getSubscribers
List<MTSubscriber> getSubscribers() -
isWithMaintainers
boolean isWithMaintainers() -
isIncludeNoMaintainers
boolean isIncludeNoMaintainers() -
getMaintainers
List<MTUserHeader> getMaintainers() -
isWithCreators
boolean isWithCreators() -
getCreators
List<MTUserHeader> getCreators() -
isWithLastModifiedBy
boolean isWithLastModifiedBy() -
getLastModifiedBy
List<MTUserHeader> getLastModifiedBy() -
isWithOwners
boolean isWithOwners() -
getOwners
List<MTUserHeader> getOwners() -
isWithGroups
boolean isWithGroups() -
getGroups
List<MTGroupHeader> getGroups() -
isWithWorkflowStates
boolean isWithWorkflowStates() -
getWorkflowStates
List<WorkflowState> getWorkflowStates() -
isWithMissingTranslations
boolean isWithMissingTranslations() -
isWithoutHomeModel
boolean isWithoutHomeModel() -
isWithDocumentRoots
boolean isWithDocumentRoots() -
isIncludeNoDocumentRoots
boolean isIncludeNoDocumentRoots() -
getDocumentRoots
List<MTVariable> getDocumentRoots() -
getAttributeFilters
Collection<MTAttributeFilter> getAttributeFilters() -
isInLockedModels
boolean isInLockedModels() -
isIncludeInitialModelRevisions
boolean isIncludeInitialModelRevisions() -
isWithSymbolFilter
boolean isWithSymbolFilter() -
getSymbolFilter
List<MTNamedQuery> getSymbolFilter() -
isWithModelFilter
boolean isWithModelFilter() -
getModelFilter
List<MTNamedQuery> getModelFilter() -
isWithSubscriberTypes
boolean isWithSubscriberTypes() -
getSubscriberTypes
Collection<MTSubscriberQuery.SubscriberType> getSubscriberTypes() -
isWithSubscriberGroups
boolean isWithSubscriberGroups() -
getSubscriberGroups
Collection<MTSubscriber> getSubscriberGroups() -
isWithDocumentSources
boolean isWithDocumentSources() -
getDocumentSources
Collection<DocumentSource> getDocumentSources() -
isWithDocumentFilters
boolean isWithDocumentFilters() -
getDocumentFilters
Collection<DocumentFilter> getDocumentFilters() -
isWithDocuments
boolean isWithDocuments() -
getDocuments
Collection<Document.DocumentID> getDocuments() -
isSort
boolean isSort() -
getSortColumn
MTQuery.SortColumn getSortColumn() -
getSortByType
MetaDataType getSortByType() -
isSortAscending
boolean isSortAscending() -
getSortLanguage
MTLanguage getSortLanguage() -
getSortLocale
Locale getSortLocale() -
isFiltered
default boolean isFiltered() -
isWithAttributeDataType
default boolean isWithAttributeDataType() -
isWithAttributeType
default boolean isWithAttributeType() -
getAttributeTypeUUIDs
-
getAttributeDataTypes
-