|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.outerj.daisy.query.model.AbstractPredicateExpr
org.outerj.daisy.query.model.IsLinked
public class IsLinked
| Constructor Summary | |
|---|---|
IsLinked(boolean linked)
|
|
| Method Summary | |
|---|---|
Tristate |
appliesTo(org.outerj.daisy.repository.Document document)
Checks if this conditionl expression could evaluate to true for a document, without really knowing everything about the document. |
int |
bindSql(java.sql.PreparedStatement stmt,
int bindPos,
org.outerj.daisy.repository.query.EvaluationContext evaluationContext)
|
boolean |
evaluate(org.outerj.daisy.repository.Document document,
org.outerj.daisy.repository.Version version,
org.outerj.daisy.repository.query.EvaluationContext evaluationContext)
Evaluates the expression for the given document and version. |
void |
generateSql(java.lang.StringBuffer sql,
SqlGenerationContext context)
|
AclConditionViolation |
isAclAllowed()
Checks if this PredicateExpr only uses stuff allowed in ACL object conditions. |
void |
prepare(QueryContext context)
Needs to be called before usage of other methods. |
| Methods inherited from class org.outerj.daisy.query.model.AbstractPredicateExpr |
|---|
getColumn, getLine, getLocation, setLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IsLinked(boolean linked)
| Method Detail |
|---|
public void prepare(QueryContext context)
throws org.outerj.daisy.repository.query.QueryException
PredicateExpr
org.outerj.daisy.repository.query.QueryException
public boolean evaluate(org.outerj.daisy.repository.Document document,
org.outerj.daisy.repository.Version version,
org.outerj.daisy.repository.query.EvaluationContext evaluationContext)
throws org.outerj.daisy.repository.query.QueryException
PredicateExpr
org.outerj.daisy.repository.query.QueryException
public void generateSql(java.lang.StringBuffer sql,
SqlGenerationContext context)
throws org.outerj.daisy.repository.query.QueryException
org.outerj.daisy.repository.query.QueryException
public int bindSql(java.sql.PreparedStatement stmt,
int bindPos,
org.outerj.daisy.repository.query.EvaluationContext evaluationContext)
throws java.sql.SQLException
bindPos - the binding position on which to bind the next value
java.sql.SQLExceptionpublic AclConditionViolation isAclAllowed()
PredicateExpr
public Tristate appliesTo(org.outerj.daisy.repository.Document document)
PredicateExprThe result can be:
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||