com.vinculumtech.platform.root.vendor.jdo
Class JDOFinder

java.lang.Object
  extended bycom.vinculumtech.platform.root.vendor.jdo.JDOFinder
Direct Known Subclasses:
JDOPersistenceCollectionFinder, JDOPersistenceObjectFinder

public abstract class JDOFinder
extends java.lang.Object

This is a non Imageable implementation of a JDO query/finder object. See JDOObjectFinder or JDOCollectionFinder for a very generic Imageable finder implementation.

Note that those finders expose all the JDO Query object configuration properties via the @image javadoc tags. It is expected that optimized Imageable finders will encapsulate these options.

Version:
$Id: //depot/carrierwave/src/vendor/com/vinculumtech/platform/root/vendor/jdo/JDOFinder.java#2 $

Constructor Summary
JDOFinder()
           
JDOFinder(java.lang.Class imageableType)
           
JDOFinder(java.lang.Class imageableType, boolean excludeSubClasses)
           
JDOFinder(java.lang.Class imageableType, boolean excludeSubClasses, java.lang.String filter)
           
JDOFinder(java.lang.Class imageableType, java.lang.String filter)
           
 
Method Summary
protected  java.util.Collection applyQuery(PersistenceSession persistenceSession)
           
protected  java.util.List findAllForType(PersistenceSession persistenceSession)
           
 java.lang.String getFilter()
           
 java.lang.Class getImageableType()
           
 java.lang.String getImportDeclaration()
           
 java.lang.String getParameterDeclaration()
           
 java.util.List getParameterList()
           
 java.util.Map getParameterMap()
           
 java.lang.String getVariableDeclaration()
           
 boolean hasParameterList()
           
 boolean hasParameterMap()
           
 boolean isExcludeSubClasses()
           
protected  void prepareParameters()
          Should be overidden by subclasses so that named parameters can be added to the paramter list or map.
protected  void resolveParameterList()
           
protected  void resolveParameterMap()
           
 void setExcludeSubClasses(boolean excludeSubClasses)
           
 void setFilter(java.lang.String filter)
           
 void setImageableType(java.lang.Class imageableType)
           
 void setImportDeclaration(java.lang.String importDeclaration)
           
 void setParameterDeclaration(java.lang.String parameterDeclaration)
           
 void setParameterList(java.util.List parameterList)
           
 void setParameterMap(java.util.Map parameterMap)
           
 void setVariableDeclaration(java.lang.String variableDeclaration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOFinder

public JDOFinder()

JDOFinder

public JDOFinder(java.lang.Class imageableType)

JDOFinder

public JDOFinder(java.lang.Class imageableType,
                 java.lang.String filter)

JDOFinder

public JDOFinder(java.lang.Class imageableType,
                 boolean excludeSubClasses)

JDOFinder

public JDOFinder(java.lang.Class imageableType,
                 boolean excludeSubClasses,
                 java.lang.String filter)
Method Detail

isExcludeSubClasses

public boolean isExcludeSubClasses()

setExcludeSubClasses

public void setExcludeSubClasses(boolean excludeSubClasses)

getImageableType

public java.lang.Class getImageableType()

setImageableType

public void setImageableType(java.lang.Class imageableType)

getFilter

public java.lang.String getFilter()

setFilter

public void setFilter(java.lang.String filter)

getImportDeclaration

public java.lang.String getImportDeclaration()

setImportDeclaration

public void setImportDeclaration(java.lang.String importDeclaration)

getVariableDeclaration

public java.lang.String getVariableDeclaration()

setVariableDeclaration

public void setVariableDeclaration(java.lang.String variableDeclaration)

getParameterDeclaration

public java.lang.String getParameterDeclaration()

setParameterDeclaration

public void setParameterDeclaration(java.lang.String parameterDeclaration)

hasParameterList

public boolean hasParameterList()

getParameterList

public java.util.List getParameterList()

setParameterList

public void setParameterList(java.util.List parameterList)

hasParameterMap

public boolean hasParameterMap()

getParameterMap

public java.util.Map getParameterMap()

setParameterMap

public void setParameterMap(java.util.Map parameterMap)

resolveParameterList

protected void resolveParameterList()

resolveParameterMap

protected void resolveParameterMap()

prepareParameters

protected void prepareParameters()
Should be overidden by subclasses so that named parameters can be added to the paramter list or map.


applyQuery

protected java.util.Collection applyQuery(PersistenceSession persistenceSession)

findAllForType

protected java.util.List findAllForType(PersistenceSession persistenceSession)


Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.