站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 bate1 API 英文版文档

HibernateEntityHome (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 API 英文版文档


org.jboss.seam.framework
Class HibernateEntityHome<E>

java.lang.Object
  extended by org.jboss.seam.core.AbstractMutable
      extended by org.jboss.seam.framework.Home<E>
          extended by org.jboss.seam.framework.HibernateEntityHome<E>
All Implemented Interfaces:
Serializable, Mutable

public class HibernateEntityHome<E>
extends Home<E>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.seam.framework.Home
instance, newInstance
 
Constructor Summary
HibernateEntityHome()
           
 
Method Summary
 E find()
           
 org.hibernate.Session getSession()
           
 boolean isManaged()
           
 String persist()
           
 String remove()
           
 void setSession(org.hibernate.Session session)
           
 String update()
           
 void validate()
           
 
Methods inherited from class org.jboss.seam.framework.Home
createInstance, getCreatedMessage, getDeletedMessage, getEntityClass, getId, getInstance, getNewInstance, getUpdatedMessage, handleNotFound, initInstance, isIdDefined, setCreatedMessage, setDeletedMessage, setEntityClass, setId, setInstance, setNewInstance, setUpdatedMessage
 
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

HibernateEntityHome

public HibernateEntityHome()
Method Detail

validate

public void validate()
Overrides:
validate in class Home<E>

isManaged

@Transactional
public boolean isManaged()

update

@Transactional
public String update()

persist

@Transactional
public String persist()

remove

@Transactional
public String remove()

find

@Transactional
public E find()
Overrides:
find in class Home<E>

getSession

public org.hibernate.Session getSession()

setSession

public void setSession(org.hibernate.Session session)