Class OutputFilter

java.lang.Object
com.uc4.api.objects.UC4Object
com.uc4.api.objects.OutputFilter
All Implemented Interfaces:
Iterable<OutputFilter.Entry>

public class OutputFilter extends UC4Object implements Iterable<OutputFilter.Entry>
Output Filter.
  • Constructor Details

    • OutputFilter

      public OutputFilter()
  • Method Details

    • loadContent

      protected void loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
    • storeContent

      protected void storeContent(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo)
    • header

      public Header header()
      Returns the header data of this object. This is the information of the header tab in the dialog client.
      Returns:
      header
    • getOperator

      public OutputFilter.Operator 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

      public Iterator<OutputFilter.Entry> iterator()
      Iterator which can be used to read the filter or remove them using Iterator.remove().
      Specified by:
      iterator in interface Iterable<OutputFilter.Entry>
      Returns:
      Iteraotr over OutputFilter.Entry.
    • add

      public void add(OutputFilter.Entry filterEntry)
      Adds a new filter definition.
      Parameters:
      filterEntry - Filter
    • removeAllFilters

      public void removeAllFilters()
      Removes all existing filters.
    • setOperator

      public void setOperator(OutputFilter.Operator operator)
      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
      Returns true if this Object can be executed.
      Specified by:
      isExecutable in class UC4Object
      Returns:
      true if the Object can be executed, false if not.