public class SavedSearchServiceImpl extends PersistedServiceImpl implements SavedSearchService
mongoConnection| Constructor and Description |
|---|
SavedSearchServiceImpl(MongoConnection mongoConnection) |
| Modifier and Type | Method and Description |
|---|---|
List<SavedSearch> |
all() |
SavedSearch |
create(String title,
Map<String,Object> query,
String creatorUserId,
org.joda.time.DateTime createdAt) |
SavedSearch |
load(String id) |
void |
update(SavedSearch search,
String title,
Map<String,Object> query) |
collection, collection, count, count, cursorToList, destroy, destroy, destroyAll, destroyAll, destroyAll, embed, findOne, findOne, findOne, findOne, get, get, get, query, query, query, query, query, removeEmbedded, removeEmbedded, save, saveWithoutValidation, totalCount, totalCount, validate, validate, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, destroyAll, save, saveWithoutValidation, validate, validate, validate@Inject public SavedSearchServiceImpl(MongoConnection mongoConnection)
public List<SavedSearch> all()
all in interface SavedSearchServicepublic SavedSearch load(String id) throws NotFoundException
load in interface SavedSearchServiceNotFoundExceptionpublic SavedSearch create(String title, Map<String,Object> query, String creatorUserId, org.joda.time.DateTime createdAt)
create in interface SavedSearchServicepublic void update(SavedSearch search, String title, Map<String,Object> query) throws ValidationException
update in interface SavedSearchServiceValidationExceptionCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.