org.jboss.seam.ui.converter.entityConverter
Class EntityIdentifierStore
java.lang.Object
org.jboss.seam.core.AbstractMutable
org.jboss.seam.ui.converter.entityConverter.EntityIdentifierStore
- All Implemented Interfaces:
- java.io.Serializable, org.jboss.seam.core.Mutable
@Name(value="org.jboss.seam.ui.entityIdentifierStore")
@Install(precedence=0)
@Scope(value=PAGE)
public class EntityIdentifierStore
- extends org.jboss.seam.core.AbstractMutable
Page scoped store for entity identifiers used by the EntityConverter.
By default a list is used and the key returned is the list index. The key
used can be customised by overriding this component and implementing the
get and put methods
- Author:
- Pete Muir
- See Also:
- Serialized Form
Method Summary |
void |
create()
|
org.jboss.seam.framework.Identifier |
get(java.lang.String key)
|
static EntityIdentifierStore |
instance()
|
java.lang.String |
put(org.jboss.seam.framework.Identifier identifier,
java.lang.Object entity)
|
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 |
EntityIdentifierStore
public EntityIdentifierStore()
create
@Create
public void create()
get
public org.jboss.seam.framework.Identifier get(java.lang.String key)
put
public java.lang.String put(org.jboss.seam.framework.Identifier identifier,
java.lang.Object entity)
instance
public static EntityIdentifierStore instance()
Copyright © 2008. All Rights Reserved.