code: 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);
              }
          }
      }
docs: Mark objects no longer available in collection for delete and new objects for insert.
  
  @param broker the PB to persist all objects