}
int numAdded = 0;
int numUpdated = 0;
List<Bookmark> addToMyBookmarks = new ArrayList<Bookmark>();
Delicious dConn = new Delicious(dUsername, dPassword);
logger.debug("created an access object to del.icio.us");
List posts = dConn.getAllPosts();
if (posts != null && posts.size() > 0) {
for(Iterator it = posts.iterator(); it.hasNext();) {
Post aPost = (Post) it.next();
Bookmark bmark = createBookmark(aPost);
int bmid = bmarkManager.getBookmarkId(gUser,bmark.getLink().getUrl());