UpdateFilter filter = new UpdateFilter( getHibernateTemplate() );
UpdateFilter filter = new UpdateFilter( securitySystem, localQuery );
    public void saveCollection(Collection graph)    {        UpdateFilter filter = new UpdateFilter( getHibernateTemplate() );        beforeUpdate( graph, filter );        for (Object _object : graph)        {            IObject obj = (IObject) _object;            obj = internalSave( obj, filter );        }        afterUpdate( graph, filter );    }