QueryManager queryManager = this.getQueryManager();
Filter filter = queryManager.createFilter(Atomic.class);
filter.addEqualTo("booleanObject" , new Boolean(false));
Query query = queryManager.createQuery(filter);
ocm.remove(query);
ocm.save();
filter = queryManager.createFilter(Atomic.class);
filter.setScope("//");
query = queryManager.createQuery(filter);
Collection result = ocm.getObjects(query);