code: protected void prepareProjectCondition(CmsUUID projectId, int mode, StringBuffer conditions, List<Object> params) {
  
          if ((mode & CmsDriverManager.READMODE_INCLUDE_PROJECT) > 0) {
              // C_READMODE_INCLUDE_PROJECT: add condition to match the PROJECT_ID
              conditions.append(BEGIN_INCLUDE_CONDITION);
              conditions.append(m_sqlManager.readQuery(projectId, "C_RESOURCES_SELECT_BY_PROJECT_LASTMODIFIED"));
              conditions.append(END_CONDITION);
              params.add(projectId.toString());
          }
      }
docs: Appends the appropriate selection criteria related with the projectId.<p>
  
  @param projectId the id of the project of the resources
  @param mode the selection mode
  @param conditions buffer to append the selection criteria
  @param params list to append the selection parameters