Package org.nuiton.wikitty.search.operators

Class Summary
And And operator is used to build conjunctive restriction for request on content.
AssociatedRestriction  
Between Between operator is used to build restriction containing "min < element < max" where element could be a Integer, a Float or a Date.
BinaryOperator This class is an abstract class that's used to factor each operator that handle two parameters (=, !=, <, <=, >, >=, end, begin).
Contains Contains operator is used to build restriction containing "(element like *value1 or element like value1*) and (element like *value2 or element like value2*)" where element could be a String, a multimedia, a text or an xhtml

For example, use: RestrictionHelper.contains( myElement , "value1" ) RestrictionHelper.contains( myElement , "value1", "value2", ...
Element Search on field.
EndsWith EndsWith operator is used to build restriction containing "element like *value" where element could be a String, a multimedia, a text or an xhtml

For example, use: RestrictionHelper.end( myElement , "value" )
Equals Equals operator is used to build restriction containing "element == value" where element could be an Id, a String, a multimedia, a closed list, an Integer, a Float or a Date.
False User: couteau Date: 08/04/11
Greater Greater operator is used to build restriction containing "element > value" where element could be a Integer, a Float or a Date.
GreaterOrEqual GreatOrEqual operator is used to build restriction containing "element >= value" where element could be a Integer, a Float or a Date.
In Contains operator is used to build restriction containing "(element like *value1 or element like value1*) and (element like *value2 or element like value2*)" where element could be a String, a multimedia, a text or an xhtml

For example, use: RestrictionHelper.contains( myElement , "value1" ) RestrictionHelper.contains( myElement , "value1", "value2", ...
Keyword Search keyword in all wikitty.
Less Less operator is used to build restriction containing "element < value" where element could be a Integer, a Float or a Date.
LessOrEqual LessOrEqual operator is used to build restriction containing "element <= value" where element could be a Integer, a Float or a Date.
Like Like is use on String field type, to precise some particularity on search.
Not Not operator is used to build negative restriction for request on content.
NotEquals NotEquals operator is used to build restriction containing "element != value" where element could be an Id, a String, a multimedia, a closed list, an Integer, a Float or a Date.
Null Is null or is not null restriction
Or Or operator is used to build disjunctive restriction for request on content.
Restriction This element is a symbolic interface implemented by all operators used to request contents (And, Or, Not, Equals, NotEquals, EndsWith, ...).
StartsWith StartsWith operator is used to build restriction containing "element like value*" where element could be a String, a multimedia, a text or an xhtml

For example, use: RestrictionHelper.start( myElement , "value" )
SubSearch  
True User: couteau Date: 08/04/11
Unlike UnLike is use on String field type, to precise some particularity on search (case insensitive for example).
 

Enum Summary
Element.ElementType Represent type to search an element
Like.SearchAs  
RestrictionName This enum contains all kind of restriction used to request content.
SearchOperand Deprecated. ne semble pas utilise, interet ???
 



Copyright © 2009-2011 CodeLutin. All Rights Reserved.