Exemplo n.º 1
0
 private void showMetadataDetails(final Object itemId) {
   final DistributionSetIdName distIdName =
       (DistributionSetIdName)
           getContainerDataSource()
               .getItem(itemId)
               .getItemProperty(SPUILabelDefinitions.VAR_DIST_ID_NAME)
               .getValue();
   final DistributionSet ds =
       distributionSetManagement.findDistributionSetByIdWithDetails(distIdName.getId());
   UI.getCurrent().addWindow(dsMetadataPopupLayout.getWindow(ds, null));
 }
Exemplo n.º 2
0
 @Override
 protected DistributionSet findEntityByTableValue(final DistributionSetIdName lastSelectedId) {
   return distributionSetManagement.findDistributionSetByIdWithDetails(lastSelectedId.getId());
 }