public class StreamRuleServiceImpl extends PersistedServiceImpl implements StreamRuleService
mongoConnection| Constructor and Description |
|---|
StreamRuleServiceImpl(MongoConnection mongoConnection) |
| Modifier and Type | Method and Description |
|---|---|
StreamRule |
create(Map<String,Object> data) |
StreamRule |
create(String streamid,
CreateStreamRuleRequest cr) |
StreamRule |
load(org.bson.types.ObjectId id) |
List<StreamRule> |
loadForStream(Stream stream) |
List<StreamRule> |
loadForStreamId(String streamId) |
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 StreamRuleServiceImpl(MongoConnection mongoConnection)
public StreamRule load(org.bson.types.ObjectId id) throws NotFoundException
load in interface StreamRuleServiceNotFoundExceptionpublic List<StreamRule> loadForStream(Stream stream) throws NotFoundException
loadForStream in interface StreamRuleServiceNotFoundExceptionpublic StreamRule create(Map<String,Object> data)
create in interface StreamRuleServicepublic StreamRule create(String streamid, CreateStreamRuleRequest cr)
create in interface StreamRuleServicepublic List<StreamRule> loadForStreamId(String streamId) throws NotFoundException
loadForStreamId in interface StreamRuleServiceNotFoundExceptionCopyright © 2012–2014 TORCH GmbH. All rights reserved.