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) |
Output |
update(String id,
Map<String,Object> deltas) |
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, 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 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 Output update(String id, Map<String,Object> deltas)
update in interface OutputServicepublic long count()
count in interface OutputServicepublic Map<String,Long> countByType()
countByType in interface OutputServiceCopyright © 2012-2015 Graylog, Inc.. All Rights Reserved.