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

java.lang.Object
  extended by org.outerj.daisy.query.model.Identifier.AbstractIdentifier
      extended by org.outerj.daisy.query.model.Identifier.AbstractOutputIdentifier
Direct Known Subclasses:
Identifier.LastModifierNameIdentifier, Identifier.LockOwnerNameIdentifier, Identifier.OwnerNameIdentifier, Identifier.PartContentIdentifier, Identifier.SummaryIdentifier, Identifier.VariantLastModifierNameIdentifier, Identifier.VersionCreatorNameIdentifier
Enclosing class:
Identifier

public abstract class Identifier.AbstractOutputIdentifier
extends Identifier.AbstractIdentifier


Constructor Summary
Identifier.AbstractOutputIdentifier()
           
 
Method Summary
 int bindPreConditions(java.sql.PreparedStatement stmt, int bindPos)
           
 int bindValueExpr(java.sql.PreparedStatement stmt, int bindPos, QValueType valueType)
           
 boolean canTestappliesTo()
           
 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)
           
 QValueType getValueType()
           
 AclConditionViolation isAclAllowed()
           
 boolean isOutputOnly()
           
 
Methods inherited from class org.outerj.daisy.query.model.Identifier.AbstractIdentifier
getTitle, getValueCountIdentifier, isMultiValue, isSymbolic, translateSymbolic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Identifier.AbstractOutputIdentifier

public Identifier.AbstractOutputIdentifier()
Method Detail

isOutputOnly

public boolean isOutputOnly()
Overrides:
isOutputOnly in class Identifier.AbstractIdentifier

getValueType

public QValueType getValueType()

evaluate

public java.lang.Object evaluate(org.outerj.daisy.repository.Document document,
                                 org.outerj.daisy.repository.Version version)
                          throws org.outerj.daisy.repository.query.QueryException
Throws:
org.outerj.daisy.repository.query.QueryException

isAclAllowed

public AclConditionViolation isAclAllowed()
Overrides:
isAclAllowed in class Identifier.AbstractIdentifier

canTestappliesTo

public boolean canTestappliesTo()
Overrides:
canTestappliesTo in class Identifier.AbstractIdentifier

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)
                          throws org.outerj.daisy.repository.query.QueryException
Throws:
org.outerj.daisy.repository.query.QueryException

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

bindValueExpr

public int bindValueExpr(java.sql.PreparedStatement stmt,
                         int bindPos,
                         QValueType valueType)
                  throws java.sql.SQLException,
                         org.outerj.daisy.repository.query.QueryException
Overrides:
bindValueExpr 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()


Copyright © -2012 . All Rights Reserved.