com.vinculumtech.carrierwave.finder.ognl
Class OGNLCollectionFinder
java.lang.Object
com.vinculumtech.platform.root.persistence.InMemoryFinder
com.vinculumtech.platform.root.persistence.InMemoryCollectionFinder
com.vinculumtech.carrierwave.finder.ognl.OGNLCollectionFinder
- All Implemented Interfaces:
- Imageable, ImageableCollectionFinder, ImageableFinder, ImageableTransient, PersistenceCollectionFinder
- public final class OGNLCollectionFinder
- extends InMemoryCollectionFinder
- implements ImageableCollectionFinder, ImageableTransient
The OGNLCollectionFinder is a ImageableCollectionFinder
that uses the
OGNL library to navigate and query Imageable
object instances.
For example, to find all the instances of the Common
class with the name "someName",
you would call:
finder.setImageableType( Common.class );
finder.setQuery( "name == \"someName\"" );
- Version:
- $Id: //depot/carrierwave/src/vendor/com/vinculumtech/carrierwave/finder/ognl/OGNLCollectionFinder.java#5 $
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 |
OGNLCollectionFinder
public OGNLCollectionFinder()
OGNLCollectionFinder
public OGNLCollectionFinder(java.lang.Class imageableType)
- Parameters:
imageableType
-
OGNLCollectionFinder
public OGNLCollectionFinder(java.lang.Class imageableType,
java.lang.String query)
- Parameters:
imageableType
- query
-
OGNLCollectionFinder
public OGNLCollectionFinder(java.lang.Class imageableType,
boolean excludeSubClasses)
- Parameters:
imageableType
- excludeSubClasses
-
OGNLCollectionFinder
public OGNLCollectionFinder(java.lang.Class imageableType,
boolean excludeSubClasses,
java.lang.String query)
- Parameters:
imageableType
- excludeSubClasses
- query
-
OGNLCollectionFinder
public OGNLCollectionFinder(java.lang.String imageType)
OGNLCollectionFinder
public OGNLCollectionFinder(java.lang.String imageType,
java.lang.String query)
OGNLCollectionFinder
public OGNLCollectionFinder(java.lang.String imageType,
java.lang.String query,
boolean excludeSubClasses)
getImageType
public java.lang.String getImageType()
setImageType
public void setImageType(java.lang.String imageType)
Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.