Package com.uc4.api.objects
Class OutputFilter
java.lang.Object
com.uc4.api.objects.UC4Object
com.uc4.api.objects.OutputFilter
- All Implemented Interfaces:
Iterable<OutputFilter.Entry>
Output Filter.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class represents a single filter definition in anOutputFilter
object.static enum
Operator. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(OutputFilter.Entry filterEntry) Adds a new filter definition.Returns the operator which is used to combine the filter in this object.header()
Returns the header data of this object.boolean
Returnstrue
if this Object can be executed.iterator()
Iterator which can be used to read the filter or remove them using Iterator.remove().protected void
loadContent
(com.uc4.util.XMLDocument doc, ConnectionAttributes session) void
Removes all existing filters.void
setOperator
(OutputFilter.Operator operator) Sets the operator which is used to combine the filter in this object.int
size()
protected void
storeContent
(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
OutputFilter
public OutputFilter()
-
-
Method Details
-
loadContent
-
storeContent
protected void storeContent(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) -
header
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
getOperator
Returns the operator which is used to combine the filter in this object. Possible values are: AND, OR.- Returns:
- Enum "AND" or "OR"
-
size
public int size()- Returns:
- Number of filter entries
-
iterator
Iterator which can be used to read the filter or remove them using Iterator.remove().- Specified by:
iterator
in interfaceIterable<OutputFilter.Entry>
- Returns:
- Iteraotr over
OutputFilter.Entry
.
-
add
Adds a new filter definition.- Parameters:
filterEntry
- Filter
-
removeAllFilters
public void removeAllFilters()Removes all existing filters. -
setOperator
Sets the operator which is used to combine the filter in this object. Possible values are: AND, OR.- Parameters:
operator
- Enum "AND" or "OR"
-
isExecutable
public boolean isExecutable()Description copied from class:UC4Object
Returnstrue
if this Object can be executed.- Specified by:
isExecutable
in classUC4Object
- Returns:
- true if the Object can be executed, false if not.
-