/** * Used in: SAVE * * <p>Perform a save operation on all of the given NoSQLEntity objects. This will save each entity * to disk using the entities bucket and entityId. If an entity already exists with the same ID in * that bucket, this save will overwrite the existing entity. * * <p>If any OperationObservers were registered, they will be triggered on the UI thread after the * save is complete. * * @param entities to save. * @return a CancellableOperation for canceling the in-flight request before it's finished. */ public CancellableOperation save(List<NoSQLEntity<T>> entities) { query.save(entities); dispatchQueue.add(query); return query; }