|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vinculumtech.carrierwave.ImageableFactory
The ImageableFactory class provides an interface to PersistenceRoot for use
by internal CarrierWave functions.
Field Summary | |
static java.lang.String |
DEPENDENT_VIA_PERSISTENCE
|
Method Summary | |
static Imageable |
constructObject(Image image)
Construct an Imageable system object for the given image. |
static java.util.List |
findAllIdentifiableObjects(java.lang.String imageType)
Find all Imageable instances of the given imageType. |
static java.util.List |
findAllInstancesOf(ImageableCollectionFinder collectionFinder)
Returns all applicable instances for the given finder. |
static ImageableIdentifiable |
findIdentifiableObject(Icon icon)
Find the Imageable system object with the specified icon. |
static ImageableIdentifiable |
findIdentifiableObject(java.lang.String imageType,
java.lang.String referenceableName)
Find the Imageable system object with the specified icon. |
static java.lang.Object |
findInstanceOf(ImageableObjectFinder objectFinder)
Returns all applicable instances for the given finder. |
static Imageable |
findObject(Icon icon)
Finds the Imageable object for the given Icon, if the icon represents a dependent, it is found by first finding the parent. |
static java.lang.Class |
getCommonClass()
Get the common identifiable object type. |
static boolean |
isAlwaysDelegateDependentToPersistence()
|
static boolean |
isCommonClass(java.lang.Class type)
Determine if the specified type has the commont type as a superclass |
static java.util.List |
resolveToObjects(java.util.List values)
Takes a List of values, literal or Icons, and returns a collection with the the same literals, but with the Icons resolved to Imageable types. |
static java.util.Map |
resolveToObjects(java.util.Map values)
Takes a Map of values, literal or Icons, and returns a collection with the the same literals, but with the Icons resolved to Imageable types. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEPENDENT_VIA_PERSISTENCE
Method Detail |
public static boolean isAlwaysDelegateDependentToPersistence()
public static final boolean isCommonClass(java.lang.Class type)
type
-
public static final java.lang.Class getCommonClass()
public static final java.util.List resolveToObjects(java.util.List values) throws ImageableNotFoundException, GraphException
values
-
ImageableNotFoundException
GraphException
public static final java.util.Map resolveToObjects(java.util.Map values) throws ImageableNotFoundException, GraphException
values
-
ImageableNotFoundException
GraphException
public static final Imageable findObject(Icon icon) throws ImageableNotFoundException, GraphException
icon
- a reference to the object to retun
ImageableNotFoundException
GraphException
public static final ImageableIdentifiable findIdentifiableObject(Icon icon) throws ImageableNotFoundException, GraphException
icon
-
ImageableNotFoundException
GraphException
public static final ImageableIdentifiable findIdentifiableObject(java.lang.String imageType, java.lang.String referenceableName) throws ImageableNotFoundException, GraphException
imageType
- referenceableName
-
ImageableNotFoundException
GraphException
public static final java.util.List findAllIdentifiableObjects(java.lang.String imageType)
imageType
-
public static final Imageable constructObject(Image image) throws ProjectionException, GraphException
image
-
ProjectionException
GraphException
public static final java.util.List findAllInstancesOf(ImageableCollectionFinder collectionFinder)
collectionFinder
-
public static final java.lang.Object findInstanceOf(ImageableObjectFinder objectFinder)
objectFinder
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |