code: public Set<Long> getSelectedEntitiesByTransferable(final TableTransferable transferable) {
          final Set<Long> selectedEntities = getTableValue(this);
          final Set<Long> ids = new HashSet<>();
          final Long transferableData = (Long) transferable.getData(SPUIDefinitions.ITEMID);
          if (transferableData == null) {
              return ids;
          }
  
          if (entityToBeDeletedIsSelectedInTable(transferableData, selectedEntities)) {
              ids.addAll(selectedEntities);
          } else {
              ids.add(transferableData);
          }
          return ids;
      }
docs: Return the entity which should be deleted by a transferable
  
  @param transferable
  the table transferable
  @return set of entities id which will deleted