UpdateFilter filter = new UpdateFilter( getHibernateTemplate() );
UpdateFilter filter = new UpdateFilter( securitySystem, localQuery );
    public void saveObject(IObject graph)    {        UpdateFilter filter = new UpdateFilter( getHibernateTemplate() );        beforeUpdate( graph, filter );        graph = internalSave( graph, filter );        afterUpdate( graph, filter );    }