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

java.lang.Object
  extended byorg.outerj.daisy.query.model.Identifier.AbstractNonAclIdentifier
All Implemented Interfaces:
org.outerj.daisy.query.model.Identifier.DelegateIdentifier
Direct Known Subclasses:
Identifier.AbstractLoginIdentifier, Identifier.CollectionsValueCountIdentifier, Identifier.CreationTimeIdentifier, Identifier.CustomFieldIdentifier, Identifier.DocumentNameIdentifier, Identifier.FieldValueCountIdentifier, Identifier.LastModifiedIdentifier, Identifier.LastModifierIdIdentifier, Identifier.LockDurationIdentifier, Identifier.LockOwnerIdIdentifier, Identifier.LockTimeAcquiredIdentifier, Identifier.LockTypeIdentifier, Identifier.OwnerIdIdentifier, Identifier.PartMimeTypeIdentifier, Identifier.PartSizeIdentifier, Identifier.PrivateIdentifier, Identifier.RetiredIdentifier, Identifier.TotalSizeOfPartsIdentifier, Identifier.VariantLastModifiedIdentifier, Identifier.VariantLastModifierIdIdentifier, Identifier.VersionCreationTimeIdentifier, Identifier.VersionCreatorIdIdentifier, Identifier.VersionIdIdentifier, Identifier.VersionStateIdentifier, Identifier.VersionStateLastModifiedIdentifier
Enclosing class:
Identifier

public abstract class Identifier.AbstractNonAclIdentifier
extends java.lang.Object
implements org.outerj.daisy.query.model.Identifier.DelegateIdentifier


Constructor Summary
Identifier.AbstractNonAclIdentifier()
           
 
Method Summary
 int bindSql(java.sql.PreparedStatement stmt, int bindPos)
           
 boolean canTestappliesTo()
           
 void convertLiteral(Literal literal)
           
 void generateSql(java.lang.StringBuffer sql, SqlGenerationContext context)
           
 java.lang.Object getAppliesToValue(long documentType, long collection)
           
 java.lang.String getName()
           
 java.lang.Object getOutputValue(org.outerj.daisy.repository.Document document, org.outerj.daisy.repository.Version version)
           
 OutputValueType getOutputValueType()
           
 java.lang.String getTitle(java.util.Locale locale)
           
 java.lang.Object getValue(org.outerj.daisy.repository.Document document)
           
 Identifier getValueCountIdentifier()
           
 org.outerj.daisy.repository.ValueType getValueType()
           
 AclConditionViolation isAclAllowed()
           
 boolean isMultiValue()
           
 boolean isOutputOnly()
           
 boolean isSymbolic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Identifier.AbstractNonAclIdentifier

public Identifier.AbstractNonAclIdentifier()
Method Detail

isAclAllowed

public AclConditionViolation isAclAllowed()
Specified by:
isAclAllowed in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

isMultiValue

public boolean isMultiValue()
Specified by:
isMultiValue in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

getValueCountIdentifier

public Identifier getValueCountIdentifier()
Specified by:
getValueCountIdentifier in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

canTestappliesTo

public boolean canTestappliesTo()
Specified by:
canTestappliesTo in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

getAppliesToValue

public java.lang.Object getAppliesToValue(long documentType,
                                          long collection)
Specified by:
getAppliesToValue in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

bindSql

public int bindSql(java.sql.PreparedStatement stmt,
                   int bindPos)
            throws java.sql.SQLException
Specified by:
bindSql in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier
Throws:
java.sql.SQLException

isSymbolic

public boolean isSymbolic()
Specified by:
isSymbolic in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

convertLiteral

public void convertLiteral(Literal literal)
                    throws QueryException
Specified by:
convertLiteral in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier
Throws:
QueryException

isOutputOnly

public boolean isOutputOnly()
Specified by:
isOutputOnly in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

getTitle

public java.lang.String getTitle(java.util.Locale locale)
Specified by:
getTitle in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

getValueType

public org.outerj.daisy.repository.ValueType getValueType()

getValue

public java.lang.Object getValue(org.outerj.daisy.repository.Document document)

generateSql

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

getOutputValueType

public OutputValueType 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 © -2005 . All Rights Reserved.