[tomboy] Implement GetAllNoteUUIDs.



commit 3cdcd03b4838a5168d3c8da62ba1ae6a221e7ed8
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date:   Mon May 18 06:58:21 2009 -0700

    Implement GetAllNoteUUIDs.
---
 Tomboy/Addins/WebSyncService/WebSyncServer.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/Tomboy/Addins/WebSyncService/WebSyncServer.cs b/Tomboy/Addins/WebSyncService/WebSyncServer.cs
index b330811..8edd8fe 100644
--- a/Tomboy/Addins/WebSyncService/WebSyncServer.cs
+++ b/Tomboy/Addins/WebSyncService/WebSyncServer.cs
@@ -90,7 +90,11 @@ namespace Tomboy.WebSync
 		
 		public IList<string> GetAllNoteUUIDs ()
 		{
-			throw new System.NotImplementedException();
+			RefreshUser ();	// TODO: Test that latest sync rev hasn't changed
+			List<string> uuids = new List<string> ();
+			foreach (NoteInfo noteInfo in user.GetNotes (false))
+				uuids.Add (noteInfo.Guid);
+			return uuids;
 		}
 		
 		public IDictionary<string, NoteUpdate> GetNoteUpdatesSince (int revision)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]