Пример #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);
 }