@Bindable(prefix="AmbientDocumentSource",
inherit=CommonAttributes.class)
public class AmbientDocumentSource
extends FubDocumentSource
| Modifier and Type | Class and Description |
|---|---|
static class |
AmbientDocumentSource.AmbientTopic
All available Ambient topics.
|
| Modifier and Type | Field and Description |
|---|---|
int |
results |
long |
resultsTotal |
AmbientDocumentSource.AmbientTopic |
topic
Ambient Topic.
|
documents, includeDocumentsWithoutTopic, minTopicSize, query, TOPIC_ID, topicIds| Constructor and Description |
|---|
AmbientDocumentSource() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getTopicLabel(String topicId) |
void |
process()
Performs the processing required to fulfill the request.
|
processInternalafterProcessing, beforeProcessing, dispose, getContext, getSharedExecutor, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterProcessing, beforeProcessing, dispose, init@Input @Processing @Attribute @Required @Group(value="Topic ID") @Level(value=BASIC) public AmbientDocumentSource.AmbientTopic topic
@Processing @Input @Attribute(key="results", inherit=true) @IntRange(min=1, max=100) public int results
@Processing @Output @Attribute(key="results-total", inherit=true) public long resultsTotal
public void process()
throws ProcessingException
IProcessingComponentprocess in interface IProcessingComponentprocess in class ProcessingComponentBaseProcessingException - when processing failed. If thrown, the
IProcessingComponent.afterProcessing() method will be called and the component will
be ready to accept further requests or to be disposed of. Finally, the
exception will be rethrown from the controller method that caused the
component to perform processing.