当前页面:
在线文档首页 >
JBoss Seam 1.1.0 API 英文版文档
Home (JBoss Seam API Documentation) - JBoss Seam 1.1.0 API 英文版文档
org.jboss.seam.framework
Class Home<E>
java.lang.Object
org.jboss.seam.core.AbstractMutable
org.jboss.seam.framework.Home<E>
- All Implemented Interfaces:
- Serializable, Mutable
- Direct Known Subclasses:
- EntityHome, HibernateEntityHome
@Scope(value=CONVERSATION)
public class Home<E>
- extends AbstractMutable
- implements Serializable
Manager component for an instance of any class.
- Author:
- Gavin King
- See Also:
- Serialized Form
Constructor Summary |
Home()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected E instance
newInstance
protected Expressions.ValueBinding newInstance
Home
public Home()
updatedMessage
protected void updatedMessage()
deletedMessage
protected void deletedMessage()
createdMessage
protected void createdMessage()
create
@Create
public void create()
getInstance
@Transactional
public E getInstance()
initInstance
protected void initInstance()
find
protected E find()
handleNotFound
protected E handleNotFound()
createInstance
protected E createInstance()
getEntityClass
public Class<E> getEntityClass()
setEntityClass
public void setEntityClass(Class<E> entityClass)
getId
public Object getId()
setId
public void setId(Object id)
isIdDefined
public boolean isIdDefined()
setInstance
public void setInstance(E instance)
getNewInstance
public Expressions.ValueBinding getNewInstance()
setNewInstance
public void setNewInstance(Expressions.ValueBinding newInstance)
getCreatedMessage
public String getCreatedMessage()
setCreatedMessage
public void setCreatedMessage(String createdMessage)
getDeletedMessage
public String getDeletedMessage()
setDeletedMessage
public void setDeletedMessage(String deletedMessage)
getUpdatedMessage
public String getUpdatedMessage()
setUpdatedMessage
public void setUpdatedMessage(String updatedMessage)
getMessageKeyPrefix
protected String getMessageKeyPrefix()
getCreatedMessageKey
protected String getCreatedMessageKey()
getUpdatedMessageKey
protected String getUpdatedMessageKey()
getDeletedMessageKey
protected String getDeletedMessageKey()