com.vinculumtech.carrierwave.finder.ognl
Class OGNLObjectFinder

java.lang.Object
  extended bycom.vinculumtech.platform.root.persistence.InMemoryFinder
      extended bycom.vinculumtech.platform.root.persistence.InMemoryObjectFinder
          extended bycom.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 $

Constructor Summary
OGNLObjectFinder()
           
OGNLObjectFinder(java.lang.Class imageableType)
           
OGNLObjectFinder(java.lang.Class imageableType, boolean excludeSubClasses)
           
OGNLObjectFinder(java.lang.Class imageableType, boolean excludeSubClasses, java.lang.String query)
           
OGNLObjectFinder(java.lang.Class imageableType, java.lang.String query)
           
OGNLObjectFinder(java.lang.String imageType)
           
OGNLObjectFinder(java.lang.String imageType, java.lang.String query)
           
OGNLObjectFinder(java.lang.String imageType, java.lang.String query, boolean excludeSubClasses)
           
 
Method Summary
 java.lang.String getImageType()
           
 void setImageType(java.lang.String imageType)
           
 
Methods inherited from class com.vinculumtech.platform.root.persistence.InMemoryObjectFinder
applyQuery, findObject, getFirstOrNull, makeQuery
 
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

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)
Method Detail

getImageType

public java.lang.String getImageType()

setImageType

public void setImageType(java.lang.String imageType)


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