DocumentQueryProperties Class |
Namespace: CMS.DocumentEngine
public class DocumentQueryProperties
The DocumentQueryProperties type exposes the following members.
Name | Description | |
---|---|---|
DocumentQueryProperties |
Constructor
|
Name | Description | |
---|---|---|
AllCultures |
Indicates if all culture versions of the documents should be returned in the result.
| |
CheckPermissions |
Indicates if the documents should be filtered based on current user permissions.
| |
CombineWithAnyCulture |
Indicates if the documents should be combined with any language version if the specific one doesn't exist.
| |
CombineWithDefaultCulture |
Indicates if the documents should be combined with the default language version if the specific one doesn't exist.
| |
CultureList |
Ordered and filtered list of cultures to use in query
| |
Cultures |
Prioritized list of document cultures which should be included in the result.
| |
DefaultCultureCode |
Provides default culture code for the current query
| |
EnsureExtraColumns |
If true, automatic extra columns are ensured for the query (column for version data application, security check required columns etc.).
| |
ExcludedPaths |
List of document paths which should be excluded from the result.
| |
ExcludedVersionedColumns |
List of versioned columns which should not be applied
| |
FilterDuplicates |
Indicates if duplicate document are filtered from the result. This means that linked documents are not retrieved, if there is the original document already included in the results.
| |
IsLastVersion |
If true, the last version of the documents is retrieved.
| |
IsMultiQuery |
Indicates if properties are used for a multi-query.
| |
NestingLevel |
Limits documents to a specified nesting level. (Applies only when one node alias path for multiple documents is provided.)
| |
ParentQuery |
Parent document query
| |
Paths |
List of document paths which should be included in the result.
| |
PreferredCultureCode |
Preferred culture code to use when none set.
| |
RelationshipName |
Defines name of the relationship. If not provided documents from all relationships will be retrieved.
| |
RelationshipNodeGUID |
Defines node GUID of the related document. Only document in relation with this document will be included in the results.
| |
RelationshipSide |
Defines side of the related document within the relation. Both sides are used by default.
| |
SelectOnlyPublished |
If true, only published documents are retrieved.
| |
SiteIDs |
List of site IDs on which should be the documents searched.
| |
SiteName |
Provides site name for the current query (If there is only single site specified.)
| |
TreeProvider |
Instance of tree provider to use to parametrize documents retrieving.
| |
WithPageUrlPaths |
Indicates if URL paths should be joined to the returned result.
|
Name | Description | |
---|---|---|
AddCulturePriorityColumn |
Adds culture priority column to data query settings to get the most relevant document culture version
| |
AddDuplicatesPriorityColumn |
Adds duplicates priority column to data query settings to get only original documents
| |
All |
Ensures that there is no restriction applied for the result.
| |
ApplyProperties |
Applies properties to the given target instance.
Does not apply properties which are already explicitly set in the target instance, and which values cannot be combined from both instances.
| |
ApplyToSettings |
Applies these properties to the given data query settings
| |
Clone |
Clones object
| |
Culture |
Filters the data to include only documents translated to given culture(s).
| |
Default |
Ensures default state of settings for the result.
| |
EnsureWhereCondition |
Ensures where condition based on query properties
| |
ExcludePath(String) |
Filters the data to exclude documents on given path(s).
| |
ExcludePath(String, PathTypeEnum) |
Filters the data to exclude documents on given path.
| |
GetAllowedPathWhereCondition |
Gets where condition based on allowed paths
| |
GetClassesWhereCondition |
Gets where condition based on multi-query settings and list of document types
| |
GetCombineWithDefaultCultureInternal |
Gets default value for combine with default culture
| |
GetContainerTypeWhereCondition |
Gets where condition for page type representing container
| |
GetCultureWhereCondition |
Gets where condition based on list of requested cultures
| |
GetDefaultCultureCodeInternal |
Gets default value for default culture
| |
GetExcludedPathWhereCondition |
Gets where condition based on excluded paths
| |
GetNestingLevelWhereCondition |
Gets where condition to retrieve only documents in specified nesting level (The first specified path is taken as the referring one.)
| |
GetNodeDataWhereCondition |
Gets where condition for all restrictions based on tree node data
| |
GetPreferredCultureInternal |
Gets default value for preferred culture
| |
GetPublishedWhereCondition |
Gets where condition to retrieve only published documents based on settings
| |
GetRelationshipWhereCondition |
Gets where condition to retrieve only documents in relationship defined by the properties.
| |
GetSingleQuery |
Gets modified single query to execute
| |
OnSite |
Filters the data to include documents only on the given site(s).
| |
Path(String) |
Filters the data to include only documents on given path(s).
| |
Path(String, PathTypeEnum) |
Filters the data to include only documents on given path.
|