Search in sources :

Example 1 with Sw360ReleaseService

use of org.eclipse.sw360.rest.resourceserver.release.Sw360ReleaseService in project sw360portal by sw360.

the class RestControllerHelper method addEmbeddedReleases.

public void addEmbeddedReleases(HalResource halResource, Set<String> releases, Sw360ReleaseService sw360ReleaseService, User user) throws TException {
    for (String releaseId : releases) {
        final Release release = sw360ReleaseService.getReleaseForUserById(releaseId, user);
        addEmbeddedRelease(halResource, release);
    }
}
Also used : Release(org.eclipse.sw360.datahandler.thrift.components.Release)

Aggregations

Release (org.eclipse.sw360.datahandler.thrift.components.Release)1