Package org.sharengo.wikitty.search

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 (=, !
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", ... ) RestrictionHelper.contains( myElement , a_list_containing_at_least_one_string )
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.
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", ... ) RestrictionHelper.contains( myElement , a_list_containing_at_least_one_string )
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 !
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, ...).
RestrictionHelper  
Search Helper to create a criteria with a restriction Element : .
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  
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.
Search.KIND  
SearchOperand Represents the possible operands for client search.
 



Copyright © 2009-2010 CodeLutin. All Rights Reserved.