protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery) { actionableDynamicQuery.setBaseLocalService( com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalServiceUtil .getService()); actionableDynamicQuery.setClass(SCFrameworkVersion.class); actionableDynamicQuery.setClassLoader(getClassLoader()); actionableDynamicQuery.setPrimaryKeyPropertyName("frameworkVersionId"); }
@Override public ActionableDynamicQuery getActionableDynamicQuery() { ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery(); actionableDynamicQuery.setBaseLocalService( com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalServiceUtil .getService()); actionableDynamicQuery.setClass(SCFrameworkVersion.class); actionableDynamicQuery.setClassLoader(getClassLoader()); actionableDynamicQuery.setPrimaryKeyPropertyName("frameworkVersionId"); return actionableDynamicQuery; }