private void updateDomain(ComponentCollector collector, IViewState viewState) throws IOException, ClassNotFoundException { viewState.getMetaObject().commit();
private void updateDomain(List<IViewState> viewStates) { List<MetaObject> metaObjectsToCommit = new ArrayList<MetaObject>(); MultipleMetaObject metaObjectCollection = MetaObjectFactory.createObjectCollection();  for (IViewState state : viewStates) { MetaObject metaObject = state.getMetaObject();  if (metaObject instanceof MetaSlot) { metaObject = ((MetaSlot) metaObject).getMetaObject(); }  if (! metaObjectsToCommit.contains(metaObject)) { metaObjectsToCommit.add(metaObject); }  metaObjectCollection.setUser(state.getUser()); }  for (MetaObject object : metaObjectsToCommit) { metaObjectCollection.add(object); }  metaObjectCollection.commit();
    private void updateDomain(ComponentCollector collector, IViewState viewState) throws IOException, ClassNotFoundException {        viewState.getMetaObject().commit();    }