Update the specified entries

@param {object} worksheetInfo SheetID and worksheetID
@param {array} entries
335033
async function updateEntries(worksheetInfo, entries) {
    let requests = entries.map(entry => {
        var payload = Object.assign({
                body: api.converter.updateEntryRequest(entry),
                entityId: entry._id
            },
            worksheetInfo
        );

        return executeRequest('update_entry', payload);
    });

    let response = Promise.all(requests);
    cache.clear();

    return response;
}
779384
def push(self, vs):
        ''
        if vs:
            vs.vd = self
            if vs in self.sheets:
                self.sheets.remove(vs)
                self.sheets.insert(0, vs)
            elif not vs.loaded:
                self.sheets.insert(0, vs)
                vs.reload()
                vs.recalc()  # set up Columns
            else:
                self.sheets.insert(0, vs)

            if vs.precious and vs not in vs.vd.allSheets:
                vs.vd.allSheets[vs] = vs.name
            return vs
924006
public final void setEntries(@NonNull final CharSequence[] entries) {
        Condition.INSTANCE.ensureNotNull(entries, "The entries may not be null");
        this.entries = entries;
    }
879493
function(entries) {
        for ( var assetKey in entries ) {
            if ( entries.hasOwnProperty(assetKey) === false ) { continue; }
            entry = entries[assetKey];
            if ( entry.content !== 'filters' ) { continue; }
            newAvailableLists[assetKey] = Object.assign({}, entry);
        }

        // Load set of currently selected filter lists.
        var listKeySet = new Set(µb.selectedFilterLists);
        for ( listKey in newAvailableLists ) {
            if ( newAvailableLists.hasOwnProperty(listKey) ) {
                newAvailableLists[listKey].off = !listKeySet.has(listKey);
            }
        }

        finalize();
        callback(newAvailableLists);
    }
801587
public void updateInNavigation(CmsClientSitemapEntry entry) {

        if (entry.isInNavigation()) {
            m_inNavigationStyle.setValue(null);
            getListItemWidget().setTitleEditable(true);
        } else {
            m_inNavigationStyle.setValue(CSS.notInNavigationEntry());
            getListItemWidget().setTitleEditable(false);
        }
    }
1330945
void fillDeltaEntries(Set<PageLeafEntry> entries,
                        Row row,
                        int tail)
  {
    int rowOffset = _rowHead;
    
    byte []buffer = _buffer;

    while (rowOffset < tail) {
      int code = buffer[rowOffset] & CODE_MASK;

      int len = getLength(code, row);
      if (code == INSERT || code == REMOVE) {
        PageLeafEntry entry = new PageLeafEntry(this, row, rowOffset, len, code);
      
        entries.add(entry);
      }
      
      rowOffset += len;
    }
  }
1243091
public void updateSet (String setName, DSet.Entry entry)
    {
        requestEntryUpdate(setName, getSet(setName), entry);
    }
1134254
public <T> void setEntries(Collection<I_CmsSimpleContextMenuEntry<T>> entries, T data) {

        removeAllItems();
        Locale locale = UI.getCurrent().getLocale();
        for (final I_CmsSimpleContextMenuEntry<T> entry : entries) {
            CmsMenuItemVisibilityMode visibility = entry.getVisibility(data);
            if (!visibility.isInVisible()) {
                ContextMenuItem item = addItem(entry.getTitle(locale));
                if (visibility.isInActive()) {
                    item.setEnabled(false);
                    if (visibility.getMessageKey() != null) {
                        item.setDescription(CmsVaadinUtils.getMessageText(visibility.getMessageKey()));
                    }
                } else {
                    item.setData(data);
                    item.addItemClickListener(new ContextMenuItemClickListener() {

                        @SuppressWarnings("unchecked")
                        public void contextMenuItemClicked(ContextMenuItemClickEvent event) {

                            entry.executeAction((T)((ContextMenuItem)event.getSource()).getData());
                        }
                    });
                }
                if (entry instanceof I_CmsSimpleContextMenuEntry.I_HasCssStyles) {
                    item.addStyleName(((I_CmsSimpleContextMenuEntry.I_HasCssStyles)entry).getStyles());
                }
            }
        }
    }
380562
private static void addHarEntry(HarEntries entries, RecordHistory recordHistory) {
		entries.addEntry(
				HarUtils.createHarEntry(
						recordHistory.getHistoryId(),
						recordHistory.getHistoryType(),
						recordHistory.getHttpMessage()));
	}
