// Save an individual notebook
public void addNotebook(LinkedNotebook tempNotebook, boolean isDirty) {
boolean check;
NSqlQuery query = new NSqlQuery(db.getConnection());
check = query.prepare("Insert Into LinkedNotebook (guid, shareName, username, "
+"shardId, shareKey, uri, updateSequenceNumber, isDirty, lastSequenceNumber, "
+ "lastSequenceDate, notebookGuid) "
+ " Values("
+":guid, :shareName, :username, "
+":shardId, :shareKey, :uri,:usn, :isDirty, 0, 0, :notebookGuid)");