public class OutputServiceImpl extends PersistedServiceImpl implements OutputService
mongoConnection| Constructor and Description |
|---|
OutputServiceImpl(MongoConnection mongoConnection,
StreamService streamService,
OutputRegistry outputRegistry) |
| Modifier and Type | Method and Description |
|---|---|
long |
count() |
Map<String,Long> |
countByType() |
Output |
create(CreateOutputRequest request,
String userId) |
Output |
create(Output request) |
void |
destroy(Output output) |
Output |
load(String streamOutputId) |
Set<Output> |
loadAll() |
protected Set<Output> |
loadAll(Map<String,Object> additionalQueryOpts) |
Set<Output> |
loadForStream(Stream stream) |
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 OutputServiceImpl(MongoConnection mongoConnection, StreamService streamService, OutputRegistry outputRegistry)
public Output load(String streamOutputId) throws NotFoundException
load in interface OutputServiceNotFoundExceptionpublic Set<Output> loadAll()
loadAll in interface OutputServicepublic Set<Output> loadForStream(Stream stream)
loadForStream in interface OutputServicepublic Output create(Output request) throws ValidationException
create in interface OutputServiceValidationExceptionpublic Output create(CreateOutputRequest request, String userId) throws ValidationException
create in interface OutputServiceValidationExceptionpublic void destroy(Output output) throws NotFoundException
destroy in interface OutputServiceNotFoundExceptionpublic long count()
count in interface OutputServicepublic Map<String,Long> countByType()
countByType in interface OutputServiceCopyright © 2012-2015 Graylog, Inc.. All Rights Reserved.