protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery) {
    actionableDynamicQuery.setBaseLocalService(
        com.liferay.bookmarks.service.BookmarksFolderLocalServiceUtil.getService());
    actionableDynamicQuery.setClassLoader(getClassLoader());
    actionableDynamicQuery.setModelClass(BookmarksFolder.class);

    actionableDynamicQuery.setPrimaryKeyPropertyName("folderId");
  }
  @Override
  public ActionableDynamicQuery getActionableDynamicQuery() {
    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();

    actionableDynamicQuery.setBaseLocalService(
        com.liferay.bookmarks.service.BookmarksFolderLocalServiceUtil.getService());
    actionableDynamicQuery.setClassLoader(getClassLoader());
    actionableDynamicQuery.setModelClass(BookmarksFolder.class);

    actionableDynamicQuery.setPrimaryKeyPropertyName("folderId");

    return actionableDynamicQuery;
  }