@Override public RequestStatus updateComponent(Component component, User user) throws TException { assertNotNull(component); assertId(component.getId()); assertUser(user); return handler.updateComponent(component, user); }
@Override public AddDocumentRequestSummary addComponent(Component component, User user) throws TException { assertNotNull(component); assertIdUnset(component.getId()); assertUser(user); return handler.addComponent(component, user.getEmail()); }