protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery) {
    actionableDynamicQuery.setBaseLocalService(
        com.liferay.portal.service.RecentLayoutRevisionLocalServiceUtil.getService());
    actionableDynamicQuery.setClassLoader(getClassLoader());
    actionableDynamicQuery.setModelClass(RecentLayoutRevision.class);

    actionableDynamicQuery.setPrimaryKeyPropertyName("recentLayoutRevisionId");
  }
  public RecentLayoutRevisionActionableDynamicQuery() {
    setBaseLocalService(RecentLayoutRevisionLocalServiceUtil.getService());

    setClassLoader(PortalClassLoaderUtil.getClassLoader());

    setModelClass(RecentLayoutRevision.class);

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

    actionableDynamicQuery.setBaseLocalService(
        com.liferay.portal.service.RecentLayoutRevisionLocalServiceUtil.getService());
    actionableDynamicQuery.setClassLoader(getClassLoader());
    actionableDynamicQuery.setModelClass(RecentLayoutRevision.class);

    actionableDynamicQuery.setPrimaryKeyPropertyName("recentLayoutRevisionId");

    return actionableDynamicQuery;
  }