Esempio n. 1
0
  @Override
  public List<Release> getReleasesByComponentId(String id, User user) throws TException {
    assertUser(user);
    assertId(id);

    return handler.getReleasesFromComponentId(id, user);
  }
Esempio n. 2
0
  @Override
  public Component getComponentByIdForEdit(String id, User user) throws TException {
    assertId(id);
    assertUser(user);

    return handler.getComponentForEdit(id, user);
  }
Esempio n. 3
0
  @Override
  public RequestStatus unsubscribeRelease(String id, User user) throws TException {
    assertUser(user);
    assertId(id);

    return handler.unsubscribeRelease(id, user);
  }
Esempio n. 4
0
  @Override
  public Release getReleaseByIdForEdit(String id, User user) throws TException {
    assertId(id);
    assertUser(user);

    return handler.getReleaseForEdit(id, user);
  }
Esempio n. 5
0
  //////////////////////////////////
  // SUBSCRIBE INDIVIDUAL OBJECTS //
  //////////////////////////////////
  @Override
  public RequestStatus subscribeComponent(String id, User user) throws TException {
    assertUser(user);
    assertId(id);

    return handler.subscribeComponent(id, user);
  }
Esempio n. 6
0
  @Override
  public RequestStatus updateComponent(Component component, User user) throws TException {
    assertNotNull(component);
    assertId(component.getId());
    assertUser(user);

    return handler.updateComponent(component, user);
  }
Esempio n. 7
0
  @Override
  public AddDocumentRequestSummary addComponent(Component component, User user) throws TException {
    assertNotNull(component);
    assertIdUnset(component.getId());
    assertUser(user);

    return handler.addComponent(component, user.getEmail());
  }
Esempio n. 8
0
  @Override
  public RequestStatus updateReleaseFossology(Release release, User user) throws TException {
    assertNotNull(release);
    assertId(release.getId());
    assertUser(user);

    return handler.updateRelease(release, user, ThriftUtils.immutableOfReleaseForFossology());
  }
Esempio n. 9
0
  @Override
  public AddDocumentRequestSummary addRelease(Release release, User user) throws TException {
    assertNotNull(release);
    assertIdUnset(release.getId());
    assertUser(user);

    return handler.addRelease(release, user.getEmail());
  }
Esempio n. 10
0
  @Override
  public List<Release> getReleaseSummary(User user) throws TException {
    assertUser(user);

    return handler.getReleaseSummary();
  }
Esempio n. 11
0
 @Override
 public Map<String, List<String>> getDuplicateReleaseSources() throws TException {
   return handler.getDuplicateReleaseSources();
 }
Esempio n. 12
0
 @Override
 public Component getComponentForReportFromFossologyUploadId(String uploadId) throws TException {
   return handler.getComponentForReportFromFossologyUploadId(uploadId);
 }
Esempio n. 13
0
 public RequestStatus updateReleaseFromModerationRequest(
     Release releaseAdditions, Release releaseDeletions, User user) {
   return handler.updateReleaseFromAdditionsAndDeletions(releaseAdditions, releaseDeletions, user);
 }
Esempio n. 14
0
 @Override
 public RequestSummary updateReleases(Set<Release> releases, User user) throws TException {
   assertUser(user);
   return handler.updateReleases(releases, user);
 }
Esempio n. 15
0
 public RequestStatus updateComponentFromModerationRequest(
     Component componentAdditions, Component componentDeletions, User user) {
   return handler.updateComponentFromAdditionsAndDeletions(
       componentAdditions, componentDeletions, user);
 }
Esempio n. 16
0
  @Override
  public RequestSummary updateComponents(Set<Component> components, User user) throws TException {
    assertUser(user);

    return handler.updateComponents(components, user);
  }
Esempio n. 17
0
 @Override
 public List<Component> getComponentDetailedSummaryForExport() throws TException {
   return handler.getComponentDetailedSummaryForExport();
 }
Esempio n. 18
0
  @Override
  public List<ReleaseLink> getLinkedReleases(Map<String, String> relations) throws TException {
    assertNotNull(relations);

    return handler.getLinkedReleases(relations);
  }
Esempio n. 19
0
 @Override
 public List<Component> searchComponentForExport(String name) throws TException {
   return handler.searchComponentByNameForExport(name);
 }
Esempio n. 20
0
 @Override
 public Set<String> getUsedAttachmentContentIds() throws TException {
   return handler.getusedAttachmentContentIds();
 }
Esempio n. 21
0
 @Override
 public Set<Attachment> getSourceAttachments(String releaseId) throws TException {
   return handler.getSourceAttachments(releaseId);
 }
Esempio n. 22
0
 @Override
 public List<Release> getReleasesFromVendorIds(Set<String> ids) throws TException {
   return handler.getReleasesFromVendorIds(ids);
 }
Esempio n. 23
0
 @Override
 public List<ReleaseLink> getLinkedReleaseRelations(Map<String, ReleaseRelationship> relations)
     throws TException {
   return handler.getLinkedReleases(relations);
 }
Esempio n. 24
0
 @Override
 public Set<Component> getUsingComponentsForRelease(String releaseId) throws TException {
   return handler.getUsingComponents(releaseId);
 }
Esempio n. 25
0
 @Override
 public Map<String, List<String>> getDuplicateComponents() throws TException {
   return handler.getDuplicateComponents();
 }
Esempio n. 26
0
 @Override
 public Set<Component> getUsingComponentsForComponent(Set<String> releaseIds) throws TException {
   return handler.getUsingComponents(releaseIds);
 }
Esempio n. 27
0
  @Override
  public List<Component> getComponentSummary(User user) throws TException {
    assertUser(user);

    return handler.getComponentSummary(user);
  }
Esempio n. 28
0
 @Override
 public boolean releaseIsUsed(String releaseId) throws TException {
   return handler.checkIfInUse(releaseId);
 }
Esempio n. 29
0
  @Override
  public List<Component> getMyComponents(User user) throws TException {
    assertUser(user);

    return handler.getMyComponents(user.getEmail());
  }
Esempio n. 30
0
 @Override
 public boolean componentIsUsed(String componentId) throws TException {
   return handler.checkIfInUseComponent(componentId);
 }