code: public CmsProject createTempfileProject(CmsDbContext dbc) throws CmsException {
  
          // read the needed groups from the cms
          CmsGroup projectUserGroup = readGroup(dbc, dbc.currentProject().getGroupId());
          CmsGroup projectManagerGroup = readGroup(dbc, dbc.currentProject().getManagerGroupId());
  
          CmsProject tempProject = getProjectDriver(dbc).createProject(
              dbc,
              new CmsUUID(),
              dbc.currentUser(),
              projectUserGroup,
              projectManagerGroup,
              I_CmsProjectDriver.TEMP_FILE_PROJECT_NAME,
              Messages.get().getBundle(dbc.getRequestContext().getLocale()).key(
                  Messages.GUI_WORKPLACE_TEMPFILE_PROJECT_DESC_0),
              CmsProject.PROJECT_FLAG_HIDDEN,
              CmsProject.PROJECT_TYPE_NORMAL);
          getProjectDriver(dbc).createProjectResource(dbc, tempProject.getUuid(), "/");
  
          OpenCms.fireCmsEvent(
              new CmsEvent(
                  I_CmsEventListener.EVENT_PROJECT_MODIFIED,
                  Collections.<String, Object> singletonMap("project", tempProject)));
  
          return tempProject;
      }
docs: Creates the project for the temporary workplace files.<p>
  
  @param dbc the current database context
  
  @return the created project for the temporary workplace files
  
  @throws CmsException if something goes wrong