@Produces(value="application/json") public class DocumentsResource extends AbstractResource
AbstractResource.Error
Constructor and Description |
---|
DocumentsResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getDocuments(String offsetString,
String maxString,
String queryString,
String nodeTypeString) |
javax.ws.rs.core.Response |
getDocumentsByUUID(String uuidString) |
org.slf4j.Logger |
getLogger() |
void |
setMaxSearchResultItems(Integer maxSearchResultItems) |
buildErrorResponse, buildErrorResponse, getResourceContextFactory, getSearchService, isNodePartOfApiContent, logException, parseUUID, setResourceContextFactory
public org.slf4j.Logger getLogger()
getLogger
in class AbstractResource
public void setMaxSearchResultItems(Integer maxSearchResultItems)
@GET @Path(value="/documents") public javax.ws.rs.core.Response getDocuments(@QueryParam(value="_offset") String offsetString, @QueryParam(value="_max") String maxString, @QueryParam(value="_query") String queryString, @QueryParam(value="_nodetype") String nodeTypeString)
@GET @Path(value="/documents/{uuid}") public javax.ws.rs.core.Response getDocumentsByUUID(@PathParam(value="uuid") String uuidString)
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.