public class Main extends ModuleRoot
request, sic
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
protected String |
doSearchWithPayload(String indices,
String types,
String rawQuery,
String payload) |
String |
getDocument(String indices,
String types,
String documentId,
javax.ws.rs.core.UriInfo uriInf) |
protected String |
getElasticsearchBaseUrl() |
NuxeoPrincipal |
getPrincipal() |
String |
searchWithPayload(String indices,
String types,
javax.ws.rs.core.UriInfo uriInf,
javax.ws.rs.core.MultivaluedMap<String,String> formParams) |
String |
searchWithPayload(String indices,
javax.ws.rs.core.UriInfo uriInf,
javax.ws.rs.core.MultivaluedMap<String,String> formParams) |
String |
searchWithPayload(javax.ws.rs.core.UriInfo uriInf,
javax.ws.rs.core.MultivaluedMap<String,String> formParams) |
String |
searchWithPost(String indices,
String types,
javax.ws.rs.core.UriInfo uriInf,
String payload) |
String |
searchWithPost(String indices,
javax.ws.rs.core.UriInfo uriInf,
String payload) |
String |
searchWithPost(javax.ws.rs.core.UriInfo uriInf,
String payload) |
String |
searchWithUri(String indices,
String types,
javax.ws.rs.core.UriInfo uriInf) |
getLink, getSkinResource, handleError, setContext
disptachAdapter, isAdapter
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkGuard, dispose, getActiveAdapter, 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
getAdapter
public Main()
public String searchWithPayload(@Context javax.ws.rs.core.UriInfo uriInf, javax.ws.rs.core.MultivaluedMap<String,String> formParams) throws IOException, org.json.JSONException
IOException
org.json.JSONException
public String searchWithPost(@Context javax.ws.rs.core.UriInfo uriInf, String payload) throws IOException, org.json.JSONException
IOException
org.json.JSONException
public String searchWithPayload(String indices, @Context javax.ws.rs.core.UriInfo uriInf, javax.ws.rs.core.MultivaluedMap<String,String> formParams) throws IOException, org.json.JSONException
IOException
org.json.JSONException
public String searchWithPost(String indices, @Context javax.ws.rs.core.UriInfo uriInf, String payload) throws IOException, org.json.JSONException
IOException
org.json.JSONException
public String searchWithPayload(String indices, String types, @Context javax.ws.rs.core.UriInfo uriInf, javax.ws.rs.core.MultivaluedMap<String,String> formParams) throws IOException, org.json.JSONException
IOException
org.json.JSONException
public String searchWithPost(String indices, String types, @Context javax.ws.rs.core.UriInfo uriInf, String payload) throws IOException, org.json.JSONException
IOException
org.json.JSONException
protected String doSearchWithPayload(String indices, String types, String rawQuery, String payload) throws IOException, org.json.JSONException
IOException
org.json.JSONException
public String searchWithUri(String indices, String types, @Context javax.ws.rs.core.UriInfo uriInf) throws IOException, org.json.JSONException
IOException
org.json.JSONException
public String getDocument(String indices, String types, String documentId, @Context javax.ws.rs.core.UriInfo uriInf) throws IOException, org.json.JSONException
IOException
org.json.JSONException
protected String getElasticsearchBaseUrl()
@NotNull public NuxeoPrincipal getPrincipal()
Copyright © 2017 Nuxeo. All rights reserved.