org.outerj.daisy.query.model
Class Identifier.CustomFieldIdentifier

java.lang.Object
  extended by org.outerj.daisy.query.model.Identifier.AbstractIdentifier
      extended by org.outerj.daisy.query.model.Identifier.AbstractNonAclIdentifier
          extended by org.outerj.daisy.query.model.Identifier.CustomFieldIdentifier
Enclosing class:
Identifier

public class Identifier.CustomFieldIdentifier
extends Identifier.AbstractNonAclIdentifier


Constructor Summary
Identifier.CustomFieldIdentifier(java.lang.String name)
           
 
Method Summary
 int bindPreConditions(java.sql.PreparedStatement stmt, int bindPos)
           
 java.lang.Object evaluate(org.outerj.daisy.repository.Document document, org.outerj.daisy.repository.Version version)
           
 void generateSqlValueExpr(java.lang.StringBuffer sql, SqlGenerationContext context)
           
 java.lang.String getName()
           
 java.lang.Object getOutputValue(org.outerj.daisy.repository.Document document, org.outerj.daisy.repository.Version version)
           
 QValueType getOutputValueType()
           
 java.lang.String getSqlPreConditions(SqlGenerationContext context)
           
 java.lang.String getTitle(java.util.Locale locale)
           
 QValueType getValueType()
           
 
Methods inherited from class org.outerj.daisy.query.model.Identifier.AbstractNonAclIdentifier
isAclAllowed
 
Methods inherited from class org.outerj.daisy.query.model.Identifier.AbstractIdentifier
bindValueExpr, canTestappliesTo, getValueCountIdentifier, isMultiValue, isOutputOnly, isSymbolic, translateSymbolic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Identifier.CustomFieldIdentifier

public Identifier.CustomFieldIdentifier(java.lang.String name)
Method Detail

getValueType

public QValueType getValueType()

evaluate

public java.lang.Object evaluate(org.outerj.daisy.repository.Document document,
                                 org.outerj.daisy.repository.Version version)

getSqlPreConditions

public java.lang.String getSqlPreConditions(SqlGenerationContext context)
                                     throws org.outerj.daisy.repository.query.QueryException
Overrides:
getSqlPreConditions in class Identifier.AbstractIdentifier
Throws:
org.outerj.daisy.repository.query.QueryException

generateSqlValueExpr

public void generateSqlValueExpr(java.lang.StringBuffer sql,
                                 SqlGenerationContext context)

bindPreConditions

public int bindPreConditions(java.sql.PreparedStatement stmt,
                             int bindPos)
                      throws java.sql.SQLException,
                             org.outerj.daisy.repository.query.QueryException
Overrides:
bindPreConditions in class Identifier.AbstractIdentifier
Throws:
java.sql.SQLException
org.outerj.daisy.repository.query.QueryException

getOutputValueType

public QValueType getOutputValueType()

getOutputValue

public java.lang.Object getOutputValue(org.outerj.daisy.repository.Document document,
                                       org.outerj.daisy.repository.Version version)

getName

public java.lang.String getName()

getTitle

public java.lang.String getTitle(java.util.Locale locale)
Overrides:
getTitle in class Identifier.AbstractIdentifier


Copyright © -2012 . All Rights Reserved.