com.vinculumtech.carrierwave.finder.ognl
Class OGNLObjectFinder
java.lang.Object
com.vinculumtech.platform.root.persistence.InMemoryFinder
com.vinculumtech.platform.root.persistence.InMemoryObjectFinder
com.vinculumtech.carrierwave.finder.ognl.OGNLObjectFinder
- All Implemented Interfaces:
- Imageable, ImageableFinder, ImageableObjectFinder, ImageableTransient, PersistenceObjectFinder
- public final class OGNLObjectFinder
- extends InMemoryObjectFinder
- implements ImageableObjectFinder, ImageableTransient
The OGNLObjectFinder is a ImageableObjectFinder
that uses the
OGNL library to navigate and query Imageable
object instances.
For example, to find an 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/OGNLObjectFinder.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 |
OGNLObjectFinder
public OGNLObjectFinder()
OGNLObjectFinder
public OGNLObjectFinder(java.lang.Class imageableType)
- Parameters:
imageableType
-
OGNLObjectFinder
public OGNLObjectFinder(java.lang.Class imageableType,
java.lang.String query)
- Parameters:
imageableType
- query
-
OGNLObjectFinder
public OGNLObjectFinder(java.lang.Class imageableType,
boolean excludeSubClasses)
- Parameters:
imageableType
- excludeSubClasses
-
OGNLObjectFinder
public OGNLObjectFinder(java.lang.Class imageableType,
boolean excludeSubClasses,
java.lang.String query)
- Parameters:
imageableType
- excludeSubClasses
- query
-
OGNLObjectFinder
public OGNLObjectFinder(java.lang.String imageType)
OGNLObjectFinder
public OGNLObjectFinder(java.lang.String imageType,
java.lang.String query)
OGNLObjectFinder
public OGNLObjectFinder(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.