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_uleMetadataprivate Expression.Operator_uleOperatorprivate String_ulePathprivate boolean_uleUnversionedprivate 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:ExpressionBuild the expression.- Specified by:
 buildin interfaceExpression- Returns:
 - The XPath view of the expression.
 
 
 - 
 
 -