com.vinculumtech.platform.root.persistence
Class InMemoryObjectFinder
java.lang.Object
com.vinculumtech.platform.root.persistence.InMemoryFinder
com.vinculumtech.platform.root.persistence.InMemoryObjectFinder
- All Implemented Interfaces:
- PersistenceObjectFinder
- Direct Known Subclasses:
- OGNLObjectFinder
- public class InMemoryObjectFinder
- extends InMemoryFinder
- implements PersistenceObjectFinder
- Version:
- $Id: //depot/carrierwave/src/server/com/vinculumtech/platform/root/persistence/InMemoryObjectFinder.java#10 $
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 |
InMemoryObjectFinder
public InMemoryObjectFinder()
InMemoryObjectFinder
public InMemoryObjectFinder(java.lang.Class imageableType)
InMemoryObjectFinder
public InMemoryObjectFinder(java.lang.Class imageableType,
java.lang.String query)
InMemoryObjectFinder
public InMemoryObjectFinder(java.lang.Class imageableType,
boolean excludeSubClasses)
InMemoryObjectFinder
public InMemoryObjectFinder(java.lang.Class imageableType,
boolean excludeSubClasses,
java.lang.String query)
findObject
public java.lang.Object findObject(PersistenceSession persistenceSession)
- Specified by:
findObject
in interface PersistenceObjectFinder
applyQuery
protected java.util.List applyQuery(java.util.List roots)
getFirstOrNull
public java.lang.Object getFirstOrNull(java.util.List list)
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.