Lines Matching refs:id

203 		this.userId = user.id;
213 if (this.user != null && this.user.id != this.userId)
242 for (var id in authInfo)
244 if (id == 'current' || id == curUserId) continue;
246 users.push(authInfo[id].user);
617 if (this.user != null && this.user.id != this.userId)
836 this.setUser(new DrawioUser(info.id, email, name, pic, info.locale));
837 this.userId = info.id;
865 DriveClient.prototype.copyFile = function(id, title, success, error) argument
867 if (id != null && title != null)
869 this.executeRequest({url: '/files/' + id + '/copy?fields=' + encodeURIComponent(this.allFields)
884 DriveClient.prototype.renameFile = function(id, title, success, error) argument
886 if (id != null && title != null)
889 id, {'title' : title}), success, error);
899 DriveClient.prototype.moveFile = function(id, folderId, success, error) argument
901 if (id != null && folderId != null)
903 this.executeRequest(this.createDriveRequest(id, {'parents': [{'kind':
914 DriveClient.prototype.createDriveRequest = function(id, body) argument
917 'url': '/files/' + id + '?uploadType=multipart&supportsAllDrives=true',
927 DriveClient.prototype.getLibrary = function(id, success, error) argument
929 return this.getFile(id, success, error, true, true);
935 DriveClient.prototype.loadDescriptor = function(id, success, error, fields) argument
938 …url: '/files/' + id + '?supportsAllDrives=true&fields=' + (fields != null ? fields : this.allField…
982 DriveClient.prototype.getFile = function(id, success, error, readXml, readLibrary) argument
990 url: '/files/' + id + '/revisions/' + urlParams['rev'] + '?supportsAllDrives=true'
1000 resp.headRevisionId = resp.id;
1001 resp.id = id;
1008 this.loadDescriptor(id, mxUtils.bind(this, function(resp)
1312 action: err, label: ((this.user != null) ? ('user_' + this.user.id) : 'nouser') +
1495 EditorUi.logError('Critical: Error saving to Google Drive ' + file.desc.id,
1499 'user-' + ((this.user != null) ? this.user.id : 'nouser') +
1516 … url: '/files/' + prevDesc.id + '/revisions/' + prevDesc.headRevisionId + '?supportsAllDrives=true'
1522 url: '/files/' + prevDesc.id + '/revisions/' + prevDesc.headRevisionId,
1532 action: 'from_' + prevDesc.id + '.' + prevDesc.headRevisionId +
1533 '-to_' + file.desc.id + '.' + file.desc.headRevisionId,
1534 label: (this.user != null) ? ('user_' + this.user.id) : 'nouser' +
1680 label: ((this.user != null) ? ('user_' + this.user.id) : 'nouser') +
2003 DriveClient.prototype.createUploadRequest = function(id, metadata, data, revision, binary, etag, pi… argument
2020 'fullUrl': 'https://content.googleapis.com/upload/drive/v2/files' + (id != null ? '/' + id : '') +
2022 'method': (id != null) ? 'PUT' : 'POST',
2091 this.filePickerCallback = (fn != null) ? fn : mxUtils.bind(this, function(id) argument
2093 this.ui.loadFile('G' + id);
2100 this.filePickerCallback(data.docs[0].id, data.docs[0]);
2356 docs: [{type: 'folder', id: 'root'}]});
2378 this.filePickerCallback(data.docs[0].id);
2493 DriveClient.prototype.showPermissions = function(id) argument
2499 this.ui.editor.graph.openLink('https://drive.google.com/open?id=' + id);
2517 shareClient.setItemIds([id]);
2588 for (var id in authInfo)
2590 authInfo.current = {userId: id, expires: 0}; //An expired token