return;
}
//iterate over the list
for (int i = 0; i < listLinks.size(); i++) {
DocumSetStruct currentDoc = (DocumSetStruct) listLinks.get(i);
LinkedList listElemUnique = new LinkedList();
for (int j = 0; j < listLinks.size(); j++) {
DocumSetStruct comp = (DocumSetStruct) listLinks.get(j);
//make a new list with the unique elements (categorname,documentid)
if ((i != j) &&
!(currentDoc.getCategoryName().equals(comp.getCategoryName()) &&
currentDoc.getDocumentId().equals(comp.getDocumentId()))) {
listElemUnique.add(comp.getCategoryName() + SEPARATOR +
comp.getDocumentId());
}
}
//get the model path for the
String modelpath = getModelPath(currentDoc.getCategoryName(),