|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Restriction | |
|---|---|
| org.nuiton.wikitty.search | |
| org.nuiton.wikitty.search.operators | |
| org.nuiton.wikitty.storage | |
| Uses of Restriction in org.nuiton.wikitty.search |
|---|
| Fields in org.nuiton.wikitty.search declared as Restriction | |
|---|---|
protected Restriction |
Criteria.restriction
All restriction on fields. |
| Fields in org.nuiton.wikitty.search with type parameters of type Restriction | |
|---|---|
protected List<Restriction> |
Search.restrictions
|
| Methods in org.nuiton.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,
List<String> values)
|
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 |
Criteria.getRestriction()
|
protected Restriction |
Search.getRestrictions()
|
static Restriction |
RestrictionHelper.great(Element element,
String value)
|
static Restriction |
RestrictionHelper.greatEq(Element element,
String value)
|
static Restriction |
RestrictionHelper.in(Element element,
List<String> values)
|
static Restriction |
RestrictionHelper.in(Element element,
String value1,
String... otherValues)
|
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.start(Element element,
String value)
|
static Restriction |
RestrictionHelper.unlike(Element element,
String value,
Like.SearchAs searchAs)
|
| Methods in org.nuiton.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 |
Criteria.setRestriction(Restriction restriction)
|
| Method parameters in org.nuiton.wikitty.search with type arguments of type Restriction | |
|---|---|
static And |
RestrictionHelper.and(List<Restriction> restrictions)
|
static Or |
RestrictionHelper.or(List<Restriction> restrictions)
|
| Uses of Restriction in org.nuiton.wikitty.search.operators |
|---|
| Subclasses of Restriction in org.nuiton.wikitty.search.operators | |
|---|---|
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 (=, !=, <, <=, >, >=, end, begin). |
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", ... |
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 |
False
User: couteau Date: 08/04/11 |
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", ... |
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 != value" where element could be an Id, a String, a multimedia, a closed list, an Integer, a Float or a Date. |
class |
Null
Is null or is not null restriction |
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 |
True
User: couteau Date: 08/04/11 |
class |
Unlike
UnLike is use on String field type, to precise some particularity on search (case insensitive for example). |
| Fields in org.nuiton.wikitty.search.operators declared as Restriction | |
|---|---|
protected Restriction |
Not.restriction
|
| Fields in org.nuiton.wikitty.search.operators with type parameters of type Restriction | |
|---|---|
protected List<Restriction> |
And.restrictions
|
protected List<Restriction> |
Or.restrictions
|
| Methods in org.nuiton.wikitty.search.operators that return Restriction | |
|---|---|
Restriction |
AssociatedRestriction.getParentRestrictionDto()
|
Restriction |
AssociatedRestriction.getRestriction()
|
Restriction |
Not.getRestriction()
Return restriction |
protected Restriction |
SubSearch.getRestrictions()
|
| Methods in org.nuiton.wikitty.search.operators that return types with arguments of type Restriction | |
|---|---|
List<Restriction> |
And.getRestrictions()
Return restrictions |
List<Restriction> |
Or.getRestrictions()
Return restrictions |
| Methods in org.nuiton.wikitty.search.operators with parameters of type Restriction | |
|---|---|
void |
Not.setRestriction(Restriction restriction)
Set a value to parameter restriction. |
| Method parameters in org.nuiton.wikitty.search.operators with type arguments of type Restriction | |
|---|---|
void |
And.setRestrictions(List<Restriction> restrictions)
Set a value to parameter restrictions. |
void |
Or.setRestrictions(List<Restriction> restrictions)
Set a value to parameter restrictions. |
| Constructors in org.nuiton.wikitty.search.operators with parameters of type Restriction | |
|---|---|
AssociatedRestriction(Restriction parentRestriction,
Restriction embededRestriction,
Element element)
|
|
Not(Restriction restriction)
Constructor with all parameters initialized |
|
| Constructor parameters in org.nuiton.wikitty.search.operators with type arguments of type Restriction | |
|---|---|
And(List<Restriction> restrictions)
Constructor with all parameters initialized |
|
Or(List<Restriction> restrictions)
Constructor with all parameters initialized |
|
| Uses of Restriction in org.nuiton.wikitty.storage |
|---|
| Methods in org.nuiton.wikitty.storage with parameters of type Restriction | |
|---|---|
boolean |
WikittySearchEngineInMemory.checkRestriction(WikittyTransaction transaction,
Restriction restriction,
Wikitty w)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||