* should be used (only for type 2 and 3)
*/
public void selectAndExportResults(QTIExportFormatter qef, Long olatResource, String shortTitle, String olatResourceDetail, Long repositoryRef,
File exportDirectory, String charset, String fileNameSuffix) {
QTIResultManager qrm = QTIResultManager.getInstance();
List results = qrm.selectResults(olatResource, olatResourceDetail, repositoryRef, qef.getType());
if(results.size() > 0){
QTIResult res0 = (QTIResult) results.get(0);
QTIObjectTreeBuilder qotb = new QTIObjectTreeBuilder(new Long(res0.getResultSet().getRepositoryRef()));