1292325
@JsonProperty(value = "entries")
    public void setEntries(List<Object> entries) {
        if (entries == null) {
            this.entries = new ArrayList<>();
        } else {
            this.entries = entries;
        }
    }
75845
public void updateFromEntry(UpdateInodeFileEntry entry) {
    if (entry.hasPersistJobId()) {
      setPersistJobId(entry.getPersistJobId());
    }
    if (entry.hasReplicationMax()) {
      setReplicationMax(entry.getReplicationMax());
    }
    if (entry.hasReplicationMin()) {
      setReplicationMin(entry.getReplicationMin());
    }
    if (entry.hasTempUfsPath()) {
      setTempUfsPath(entry.getTempUfsPath());
    }
    if (entry.hasBlockSizeBytes()) {
      setBlockSizeBytes(entry.getBlockSizeBytes());
    }
    if (entry.hasCacheable()) {
      setCacheable(entry.getCacheable());
    }
    if (entry.hasCompleted()) {
      setCompleted(entry.getCompleted());
    }
    if (entry.hasLength()) {
      setLength(entry.getLength());
    }
    if (entry.getSetBlocksCount() > 0) {
      setBlockIds(entry.getSetBlocksList());
    }
  }
1280161
function (entry) {
	
	if (typeof entry !== 'string')
		return false;
	
	for (var i=0; i < l_entries.length; i++)
		if (l_entries[i] === entry)
			break;
	
	// store only if it's new entry
	if (i === l_entries.length) {
		l_entries.push(entry);	
		return true;
	}
	
	return false;
}
144806
public void setEntries(java.util.Collection<DatasetEntry> entries) {
        if (entries == null) {
            this.entries = null;
            return;
        }

        this.entries = new java.util.ArrayList<DatasetEntry>(entries);
    }
408617
protected void update(List<TableInfo> tableInfos)
    {
        for (TableInfo tableInfo : tableInfos)
        {
            DBObject options = setCollectionProperties(tableInfo);
            DB db = mongo.getDB(databaseName);
            DBCollection collection = null;
            if (tableInfo.getLobColumnInfo().isEmpty())
            {
                if (!db.collectionExists(tableInfo.getTableName()))
                {
                    collection = db.createCollection(tableInfo.getTableName(), options);
                    KunderaCoreUtils.printQuery("Create collection: " + tableInfo.getTableName(), showQuery);
                }

                collection = collection != null ? collection : db.getCollection(tableInfo.getTableName());

                boolean isCappedCollection = isCappedCollection(tableInfo);
                if (!isCappedCollection)
                {
                    createIndexes(tableInfo, collection);
                }
            }
            else
            {
                checkMultipleLobs(tableInfo);
                if (!db.collectionExists(tableInfo.getTableName() + MongoDBUtils.FILES))
                {
                    coll = db.createCollection(tableInfo.getTableName() + MongoDBUtils.FILES, options);
                    createUniqueIndexGFS(coll, tableInfo.getIdColumnName());
                    KunderaCoreUtils.printQuery("Create collection: " + tableInfo.getTableName() + MongoDBUtils.FILES,
                            showQuery);
                }

                if (!db.collectionExists(tableInfo.getTableName() + MongoDBUtils.CHUNKS))
                {
                    db.createCollection(tableInfo.getTableName() + MongoDBUtils.CHUNKS, options);
                    KunderaCoreUtils.printQuery("Create collection: " + tableInfo.getTableName() + MongoDBUtils.CHUNKS,
                            showQuery);
                }
            }
        }
    }
707890
private void updateAll(CmsClientSitemapEntry entry) {

        CmsSitemapTreeItem item = getTreeItem(entry.getId());
        if (item != null) {
            item.updateEntry(entry);
            item.updateSitePath(entry.getSitePath());
            for (CmsClientSitemapEntry child : entry.getSubEntries()) {
                updateAll(child);
            }
        }
    }
400344
def change_fill(rgb = 'ffffff')
      validate_worksheet
      Color.validate_color(rgb)
      self.style_index = workbook.modify_fill(self.style_index, rgb)
    end
345035
function ensureRowsDeleted(rows) {
      async.whilst(
        () => rows.length,
        (cb) => {
          rows[0].del(() => {
            sheet.getRows(query_options, (err, _rows) => {
              rows = _rows;
              cb();
            });
          });
        },
        next);
    }