About Sort Filters; Special Filter Scenarios - MACROMEDIA BREEZE-USING THE BREEZE XML WEB SERVICES Use Manual

Using the breeze xml web services
Table of Contents

Advertisement

About sort filters

You can use a filter of the type
the following filter sorts the
sort-name=asc
The following code sorts the name field in descending order:
sort-name=desc
You can also perform primary and secondary sorts. For example, when listing calling the
principal-list
secondary sort on the
and sorted by name in each group).
You can do this by specifying the following parameters:
sort1-type=asc&sort2-name=desc

Special filter scenarios

The following scenarios for filtering data vary for each action, for specific information about sort
and filter options for individual actions, see their entries in
page
37.
To filter data that has a type field:
You can filter out or display only entries with a combination of matching types. For example, the
following filter displays only the types
filter-type=folder&filter-type=presentation
The following example shows all types except
filter-out-type=folder&filter-out-type=presentation
If the
field allows a
type
values. The following example shows only types that are
filter-type=null
The following example shows only types that are not
filter-out-type=null
To filter based on the length of a record:
The following shows all records whose date modified is between July 1 and July 10:
filter-lt-date-modified=2004-07-10T10:00:00.000-07:00&filter-gt-date-
modified=2004-07-1T10:00:00.000-07:00
To filter a specific number of entries starting at a specific entry:
You can use this technique to create pagination when there is too much data for one page. The
following example shows 25 records starting at the 100th record:
filter-rows=25&filter-start=100
to sort data in ascending and descending order. For example,
sort
field in ascending order:
name
action to list principals, you can do a primary sort on the
field (this way, all principals of a specific type are grouped together
name
folder
value, you might want to filter out entries with
null
Chapter 4, "Action Reference," on
and
:
presentation
and
folder
presentation
:
null
:
null
field and then a
type
:
and non-
null
Special filter scenarios
null
23

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BREEZE-USING THE BREEZE XML WEB SERVICES and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Breeze

Table of Contents