Class FullTextFilterImpl
- java.lang.Object
-
- com.evolveum.midpoint.prism.AbstractFreezable
-
- com.evolveum.midpoint.prism.impl.query.ObjectFilterImpl
-
- com.evolveum.midpoint.prism.impl.query.FullTextFilterImpl
-
- All Implemented Interfaces:
Freezable
,PrismContextSensitive
,FullTextFilter
,ObjectFilter
,Revivable
,DebugDumpable
,Serializable
public final class FullTextFilterImpl extends ObjectFilterImpl implements FullTextFilter
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkConsistence(boolean requireDefinitions)
FullTextFilterImpl
clone()
Does a SHALLOW clone.static FullTextFilter
createFullText(@NotNull ExpressionWrapper expression)
static FullTextFilter
createFullText(String... values)
static FullTextFilter
createFullText(Collection<String> values)
String
debugDump(int indent)
boolean
equals(Object o)
boolean
equals(Object o, boolean exact)
ExpressionWrapper
getExpression()
Collection<String>
getValues()
int
hashCode()
boolean
match(PrismContainerValue<?> value, MatchingRuleRegistry matchingRuleRegistry)
protected void
performFreeze()
void
setExpression(ExpressionWrapper expression)
void
setValues(Collection<String> values)
String
toString()
-
Methods inherited from class com.evolveum.midpoint.prism.impl.query.ObjectFilterImpl
accept, getPrismContext, revive, setPrismContext
-
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.query.FullTextFilter
matchesOnly
-
Methods inherited from interface com.evolveum.midpoint.prism.query.ObjectFilter
accept, revive
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
-
-
-
Method Detail
-
createFullText
public static FullTextFilter createFullText(Collection<String> values)
-
createFullText
public static FullTextFilter createFullText(String... values)
-
createFullText
public static FullTextFilter createFullText(@NotNull @NotNull ExpressionWrapper expression)
-
getValues
public Collection<String> getValues()
- Specified by:
getValues
in interfaceFullTextFilter
-
setValues
public void setValues(Collection<String> values)
- Specified by:
setValues
in interfaceFullTextFilter
-
getExpression
public ExpressionWrapper getExpression()
- Specified by:
getExpression
in interfaceFullTextFilter
-
setExpression
public void setExpression(ExpressionWrapper expression)
- Specified by:
setExpression
in interfaceFullTextFilter
-
performFreeze
protected void performFreeze()
- Specified by:
performFreeze
in classObjectFilterImpl
-
checkConsistence
public void checkConsistence(boolean requireDefinitions)
- Specified by:
checkConsistence
in interfaceObjectFilter
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
clone
public FullTextFilterImpl clone()
Description copied from interface:ObjectFilter
Does a SHALLOW clone.- Specified by:
clone
in interfaceFullTextFilter
- Specified by:
clone
in interfaceObjectFilter
- Specified by:
clone
in classObjectFilterImpl
-
match
public boolean match(PrismContainerValue<?> value, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException
- Specified by:
match
in interfaceObjectFilter
- Throws:
SchemaException
-
equals
public boolean equals(Object o, boolean exact)
- Specified by:
equals
in interfaceObjectFilter
-
-