Class UserExpression.UserLoginExpression
- java.lang.Object
-
- org.ametys.plugins.repository.query.expression.UserExpression.UserLoginExpression
-
- All Implemented Interfaces:
Expression
- Enclosing class:
- UserExpression
class UserExpression.UserLoginExpression extends Object implements Expression
Internal class to create a expression based on a user's login comparison
-
-
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 String
_uleMetadata
private Expression.Operator
_uleOperator
private String
_ulePath
private boolean
_uleUnversioned
private String
_uleValue
-
Constructor Summary
Constructors Constructor Description UserLoginExpression(String metadata, Expression.Operator operator, String value, boolean unversioned)
Construction an expression to test a user login
-
-
-
Field Detail
-
_uleOperator
private Expression.Operator _uleOperator
-
_uleMetadata
private String _uleMetadata
-
_uleUnversioned
private boolean _uleUnversioned
-
-
Constructor Detail
-
UserLoginExpression
public UserLoginExpression(String metadata, Expression.Operator operator, String value, boolean unversioned)
Construction an expression to test a user login- Parameters:
metadata
- The path to metadataoperator
- The operatorvalue
- The login valueunversioned
- unversioned true if the metadata is unversioned, false otherwise.
-
-
Method Detail
-
build
public String build()
Description copied from interface:Expression
Build the expression.- Specified by:
build
in interfaceExpression
- Returns:
- The XPath view of the expression.
-
-