<service:element>title</service:element>
<service:xpath>title</service:xpath>
</service:ListResultField>
+ <service:ListResultField>
+ <service:element>owner</service:element>
+ <service:xpath>owner</service:xpath>
+ </service:ListResultField>
</service:ListResultsFields>
</service:params>
</service:DocHandlerParams>
<types:key>objectNameProperty</types:key>
<types:value>title</types:value>
</types:item>
+ <types:item xmlns:types="http://collectionspace.org/services/common/types">
+ <types:key>objectNumberProperty</types:key>
+ <types:value>title</types:value>
+ </types:item>
</service:properties>
<service:object xmlns:service="http://collectionspace.org/services/common/service" name="Group" version="0.1">
<service:part id="0" control_group="Managed" versionable="true" auditable="false" label="group-system" updated="" order="0">
"The findDocs() method must specify at least one DocumentType.");
}
DocumentModelList docList = null;
- // force limit to 1, and ignore totalSize
QueryContext queryContext = new QueryContext(ctx, whereClause);
String query = NuxeoUtils.buildNXQLQuery(docTypes, queryContext);
if (logger.isDebugEnabled()) {
try {
MultivaluedMap<String, String> queryParams = ui.getQueryParameters();
String keywords = queryParams.getFirst(IQueryManager.SEARCH_TYPE_KEYWORDS_KW);
- ServiceContext<PoxPayloadIn, PoxPayloadOut> ctx = createServiceContext();
+ ServiceContext<PoxPayloadIn, PoxPayloadOut> ctx = createServiceContext(queryParams);
ServiceGroupDocumentModelHandler handler = (ServiceGroupDocumentModelHandler)
createDocumentHandler(ctx);
ArrayList<String> groupsList = null;