com.vinculumtech.carrierwave.manager
Interface LookupFunction


public interface LookupFunction

Instances of the LookupFunction interface should be used to augment the functionality of Modify class.

Version:
$Id: //depot/carrierwave/src/server/com/vinculumtech/carrierwave/manager/LookupFunction.java#7 $

Method Summary
 Imageable findObject(java.lang.Object binding)
          Looks up the instance of Imageable related to the binding parameter (either an Image or an Icon instance)
 boolean objectExists(java.lang.Object binding)
          Returns true if the Imageable object represented by this binding value (an Image instance) should be created, instead of found and modified.
 

Method Detail

findObject

public Imageable findObject(java.lang.Object binding)
                     throws ImageableNotFoundException,
                            GraphException
Looks up the instance of Imageable related to the binding parameter (either an Image or an Icon instance)

Parameters:
binding -
Returns:
Throws:
ImageableNotFoundException
GraphException

objectExists

public boolean objectExists(java.lang.Object binding)
Returns true if the Imageable object represented by this binding value (an Image instance) should be created, instead of found and modified. Typically returns true if the findObject would throw an ImageableNotFoundException.

Parameters:
binding -
Returns:


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