Bookmark bookmark = new Bookmark(upBookmark);
bookmark.setTags(getSafeTags(bookmark.getTagList()));
GnizrDaoUtil.checkNull(bookmark);
if (GnizrDaoUtil.hasMissingId(bookmark) == true) {
throw new MissingIdException("bookmark is missing a valid id");
}
// get a copy of the bookmark before it gets modified
oldBookmark = getBookmark(bookmark.getId());