Lines Matching refs:success
219 OneDriveFile.prototype.loadDescriptor = function(success, error) argument
225 success(JSON.parse(req.getText()));
237 OneDriveFile.prototype.getLatestVersion = function(success, error) argument
239 this.ui.oneDrive.getFile(this.getId(), success, error);
277 OneDriveFile.prototype.loadPatchDescriptor = function(success, error) argument
285 success(JSON.parse(req.getText()));
324 OneDriveFile.prototype.save = function(revision, success, error, unloading, overwrite) argument
326 this.doSave(this.getTitle(), revision, success, error, unloading, overwrite);
335 OneDriveFile.prototype.saveAs = function(title, success, error) argument
337 this.doSave(title, false, success, error);
346 OneDriveFile.prototype.doSave = function(title, revision, success, error, unloading, overwrite) argument
355 this.saveFile(title, revision, success, error, unloading, overwrite);
365 OneDriveFile.prototype.saveFile = function(title, revision, success, error, unloading, overwrite) argument
369 if (success != null)
371 success();
404 if (success != null)
406 success();
496 if (success != null)
498 success();
521 OneDriveFile.prototype.rename = function(title, success, error) argument
536 this.save(true, success, error);
548 if (success != null)
550 success(meta);
562 OneDriveFile.prototype.move = function(folderId, success, error) argument
569 if (success != null)
571 success(meta);