public class OutputServiceImpl extends PersistedServiceImpl implements OutputService
mongoConnection| Constructor and Description |
|---|
OutputServiceImpl(MongoConnection mongoConnection,
StreamService streamService) |
| Modifier and Type | Method and Description |
|---|---|
Output |
create(CreateOutputRequest request,
java.lang.String userId) |
Output |
create(Output request) |
void |
destroy(Output output) |
Output |
load(java.lang.String streamOutputId) |
java.util.Set<Output> |
loadAll() |
protected java.util.Set<Output> |
loadAll(java.util.Map<java.lang.String,java.lang.Object> additionalQueryOpts) |
java.util.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)
public Output load(java.lang.String streamOutputId) throws NotFoundException
load in interface OutputServiceNotFoundExceptionpublic java.util.Set<Output> loadAll()
loadAll in interface OutputServiceprotected java.util.Set<Output> loadAll(java.util.Map<java.lang.String,java.lang.Object> additionalQueryOpts)
public java.util.Set<Output> loadForStream(Stream stream)
loadForStream in interface OutputServicepublic Output create(Output request) throws ValidationException
create in interface OutputServiceValidationExceptionpublic Output create(CreateOutputRequest request, java.lang.String userId) throws ValidationException
create in interface OutputServiceValidationExceptionpublic void destroy(Output output) throws NotFoundException
destroy in interface OutputServiceNotFoundExceptionCopyright © 2012-2014 TORCH GmbH. All Rights Reserved.