public class InputServiceImpl extends PersistedServiceImpl implements InputService
mongoConnection| Constructor and Description |
|---|
InputServiceImpl(MongoConnection mongoConnection,
ExtractorFactory extractorFactory,
MessageInputFactory messageInputFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtractor(Input input,
Extractor extractor) |
void |
addStaticField(Input input,
String key,
String value) |
List<Input> |
allOfRadio(Node radio) |
List<Input> |
allOfThisNode(String nodeId) |
MessageInput |
buildMessageInput(Input io) |
Input |
find(String id) |
Input |
findForThisNode(String nodeId,
String id) |
Input |
findForThisNodeOrGlobal(String nodeId,
String id) |
Input |
findForThisRadio(String radioId,
String id) |
Input |
findForThisRadioOrGlobal(String radioId,
String id) |
List<Extractor> |
getExtractors(Input input) |
MessageInput |
getMessageInput(Input io) |
void |
removeExtractor(Input input,
String extractorId) |
void |
removeStaticField(Input input,
String key) |
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 InputServiceImpl(MongoConnection mongoConnection, ExtractorFactory extractorFactory, MessageInputFactory messageInputFactory)
public List<Input> allOfThisNode(String nodeId)
allOfThisNode in interface InputServicepublic List<Input> allOfRadio(Node radio)
allOfRadio in interface InputServicepublic Input find(String id) throws NotFoundException
find in interface InputServiceNotFoundExceptionpublic Input findForThisNodeOrGlobal(String nodeId, String id) throws NotFoundException
findForThisNodeOrGlobal in interface InputServiceNotFoundExceptionpublic Input findForThisRadioOrGlobal(String radioId, String id) throws NotFoundException
findForThisRadioOrGlobal in interface InputServiceNotFoundExceptionpublic Input findForThisNode(String nodeId, String id) throws NotFoundException, IllegalArgumentException
findForThisNode in interface InputServiceNotFoundExceptionIllegalArgumentExceptionpublic Input findForThisRadio(String radioId, String id) throws NotFoundException
findForThisRadio in interface InputServiceNotFoundExceptionpublic void addExtractor(Input input, Extractor extractor) throws ValidationException
addExtractor in interface InputServiceValidationExceptionpublic void addStaticField(Input input, String key, String value) throws ValidationException
addStaticField in interface InputServiceValidationExceptionpublic List<Extractor> getExtractors(Input input)
getExtractors in interface InputServicepublic void removeExtractor(Input input, String extractorId)
removeExtractor in interface InputServicepublic void removeStaticField(Input input, String key)
removeStaticField in interface InputServicepublic MessageInput buildMessageInput(Input io) throws NoSuchInputTypeException
buildMessageInput in interface InputServiceNoSuchInputTypeExceptionpublic MessageInput getMessageInput(Input io) throws NoSuchInputTypeException
getMessageInput in interface InputServiceNoSuchInputTypeExceptionCopyright © 2012–2014 TORCH GmbH. All rights reserved.