}
}
disconnect();
} else {
Class oClss = Class.forName("com.zesped.model."+sClss);
BaseModelObject oObj = (BaseModelObject) oClss.newInstance();
connect();
for (d=0; d<aDocs.length; d++) {
try {
oObj.delete(getSession(),aDocs[d]);
addDataLine("docid", aDocs[d]);
commit();
} catch (Exception xcpt) {
rollback();
addError("document", new SimpleError (xcpt.getClass().getName()+" "+xcpt.getMessage()));