@Path(value="/search/saved") public class SavedSearchesResource extends SearchResource
searchesobjectMapper, serverStatus, userService| Constructor and Description |
|---|
SavedSearchesResource(Searches searches,
SavedSearchService savedSearchService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(java.lang.String body) |
javax.ws.rs.core.Response |
delete(java.lang.String searchId) |
java.lang.String |
get(java.lang.String searchId) |
java.lang.String |
list() |
buildFieldStatsResult, buildHistogramResult, buildSearchResponse, buildSorting, buildTermsResult, buildTermsStatsResult, checkQuery, checkQueryAndField, checkQueryAndInterval, checkQueryAndKeyword, checkSearchPermission, checkStringSet, checkTermsStatsFields, createRequestExceptionForParseFailure, createScrollChunkProducer, fieldHistogram, fieldStats, fieldStats, parseFields, parseOptionalFields, validateIntervalbytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, json, loadObjectId, page, restrictToMaster, setPrettyPrint@Inject public SavedSearchesResource(Searches searches, SavedSearchService savedSearchService)
@POST @Timed @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response create(java.lang.String body)
@GET @Timed @Produces(value="application/json") public java.lang.String list()
@GET
@Path(value="/{searchId}")
@Timed
public java.lang.String get(@PathParam(value="searchId")
java.lang.String searchId)
@DELETE
@Path(value="/{searchId}")
@Timed
public javax.ws.rs.core.Response delete(@PathParam(value="searchId")
java.lang.String searchId)
Copyright © 2012-2014 TORCH GmbH. All Rights Reserved.