docs: public void importXML(String name, int option) {
          console.jcrService().importXML(repository, workspace(), path(), name,
                  option, new AsyncCallback<Object>() {
              @Override
              public void onFailure(Throwable caught) {
                  SC.say(caught.getMessage());
              }
  
              @Override
              public void onSuccess(Object result) {
                  SC.say("Complete");
              }
          });
      }