org.hibernate.event.def
Class ReattachVisitor

java.lang.Object
  extended byorg.hibernate.event.def.AbstractVisitor
      extended byorg.hibernate.event.def.ProxyVisitor
          extended byorg.hibernate.event.def.ReattachVisitor
Direct Known Subclasses:
OnLockVisitor, OnReplicateVisitor, OnUpdateVisitor

public abstract class ReattachVisitor
extends ProxyVisitor

Abstract superclass of visitors that reattach collections

Author:
Gavin King

Constructor Summary
ReattachVisitor(EventSource session, Serializable key)
           
 
Method Summary
 void removeCollection(CollectionPersister role, Serializable id, EventSource source)
          Schedules a collection for deletion.
 
Methods inherited from class org.hibernate.event.def.ProxyVisitor
isOwnerUnchanged, reattachCollection
 
Methods inherited from class org.hibernate.event.def.AbstractVisitor
processEntityPropertyValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReattachVisitor

public ReattachVisitor(EventSource session,
                       Serializable key)
Method Detail

removeCollection

public void removeCollection(CollectionPersister role,
                             Serializable id,
                             EventSource source)
                      throws HibernateException
Schedules a collection for deletion.

Parameters:
role - The persister representing the collection to be removed.
id - The id of the entity containing the collection to be removed.
Throws:
HibernateException