int selectedIndex = transportableSelectionList.getSelectionIndex();
if (selectedIndex >= 0) {
Transportable transportable = getSelectedTransport(selectedIndex);
if (transportable != null) {
TransportLetter transportLetter = TransportLetterSelector
.valueOf(
StringUtils.upperCase(transportable
.getProductAreaGroup()
.getProductAreaGroupName()))
.getTransportLetter(managerRepository);
transportLetter.generateTransportLetter(transportable, owner);
}
}
}