XmlFilterObject Class Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

This class acts as base class for classes that performs query operations against the Content Studio xml index.
Inheritance Hierarchy

SystemObject
  ContentStudio.Document.EPTXmlFilterObject
    ContentStudio.Document.EPTXmlFilter

Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

[SerializableAttribute]
public abstract class XmlFilterObject : IEnumerable<KeyValuePair<string, XmlFilteringFieldDefinition>>, 
	IEnumerable

The XmlFilterObject type exposes the following members.

Constructors

  NameDescription
Protected methodXmlFilterObject
Creates a new instance of the XmlFiltering class.
Top
Properties

  NameDescription
Public propertyAggregation
Indicates if and how the query should be aggregated.
Public propertyCategoryID
Returns the EPT category where the filtering should be done.
Public propertyCheckForReadPermission
Sets or gets a value that specifies whether Content Studio should check for read permission instead of browse permission.
Public propertyDraftsOnly
Sets or gets a value that specifies whether the draft should be queried and optionally returned instead of the published content. Pass null (Nothing in Visual Basic) to filter against the draft or the approved content, if draft was not found.
Public propertyFieldNames
Returns an array of fields names defined in the collection.
Public propertyCode exampleFilterCriteria
Sets or gets the T-SQL argument to filter on.
Public propertyIgnorePublishStatus
Sets or gets a value that specifies whether the published flag should be checked. If this property is turned off performance can be improved. Note that unpublished documents will be included in the result with this property set to true.
Public propertyItem
Returns a XmlFilteringFieldDefinition with the specified name. In C# this is the indexer.
Public propertyPageCount
When implemented in derived classes gets the number of pages found.
Public propertyPageNumber
Gets or sets a value that indicates which page to return. This value cannot be less than 1.
Public propertyPageSize
Gets or sets the size of each page used. This value cannot be less than 0.
Public propertyPreviewDate
Sets or gets a value that specifies a point in time to filter.
Public propertyRangeSize
Gets or sets the number of rows to evaluate depending on the range of pages to return.
Public propertyRecordCount
When implemented in derived classes gets the number of data rows found.
Public propertyReturnExtendedFields
Sets or gets a value that specifies whether Content Studio should return datafields with extra information.
Public propertyCode exampleSortCommand
Sets or gets the T-SQL clause that defines the sort instruction for the returned data.
Top
Methods

  NameDescription
Public methodAddField(String)
Adds a new field to the collection of field to filter. The field does not return data.
Public methodAddField(String, XmlIndexQueryQueryDataTypes)
Adds a new field to the collection of field to filter on that does not return data and is of a certain data type. The name of the field must be unique and indexed and the number of fields cannot exceed PARAMETER_COUNT.
Public methodAddField(String, Boolean)
Adds a new field to the collection of field to filter on, with the possibility to specify whether to return data or not.
Public methodAddField(String, Boolean, XmlIndexQueryQueryDataTypes)
Adds a new field to the collection of field to filter on, with the possibility to specify whether to return data for the field and specify a data type for sorting.
Public methodEquals (Inherited from Object.)
Public methodExistsField
Determines whether the collection contains the specified field name.
Public methodFilter
When implemented in derived classes, performs the actual filtering against Content Studio
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveField
Removes the XmlFilteringFieldDefinition with the specified name from the collection.
Public methodToString (Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberDEFAULT_PAGENUMBER
Defines the default page number. This field has the value 1.
Public fieldStatic memberDEFAULT_PAGESIZE
Defines the default page size to use. This field has the value 10.
Top
See Also

Reference