6.1.1.2 Parameters:.........................................................................................................................................52
6.1.1.3 Returns:...............................................................................................................................................52
6.1.1.4 Exceptions:........................................................................................................................................52
6.1.2 AdhocQueryResponse............................................................................................................52
6.1.2.1 Syntax:................................................................................................................................................52
6.1.2.2 Parameters:.........................................................................................................................................53
6.1.3 AdhocQuery.............................................................................................................................53
6.1.3.1 Syntax:................................................................................................................................................53
6.1.3.2 Parameters:.........................................................................................................................................53
6.1.4 ReponseOption.......................................................................................................................53
6.1.4.1 Syntax:................................................................................................................................................54
6.1.4.2 Parameters:.........................................................................................................................................54
6.2 Iterative Query Support..................................................................................................................54
6.2.1 Query Iteration Example.........................................................................................................55
6.3 Stored Query Support.....................................................................................................................55
6.3.1 Submitting a Stored Query......................................................................................................55
6.3.1.1 Declaring Query Parameters..............................................................................................................55
6.3.1.2 Canonical Context Parameters...........................................................................................................56
6.3.2 Invoking a Stored Query..........................................................................................................56
6.3.2.1 Specifying Query Invocation Parameters...........................................................................................57
6.3.3 Response to Stored Query Invocation....................................................................................57
6.3.4 Access Control on a Stored Query..........................................................................................57
6.3.5 Canonical Query: Get Client’s User Object............................................................................58
6.4 SQL Query Syntax..........................................................................................................................58
6.4.1 Relational Schema for SQL Queries.......................................................................................58
6.4.2 SQL Query Results.................................................................................................................58
6.5 Filter Query Syntax.........................................................................................................................59
6.5.1 Filter Query Structure..............................................................................................................59
6.5.2 Query Elements.......................................................................................................................59
6.5.3 Filter Elements........................................................................................................................60
6.5.3.1 FilterType............................................................................................................................................61
6.5.3.2 SimpleFilterType.................................................................................................................................61
6.5.3.3 BooleanFilter.......................................................................................................................................62
6.5.3.4 FloatFilter............................................................................................................................................62
6.5.3.5 IntegerFilter.........................................................................................................................................63
6.5.3.6 DateTimeFilter....................................................................................................................................63
6.5.3.7 StringFilter...........................................................................................................................................63
6.5.3.8 CompoundFilter..................................................................................................................................63
6.5.4 Nested Query Elements..........................................................................................................64
6.5.5 Branch Elements.....................................................................................................................64
6.6 Query Examples.............................................................................................................................65
6.6.1 Name and Description Queries...............................................................................................65
6.6.2 Classification Queries.............................................................................................................66
6.6.2.1 Retrieving ClassificationSchemes......................................................................................................66
6.6.2.2 Retrieving Children of Specified ClassificationNode..........................................................................66
6.6.2.3 Retrieving Objects Classified By a ClassificationNode......................................................................66
6.6.2.4 Retrieving Classifications that Classify an Object..............................................................................67
regrep-rs-3.0-os May 2, 2005
Copyright © OASIS Open 2005. All Rights Reserved. Page 6 of 133
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212