public class QueryObject extends AbstractResource<ResourceTypeImpl>
Modifier and Type | Class and Description |
---|---|
static class |
QueryObject.LangParams |
static class |
QueryObject.QueryParams |
Modifier and Type | Field and Description |
---|---|
static String |
CURRENT_PAGE_INDEX |
static String |
CURRENT_REPO_PATTERN |
static String |
CURRENT_USERID_PATTERN |
static String |
MAX_RESULTS |
static String |
NXQL |
static String |
ORDERED_PARAMS |
static String |
PAGE_SIZE |
static String |
PATH |
static String |
QUERY |
static String |
SORT_BY |
static String |
SORT_ORDER |
Constructor and Description |
---|
QueryObject() |
Modifier and Type | Method and Description |
---|---|
Object |
doQuery(javax.ws.rs.core.UriInfo uriInfo)
Perform query on the repository.
|
Object |
doSpecificQuery(javax.ws.rs.core.UriInfo uriInfo,
String langOrProviderName)
Perform query on the repository in NXQL or specific pageprovider name
|
void |
initialize(Object... args) |
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
public static final String PATH
public static final String NXQL
public static final String QUERY
public static final String PAGE_SIZE
public static final String CURRENT_PAGE_INDEX
public static final String MAX_RESULTS
public static final String SORT_BY
public static final String SORT_ORDER
public static final String ORDERED_PARAMS
public static final String CURRENT_USERID_PATTERN
public static final String CURRENT_REPO_PATTERN
public void initialize(Object... args)
public Object doQuery(@Context javax.ws.rs.core.UriInfo uriInfo) throws RestOperationException
uriInfo
- Query parametersRestOperationException
public Object doSpecificQuery(@Context javax.ws.rs.core.UriInfo uriInfo, String langOrProviderName) throws RestOperationException
uriInfo
- Query parameterslangOrProviderName
- NXQL or specific provider nameRestOperationException
Copyright © 2015 Nuxeo SA. All rights reserved.