Пример #1
0
  @Override
  public RequestStatus updateComponent(Component component, User user) throws TException {
    assertNotNull(component);
    assertId(component.getId());
    assertUser(user);

    return handler.updateComponent(component, user);
  }
Пример #2
0
  @Override
  public AddDocumentRequestSummary addComponent(Component component, User user) throws TException {
    assertNotNull(component);
    assertIdUnset(component.getId());
    assertUser(user);

    return handler.addComponent(component, user.getEmail());
  }