public class EditExternalUnit {
@Atomic
public static void run(final EditExternalUnitBean externalUnitBean) {
final Unit externalUnit = externalUnitBean.getExternalUnit();
externalUnit.edit(new MultiLanguageString(Locale.getDefault(), externalUnitBean.getUnitName()),
externalUnitBean.getUnitCode());
}
}