use of org.eclipse.sw360.datahandler.db.VendorRepository in project sw360portal by sw360.
the class LicenseDatabaseHandler method checkIfInUse.
public boolean checkIfInUse(String licenseId) {
ReleaseRepository releaseRepository = new ReleaseRepository(db, new VendorRepository(db));
final List<Release> usingReleases = releaseRepository.searchReleasesByUsingLicenseId(licenseId);
return !usingReleases.isEmpty();
}
Aggregations