Lines Matching refs:localId

190     public ResourceResponse read(String fullId, String type, String localId, Connection connection)
200 readStatement.setString(1, localId);
209 result = newResourceResponse(localId, rev.asString(), resultValue);
234 * @param localId
244 ResultSet readForUpdate(String fullId, String type, String localId, Connection connection)
253 readForUpdateStatement.setString(1, localId);
278 public void create(String fullId, String type, String localId, Map<String, Object> obj,
283 create(fullId, type, localId, obj, connection, createStatement, false);
299 protected void create(String fullId, String type, String localId, Map<String, Object> obj,
305 obj.put("_id", localId); // Save the id in the object
310 logger.debug("Preparing statement {} with {}, {}, {}", createStatement, type, localId, rev);
369 public void update(String fullId, String type, String localId, String rev,
383 rs = readForUpdate(fullId, type, localId, connection);
396 if (newLocalId != null && !localId.equals(newLocalId)) {
397 logger.debug("Object identifier is changing from " + localId + " to " + newLocalId);
399 newLocalId = localId; // If it hasn't changed, use the existing
410 updateStatement.setString(nextCol, localId);
436 public void delete(String fullId, String type, String localId, String rev, Connection connection)
446 existing = readForUpdate(fullId, type, localId, connection);
459 logger.trace("Populating prepared statement {} for {} {} {} {}", deleteStatement, fullId, type, localId, rev);
461 deleteStatement.setString(1, localId);
466 logger.trace("Deleted {} rows for id : {} {}", deletedRows, localId);
471 logger.debug("delete for id succeeded: {} revision: {}", localId, rev);