Uses of Class
org.sharengo.wikitty.search.Restriction

Packages that use Restriction
org.sharengo.wikitty   
org.sharengo.wikitty.search   
 

Uses of Restriction in org.sharengo.wikitty
 

Methods in org.sharengo.wikitty that return Restriction
 Restriction Criteria.getRestriction()
           
 

Methods in org.sharengo.wikitty with parameters of type Restriction
 boolean WikittyServiceInMemory.WikittySearchEnginInMemory.checkRestriction(Restriction restriction, Wikitty w)
           
 void Criteria.setRestriction(Restriction restriction)
           
 

Uses of Restriction in org.sharengo.wikitty.search
 

Subclasses of Restriction in org.sharengo.wikitty.search
 class And
           And operator is used to build conjunctive restriction for request on content.
 class AssociatedRestriction
           
 class Between
           Between operator is used to build restriction containing "min < element < max" where element could be a Integer, a Float or a Date.
 class BinaryOperator
           This class is an abstract class that's used to factor each operator that handle two parameters (=, !
 class 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 )
 class 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" )
 class 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.
 class Greater
           Greater operator is used to build restriction containing "element > value" where element could be a Integer, a Float or a Date.
 class GreaterOrEqual
           GreatOrEqual operator is used to build restriction containing "element >= value" where element could be a Integer, a Float or a Date.
 class 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 )
 class Keyword
          Search keyword in all wikitty
 class Less
           Less operator is used to build restriction containing "element < value" where element could be a Integer, a Float or a Date.
 class LessOrEqual
           LessOrEqual operator is used to build restriction containing "element <= value" where element could be a Integer, a Float or a Date.
 class Like
          Like is use on String field type, to precise some particularity on search.
 class Not
           Not operator is used to build negative restriction for request on content.
 class NotEquals
           NotEquals operator is used to build restriction containing "element !
 class Or
           Or operator is used to build disjunctive restriction for request on content.
 class 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" )
 class Unlike
          UnLike is use on String field type, to precise some particularity on search (case insensitive for example).
 

Fields in org.sharengo.wikitty.search declared as Restriction
protected  Restriction Not.restriction
           
 

Fields in org.sharengo.wikitty.search with type parameters of type Restriction
protected  List<Restriction> Or.restrictions
           
protected  List<Restriction> And.restrictions
           
 

Methods in org.sharengo.wikitty.search that return Restriction
static Restriction RestrictionHelper.and(Restriction restriction1, Restriction restriction2, Restriction... otherRestrictions)
           
static Restriction RestrictionHelper.between(Element element, String min, String max)
           
static Restriction RestrictionHelper.contains(Element element, String value1, String... otherValues)
           
static Restriction RestrictionHelper.end(Element element, String value)
           
static Restriction RestrictionHelper.eq(Element element, String value)
           
 Restriction AssociatedRestriction.getParentRestrictionDto()
           
 Restriction AssociatedRestriction.getRestriction()
           
 Restriction Not.getRestriction()
          Return restriction
protected  Restriction SubSearch.getRestrictions()
           
protected  Restriction Search.getRestrictions()
           
static Restriction RestrictionHelper.great(Element element, String value)
           
static Restriction RestrictionHelper.greatEq(Element element, String value)
           
static Restriction RestrictionHelper.less(Element element, String value)
           
static Restriction RestrictionHelper.lessEq(Element element, String value)
           
static Restriction RestrictionHelper.like(Element element, String value, Like.SearchAs searchAs)
           
static Restriction RestrictionHelper.neq(Element element, String value)
           
static Restriction RestrictionHelper.not(Restriction restriction)
           
static Restriction RestrictionHelper.rFalse()
           
static Restriction RestrictionHelper.rTrue()
           
static Restriction RestrictionHelper.start(Element element, String value)
           
static Restriction RestrictionHelper.unlike(Element element, String value, Like.SearchAs searchAs)
           
 

Methods in org.sharengo.wikitty.search that return types with arguments of type Restriction
 List<Restriction> Or.getRestrictions()
          Return restrictions
 List<Restriction> And.getRestrictions()
          Return restrictions
 

Methods in org.sharengo.wikitty.search with parameters of type Restriction
static Restriction RestrictionHelper.and(Restriction restriction1, Restriction restriction2, Restriction... otherRestrictions)
           
static Restriction RestrictionHelper.and(Restriction restriction1, Restriction restriction2, Restriction... otherRestrictions)
           
static Restriction RestrictionHelper.not(Restriction restriction)
           
static Or RestrictionHelper.or(Restriction restriction1, Restriction restriction2, Restriction... otherRestrictions)
           
static Or RestrictionHelper.or(Restriction restriction1, Restriction restriction2, Restriction... otherRestrictions)
           
 void Not.setRestriction(Restriction restriction)
          Set a value to parameter restriction.
 

Method parameters in org.sharengo.wikitty.search with type arguments of type Restriction
static And RestrictionHelper.and(List<Restriction> restrictions)
           
static Or RestrictionHelper.or(List<Restriction> restrictions)
           
 void Or.setRestrictions(List<Restriction> restrictions)
          Set a value to parameter restrictions.
 void And.setRestrictions(List<Restriction> restrictions)
          Set a value to parameter restrictions.
 

Constructors in org.sharengo.wikitty.search with parameters of type Restriction
AssociatedRestriction(Restriction parentRestriction, Restriction embededRestriction, Element element)
           
Not(Restriction restriction)
          Constructor with all parameters initialized
 

Constructor parameters in org.sharengo.wikitty.search with type arguments of type Restriction
And(List<Restriction> restrictions)
          Constructor with all parameters initialized
Or(List<Restriction> restrictions)
          Constructor with all parameters initialized
 



Copyright © 2009-2010 CodeLutin. All Rights Reserved.