예제 #1
0
  @Override
  public List<Release> getReleasesByComponentId(String id, User user) throws TException {
    assertUser(user);
    assertId(id);

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

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

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

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

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

    return handler.updateComponent(component, user);
  }
예제 #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());
  }
예제 #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());
  }
예제 #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());
  }
예제 #10
0
  @Override
  public List<Release> getReleaseSummary(User user) throws TException {
    assertUser(user);

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

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

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

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

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