com.vinculumtech.carrierwave.manager
Class Select

java.lang.Object
  extended bycom.vinculumtech.carrierwave.manager.Select

public final class Select
extends java.lang.Object

The Select class is the root of all invocations functions initiated via CarrierWave and its client API.

Version:
$Id: //depot/carrierwave/src/server/com/vinculumtech/carrierwave/manager/Select.java#57 $

Method Summary
static Icon[] findAllIconsFor(java.lang.String imageType)
          Returns an array of Icons for the Imageable objects of given imageType class name.
This method will fail if the objects found are not ImageableIdentifiable.
static Icon[] findAllIconsWith(CollectionFinder finder)
          Returns an array of Icon instances for the Imageable objects found by the given CollectionFinder.
This method will fail if the objects found are not ImageableIdentifiable.
static Icon findIconWith(ObjectFinder finder)
          Returns an Icon instance for the Imageable found by the given ObjectFinder instance.
This method will fail if the object found is not ImageableIdentifiable.
protected static java.util.List selectAllImageablesWith(CollectionFinder finder)
           
static Image[] selectAllImageGraphsWith(GraphPlan graphPlan, CollectionFinder finder)
          Returns an array of Image instances found as described by the given GraphPlan and CollectionFinder instances.
protected static Imageable selectImageableWith(ObjectFinder finder)
           
static Image selectImageGraphFor(GraphNode graphNode, Icon originIcon, boolean isFuzzy)
          Returns an Image instance representing the graph defined by the given GraphNode tree and rooted with the Imageable referenced by the given originIcon value.
static Image selectImageGraphFor(GraphNode originNode, Imageable originObject, boolean isFuzzy)
          Returns an Image instance representing the graph defined by the given GraphNode tree and rooted with the given Imageable.
static Image selectImageGraphFor(GraphPlan graphPlan, Icon originIcon)
          Returns an Image instance representing the graph defined by the given GraphPlan instance and rooted with the Imageable referenced by the given originIcon value.
static Image selectImageGraphFor(GraphPlan graphPlan, Imageable originObject)
          Returns an Image instance representing the graph defined by the given GraphPlan instance and rooted with the given Imageable.
static Image selectImageGraphFor(GraphPlan graphPlan, java.lang.String imageType, java.lang.String referenceableName)
          Returns an Image instance representing the graph defined by the given depth and rooted with the Imageable with the given referenceableName.
protected static ImageGraph selectImageGraphFor(java.util.List originNodes, Icon[] originIcons, boolean isFuzzy)
          Used by Modify.
static Image selectImageGraphWith(GraphPlan graphPlan, ObjectFinder finder)
          Returns an Image instance found as described by the given GraphPlan and ObjectFinder instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findIconWith

public static final Icon findIconWith(ObjectFinder finder)
                               throws GraphException
Returns an Icon instance for the Imageable found by the given ObjectFinder instance.
This method will fail if the object found is not ImageableIdentifiable.

Parameters:
finder -
Returns:
an Icon instance identifying the found ImageableIdentifiable instance
Throws:
GraphException

findAllIconsWith

public static final Icon[] findAllIconsWith(CollectionFinder finder)
                                     throws GraphException
Returns an array of Icon instances for the Imageable objects found by the given CollectionFinder.
This method will fail if the objects found are not ImageableIdentifiable.

Parameters:
finder -
Returns:
an array of Icon instances identifying the found ImageableIdentifiable instances
Throws:
GraphException

findAllIconsFor

public static final Icon[] findAllIconsFor(java.lang.String imageType)
Returns an array of Icons for the Imageable objects of given imageType class name.
This method will fail if the objects found are not ImageableIdentifiable.

Parameters:
imageType - the base ImageableIdentifiable class name
Returns:
an array of Icon instances identifying the found ImageableIdentifiable instances

selectAllImageGraphsWith

public static final Image[] selectAllImageGraphsWith(GraphPlan graphPlan,
                                                     CollectionFinder finder)
                                              throws GraphException
Returns an array of Image instances found as described by the given GraphPlan and CollectionFinder instances.

Parameters:
graphPlan -
finder -
Returns:
Throws:
GraphException

selectImageGraphWith

public static final Image selectImageGraphWith(GraphPlan graphPlan,
                                               ObjectFinder finder)
                                        throws GraphException
Returns an Image instance found as described by the given GraphPlan and ObjectFinder instances.

Parameters:
graphPlan -
finder -
Returns:
Throws:
GraphException

selectImageableWith

protected static final Imageable selectImageableWith(ObjectFinder finder)
                                              throws GraphException
Throws:
GraphException

selectAllImageablesWith

protected static final java.util.List selectAllImageablesWith(CollectionFinder finder)
                                                       throws GraphException
Throws:
GraphException

selectImageGraphFor

public static final Image selectImageGraphFor(GraphPlan graphPlan,
                                              Icon originIcon)
                                       throws GraphException
Returns an Image instance representing the graph defined by the given GraphPlan instance and rooted with the Imageable referenced by the given originIcon value.

Parameters:
graphPlan -
originIcon -
Returns:
Throws:
GraphException

selectImageGraphFor

public static final Image selectImageGraphFor(GraphPlan graphPlan,
                                              Imageable originObject)
                                       throws GraphException
Returns an Image instance representing the graph defined by the given GraphPlan instance and rooted with the given Imageable.

Parameters:
graphPlan -
originObject -
Returns:
Throws:
GraphException

selectImageGraphFor

protected static final ImageGraph selectImageGraphFor(java.util.List originNodes,
                                                      Icon[] originIcons,
                                                      boolean isFuzzy)
                                               throws GraphException
Used by Modify.

Parameters:
originNodes -
originIcons -
isFuzzy -
Returns:
Throws:
GraphException

selectImageGraphFor

public static final Image selectImageGraphFor(GraphNode graphNode,
                                              Icon originIcon,
                                              boolean isFuzzy)
                                       throws GraphException
Returns an Image instance representing the graph defined by the given GraphNode tree and rooted with the Imageable referenced by the given originIcon value.

Parameters:
graphNode -
originIcon -
Returns:
Throws:
GraphException

selectImageGraphFor

public static final Image selectImageGraphFor(GraphNode originNode,
                                              Imageable originObject,
                                              boolean isFuzzy)
                                       throws GraphException
Returns an Image instance representing the graph defined by the given GraphNode tree and rooted with the given Imageable.

Parameters:
originNode -
originObject -
Returns:
Throws:
GraphException

selectImageGraphFor

public static final Image selectImageGraphFor(GraphPlan graphPlan,
                                              java.lang.String imageType,
                                              java.lang.String referenceableName)
                                       throws GraphException
Returns an Image instance representing the graph defined by the given depth and rooted with the Imageable with the given referenceableName.

Parameters:
imageType -
referenceableName -
Returns:
Throws:
GraphException


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