Example #1
0
 private void updateDistributionInTable(final DistributionSet editedDs) {
   final Item item =
       getContainerDataSource()
           .getItem(
               new DistributionSetIdName(
                   editedDs.getId(), editedDs.getName(), editedDs.getVersion()));
   updateEntity(editedDs, item);
 }
Example #2
0
 @Override
 protected void publishEntityAfterValueChange(final DistributionSet selectedLastEntity) {
   eventBus.publish(
       this, new DistributionTableEvent(BaseEntityEventType.SELECTED_ENTITY, selectedLastEntity));
   if (selectedLastEntity != null) {
     managementUIState.setLastSelectedDistribution(
         new DistributionSetIdName(
             selectedLastEntity.getId(),
             selectedLastEntity.getName(),
             selectedLastEntity.getVersion()));
   }
 }