Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » event » [javadoc | source]
org.hibernate.event
public interface: EventSource [javadoc | source]

All Implemented Interfaces:
    org.hibernate.Session, SessionImplementor

All Known Implementing Classes:
    SessionImpl

Method from org.hibernate.event.EventSource Summary:
delete,   forceFlush,   getActionQueue,   instantiate,   merge,   persist,   persistOnFlush,   refresh,   saveOrUpdateCopy
Method from org.hibernate.event.EventSource Detail:
 public  void delete(String entityName,
    Object child,
    boolean isCascadeDeleteEnabled,
    Set transientEntities)
    Cascade delete an entity instance
 public  void forceFlush(EntityEntry e) throws HibernateException
    Force an immediate flush
 public ActionQueue getActionQueue()
    Get the ActionQueue for this session
 public Object instantiate(EntityPersister persister,
    Serializable id) throws HibernateException
    Instantiate an entity instance, using either an interceptor, or the given persister
 public  void merge(String entityName,
    Object object,
    Map copiedAlready) throws HibernateException
    Cascade merge an entity instance
 public  void persist(String entityName,
    Object object,
    Map createdAlready) throws HibernateException
    Cascade persist an entity instance
 public  void persistOnFlush(String entityName,
    Object object,
    Map copiedAlready)
    Cascade persist an entity instance during the flush process
 public  void refresh(Object object,
    Map refreshedAlready) throws HibernateException
    Cascade refesh an entity instance
 public  void saveOrUpdateCopy(String entityName,
    Object object,
    Map copiedAlready) throws HibernateException
    Cascade copy an entity instance