serviceContext.setAddGuestPermissions(true);
serviceContext.setWorkflowAction(
WorkflowConstants.ACTION_SAVE_DRAFT);
BookmarksEntry entry = BookmarksEntryServiceUtil.addEntry(
serviceContext.getScopeGroupId(), folderId, name, url,
<BUG>description, serviceContext);
if (approved) {</BUG>
entry.setStatus(WorkflowConstants.STATUS_APPROVED);
entry = BookmarksEntryServiceUtil.updateEntry(
entry.getEntryId(), serviceContext.getScopeGroupId(),

serviceContext.setAddGuestPermissions(true);
serviceContext.setWorkflowAction(
WorkflowConstants.ACTION_SAVE_DRAFT);
BookmarksEntry entry = BookmarksEntryServiceUtil.addEntry(
serviceContext.getScopeGroupId(), folderId, name, url,
description, serviceContext);
serviceContext.setCommand(Constants.ADD);
serviceContext.setLayoutFullURL("http://localhost");
if (approved) {
entry.setStatus(WorkflowConstants.STATUS_APPROVED);
entry = BookmarksEntryServiceUtil.updateEntry(
entry.getEntryId(), serviceContext.getScopeGroupId(),
