Package wt.structfilter.rule.attribute
Class AttributeStructFilterDelegate
java.lang.Object
wt.filter.AbstractNavigationFilterDelegate2
wt.structfilter.rule.attribute.AttributeStructFilterDelegate
- All Implemented Interfaces:
wt.alternaterep.AlternateRepRuleDelegate,NavigationFilterDelegate2
public class AttributeStructFilterDelegate
extends wt.filter.AbstractNavigationFilterDelegate2
implements NavigationFilterDelegate2, wt.alternaterep.AlternateRepRuleDelegate
Filters objects based on attribute comparisons (equal to, less than, greater than, etc.).
Parts where the comparison evaluated to 'true' are shown (filtered in),
but where the comparison evaluated to 'true' are not shown (filtered out).
Also includes methods for conversion of a AttributeStructFilter to and from JSON
and to construct a FilterCache (actually an AttributeFilterCache).
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from interface wt.filter.NavigationFilterDelegate2
TYPE_KEY -
Method Summary
Modifier and TypeMethodDescriptiongetFilterFromJSON(String jsonString) Constructs a navigation filter from a JSON string representation.saveInDB(NavigationFilter2 navFilter) Saves a navigation filter and any of its related persistent objects in the database.updateFilterFromJSON(NavigationFilter2 navFilter, String jsonString) Updates a navigation filter from a JSON string representation.Methods inherited from class wt.filter.AbstractNavigationFilterDelegate2
getLookAheadNodes, getRequiredCollectionModifiers, isEquivalentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface wt.filter.NavigationFilterDelegate2
getFilterFromJSON, getLookAheadNodes, getRequiredCollectionModifiers, getRequiredCollectionModifiers, isEquivalent, updateFilterFromJSON
-
Method Details
-
getFilterFromJSON
Constructs a navigation filter from a JSON string representation.
Supported API: true- Specified by:
getFilterFromJSONin interfaceNavigationFilterDelegate2- Parameters:
jsonString- - JSON string representation. JSON format is similar to the one shown in getJSONFromFilter method.json-- Returns:
- String
- Throws:
WTException
-