@Override
  public AssetRenderer<BookmarksEntry> getAssetRenderer(long classPK, int type)
      throws PortalException {

    BookmarksEntry entry = BookmarksEntryLocalServiceUtil.getEntry(classPK);

    BookmarksEntryAssetRenderer bookmarksEntryAssetRenderer =
        new BookmarksEntryAssetRenderer(entry);

    bookmarksEntryAssetRenderer.setAssetRendererType(type);
    bookmarksEntryAssetRenderer.setServletContext(_servletContext);

    return bookmarksEntryAssetRenderer;
  }
  @Override
  protected void updateBaseModel(long baseModelId) throws Exception {
    BookmarksEntry entry = BookmarksEntryLocalServiceUtil.getEntry(baseModelId);

    BookmarksTestUtil.updateEntry(entry);
  }