public static Version getVersion(DBService service, String name) throws RemoteException, ApplicationException
{
if (name == null || name.length() == 0)
{
I18N i18n = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getI18N();
throw new ApplicationException(i18n.tr("Keine Versionsbezeichnung angegeben"));
}
DBIterator list = service.createList(Version.class);
list.addFilter("name = ?",name);
if (list.hasNext())
return (Version) list.next();