com.vinculumtech.carrierwave.finder.ognl
Class OGNLCollectionFinder

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

Constructor Summary
OGNLCollectionFinder()
           
OGNLCollectionFinder(java.lang.Class imageableType)
           
OGNLCollectionFinder(java.lang.Class imageableType, boolean excludeSubClasses)
           
OGNLCollectionFinder(java.lang.Class imageableType, boolean excludeSubClasses, java.lang.String query)
           
OGNLCollectionFinder(java.lang.Class imageableType, java.lang.String query)
           
OGNLCollectionFinder(java.lang.String imageType)
           
OGNLCollectionFinder(java.lang.String imageType, java.lang.String query)
           
OGNLCollectionFinder(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.InMemoryCollectionFinder
applyQuery, findCollection, 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

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)
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.