this.uriInfo = uriInfo;
this.em = em;
this.utx = utx;
bookmarkEntity = em.find(BookmarkEntity.class,
new BookmarkEntityPK(bmid, userEntity.getUserid()));
if (null == bookmarkEntity) {
throw new NotFoundException("bookmark with userid=" +
userEntity.getUserid() + " and bmid=" +
bmid + " not found\n");
}