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)); }
@Override protected DistributionSet findEntityByTableValue(final DistributionSetIdName lastSelectedId) { return distributionSetManagement.findDistributionSetByIdWithDetails(lastSelectedId.getId()); }