com.vinculumtech.platform.root.persistence
Class InMemoryCollectionFinder

java.lang.Object
  extended bycom.vinculumtech.platform.root.persistence.InMemoryFinder
      extended bycom.vinculumtech.platform.root.persistence.InMemoryCollectionFinder
All Implemented Interfaces:
PersistenceCollectionFinder
Direct Known Subclasses:
OGNLCollectionFinder

public class InMemoryCollectionFinder
extends InMemoryFinder
implements PersistenceCollectionFinder

Version:
$Id: //depot/carrierwave/src/server/com/vinculumtech/platform/root/persistence/InMemoryCollectionFinder.java#11 $

Constructor Summary
InMemoryCollectionFinder()
           
InMemoryCollectionFinder(java.lang.Class imageableType)
           
InMemoryCollectionFinder(java.lang.Class imageableType, boolean excludeSubClasses)
           
InMemoryCollectionFinder(java.lang.Class imageableType, boolean excludeSubClasses, java.lang.String query)
           
InMemoryCollectionFinder(java.lang.Class imageableType, java.lang.String query)
           
 
Method Summary
protected  java.util.List applyQuery(java.util.List roots)
           
 java.util.List findCollection(PersistenceSession persistenceSession)
           
protected  java.lang.String makeQuery()
          need to look for way to have ognl return first found or all found
 
Methods inherited from class com.vinculumtech.platform.root.persistence.InMemoryFinder
findAllForType, getImageableType, getParameters, getParsedQuery, getQuery, getResolvedParameters, hasParameters, isExcludeSubClasses, queryValue, setExcludeSubClasses, setImageableType, setParameters, setQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryCollectionFinder

public InMemoryCollectionFinder()

InMemoryCollectionFinder

public InMemoryCollectionFinder(java.lang.Class imageableType)

InMemoryCollectionFinder

public InMemoryCollectionFinder(java.lang.Class imageableType,
                                java.lang.String query)

InMemoryCollectionFinder

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

InMemoryCollectionFinder

public InMemoryCollectionFinder(java.lang.Class imageableType,
                                boolean excludeSubClasses,
                                java.lang.String query)
Method Detail

findCollection

public java.util.List findCollection(PersistenceSession persistenceSession)
Specified by:
findCollection in interface PersistenceCollectionFinder

applyQuery

protected java.util.List applyQuery(java.util.List roots)

makeQuery

protected java.lang.String makeQuery()
Description copied from class: InMemoryFinder
need to look for way to have ognl return first found or all found

Specified by:
makeQuery in class InMemoryFinder
Returns:


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