public class OutputServiceImpl extends Object implements OutputService
| Constructor and Description |
|---|
OutputServiceImpl(MongoConnection mongoConnection,
MongoJackObjectMapperProvider mapperProvider,
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 model) |
Output |
load(String streamOutputId) |
Set<Output> |
loadAll() |
Output |
update(String id,
Map<String,Object> deltas) |
@Inject public OutputServiceImpl(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapperProvider, 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 model) 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-2016 Graylog, Inc.. All Rights Reserved.