private void checkAllEnvelopes ( PersistenceBroker broker ) { Iterator iter = ( ( List ) mvOrderOfIds . clone ( ) ) . iterator ( ) ; while ( iter . hasNext ( ) ) { ObjectEnvelope mod = ( ObjectEnvelope ) mhtObjectEnvelopes . get ( iter . next ( ) ) ; // only non transient objects should be performed if ( ! mod . getModificationState ( ) . isTransient ( ) ) { mod . markReferenceElements ( broker ) ; } } }
Mark objects no longer available in collection for delete and new objects for insert .