type = PodcastFileResource.TYPE_NAME;
break;
default:
throw new AssertException("Declared import type is not supported.");
}
searchController = new RepositorySearchController(translator.translate("command.linkresource"), ureq, getWindowControl(), true,
false, type);
searchController.addControllerListener(this);
searchController.doSearchByOwnerLimitType(ureq.getIdentity(), type);
// brasato:: check in gui
// was: getWindowControl().pushAsModalDialog(translator.translate("command.linkresource"), searchController.getInitialComponent());