예제 #1
0
 public void addOrUpdateRightholder(PartySummaryBean rightholder) {
   if (rightholder != null && rightHolderList != null) {
     if (rightHolderList.contains(rightholder)) {
       rightHolderList.set(rightHolderList.indexOf(rightholder), rightholder);
     } else {
       rightHolderList.addAsNew(rightholder);
     }
   }
 }
예제 #2
0
 @NoDuplicates(message = ClientMessage.CHECK_NODUPLI_RIGHTHOLDERLIST, payload = Localized.class)
 @Size(min = 1, message = ClientMessage.CHECK_SIZE_FILTERRIGHTHOLDER, payload = Localized.class)
 public ObservableList<PartySummaryBean> getFilteredRightHolderList() {
   return rightHolderList.getFilteredList();
 }
예제 #3
0
 public void removeSelectedRightHolder() {
   if (selectedRightHolder != null && rightHolderList != null) {
     rightHolderList.safeRemove(selectedRightHolder, EntityAction.DELETE);
   }
 }