Class StringWildcardExpression
- java.lang.Object
 - 
- org.ametys.plugins.repository.query.expression.StringWildcardExpression
 
 
- 
- All Implemented Interfaces:
 Expression
@Deprecated public class StringWildcardExpression extends Object implements Expression
Deprecated.useStringExpressioninstead.Constructs anExpressioncorresponding to the wildcard comparison with a metadata, meaning that theExpressionwill search metadata containing the specified value. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.query.expression.Expression
Expression.Operator 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description private boolean_caseInsensitiveDeprecated.private MetadataExpression_metadataDeprecated.private String_valueDeprecated. 
- 
Constructor Summary
Constructors Constructor Description StringWildcardExpression(String metadata, String value, boolean caseInsensitive)Deprecated.Creates the comparison Expression.StringWildcardExpression(String metadata, String value, boolean caseInsensitive, boolean unversioned)Deprecated.Creates the comparison Expression. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private String_escapeValue(String value)Deprecated.Stringbuild()Deprecated.Build the expression. 
 - 
 
- 
- 
Field Detail
- 
_metadata
private MetadataExpression _metadata
Deprecated. 
- 
_caseInsensitive
private boolean _caseInsensitive
Deprecated. 
 - 
 
- 
Constructor Detail
- 
StringWildcardExpression
public StringWildcardExpression(String metadata, String value, boolean caseInsensitive)
Deprecated.Creates the comparison Expression.- Parameters:
 metadata- the metadata name.value- the String value.caseInsensitive-trueif the search must be case insensitive.
 
- 
StringWildcardExpression
public StringWildcardExpression(String metadata, String value, boolean caseInsensitive, boolean unversioned)
Deprecated.Creates the comparison Expression.- Parameters:
 metadata- the metadata name.value- the String value.caseInsensitive-trueif the search must be case insensitive.unversioned- true if the metadata is unversioned, false otherwise.
 
 - 
 
- 
Method Detail
- 
build
public String build()
Deprecated.Description copied from interface:ExpressionBuild the expression.- Specified by:
 buildin interfaceExpression- Returns:
 - The XPath view of the expression.
 
 
- 
_escapeValue
private String _escapeValue(String value)
Deprecated. 
 - 
 
 -