public void exhibitsList(Set exhbList) { actnKeys = new ArrayList(); if (exhbList != null) { actnList = new ArrayList(); List tempList = new ArrayList(exhbList); // renumbering of the itemSeqNo for (int i = 0; i < tempList.size(); i++) { ConsntOrdExhbt exhb = (ConsntOrdExhbt) tempList.get(i); actnList.add(exhb); // cmplncItemActn.setSeqNo(actnList.size() - i); actnKeys.add(new SelectItem(exhb.getSeqNo())); } } }
public void deleteExhibit() { ConsentOrderService.getConsentOrderService() .removeExhibit(consntOrder, selectedExhibit.getSeqNo()); }
public int compare(ConsntOrdExhbt firstExhb, ConsntOrdExhbt secondExhb) { return Long.valueOf(firstExhb.getSeqNo()).compareTo(Long.valueOf(secondExhb.getSeqNo())); }