code: public void writeProject(CmsDbContext dbc, CmsProject project) throws CmsException {
  
          m_monitor.uncacheProject(project);
          getProjectDriver(dbc).writeProject(dbc, project);
          m_monitor.cacheProject(project);
      }
docs: Writes an already existing project.<p>
  
  The project id has to be a valid OpenCms project id.<br>
  
  The project with the given id will be completely overridden
  by the given data.<p>
  
  @param dbc the current database context
  @param project the project that should be written
  
  @throws CmsException if operation was not successful