Previous Topic: ImportSoftwarePackagePropertiesByNameNext Topic: QueryProperties


QueryFragment2

This sequence of elements represents one fragment of a DSM query definition. It describes a search statement.

QueryFragmentType2 queryFragmentType

Type of the query fragment; specifies whether it is a database or directory statement.

xsd:string pseudoStatement

A user-defined description of the nature of the query fragment's statement.

xsd:string statement

The underlying SQL-style statement from which the query fragment is formulated.

xsd:string linkQueryName

Name of the existing query used to link with this new query. Existing query will be added as an argument of new query.

xsd:string attributeFilter

Used to specify the attribute values based on which the query results can be streamlined.

For example: (assetCn=z*) AND (assetDescription=This is a sample Query).

The above attributeFilter helps to find assets with name starting ‘z’.

Other Attributes are as follows:

xsd:bool attributeFilterSupplied

Set the value of this parameter to true if ‘attributeFilter’ is supplied otherwise set it to false.

xsd:bool searchRecursive

Set it true if recursive search is desired.

xsd:bool searchRecursiveSupplied

Set it to true if ‘searchRecursive’ parameter is set to true otherwise set it to false.

Remarks

The value of ‘attributeFilterSupplied’ can be set to true or false if value of ‘queryFragmentType’ is DIRECTORY_***. For all other values ‘attributeFilterSupplied’ should be set to false.