|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperatorUsageValidator
Performs global validation about where it is appropriate to use an Operator
.
This does checks to see that list operators are not used with non-lists and vice-versa.
Method Summary | |
---|---|
boolean |
check(com.opensymphony.user.User searcher,
TerminalClause clause)
Check the usage of the Operator and Operand that are held in the clause. |
MessageSet |
validate(com.opensymphony.user.User searcher,
TerminalClause clause)
Validate the usage of the Operator and Operand that are held in the clause. |
Method Detail |
---|
MessageSet validate(com.opensymphony.user.User searcher, TerminalClause clause)
searcher
- the user performing the validation, used to get i18n information.clause
- the clause that contains the Operator and Operand.
boolean check(com.opensymphony.user.User searcher, TerminalClause clause)
searcher
- the user performing the validation, used to get i18n information.clause
- the clause that contains the Operator and Operand.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |