org.jboss.seam.ui.graphicImage
Class GraphicImageStore

java.lang.Object
  extended by org.jboss.seam.core.AbstractMutable
      extended by org.jboss.seam.ui.graphicImage.GraphicImageStore
All Implemented Interfaces:
java.io.Serializable, org.jboss.seam.core.Mutable

@Name(value="org.jboss.seam.ui.graphicImage.graphicImageStore")
@Scope(value=SESSION)
@Install(precedence=0)
@BypassInterceptors
public class GraphicImageStore
extends org.jboss.seam.core.AbstractMutable
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
static class GraphicImageStore.ImageWrapper
           
 
Constructor Summary
GraphicImageStore()
           
 
Method Summary
 boolean contains(java.lang.String key)
           
 GraphicImageStore.ImageWrapper get(java.lang.String key)
           
static GraphicImageStore instance()
           
 java.lang.String put(GraphicImageStore.ImageWrapper image)
          Put a image into the store
 java.lang.String put(GraphicImageStore.ImageWrapper image, java.lang.String key)
          Put an image into the store.
 GraphicImageStore.ImageWrapper remove(java.lang.String key)
           
 
Methods inherited from class org.jboss.seam.core.AbstractMutable
clearDirty, setDirty, setDirty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicImageStore

public GraphicImageStore()
Method Detail

put

public java.lang.String put(GraphicImageStore.ImageWrapper image)
Put a image into the store

Parameters:
image -
Returns:
the key of the image

put

public java.lang.String put(GraphicImageStore.ImageWrapper image,
                            java.lang.String key)
Put an image into the store.

Parameters:
image -
key - The key to use, if null, a key will be generated
Returns:
The key of the image

get

public GraphicImageStore.ImageWrapper get(java.lang.String key)

remove

public GraphicImageStore.ImageWrapper remove(java.lang.String key)

contains

public boolean contains(java.lang.String key)

instance

public static GraphicImageStore instance()


Copyright © 2007. All Rights Reserved.