// viewDTO.setTitle(window.getWindowTitle()); We will eventually store
// the title
viewDTO.setContentType(view.getContentType());
Persistable persistable = view;
viewDTO.setViewState(persistable.save(persistanceManager));
// Resource set DTOs
// 1. resolved unmodified sets --> changes list size
List<ResourceSet> resourceSets = new ArrayList<ResourceSet>(
persistanceManager.getResourceSets());