protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery) { actionableDynamicQuery.setBaseLocalService( com.liferay.document.library.kernel.service.DLFileEntryTypeLocalServiceUtil.getService()); actionableDynamicQuery.setClassLoader(getClassLoader()); actionableDynamicQuery.setModelClass(DLFileEntryType.class); actionableDynamicQuery.setPrimaryKeyPropertyName("fileEntryTypeId"); }
@Override public ActionableDynamicQuery getActionableDynamicQuery() { ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery(); actionableDynamicQuery.setBaseLocalService( com.liferay.document.library.kernel.service.DLFileEntryTypeLocalServiceUtil.getService()); actionableDynamicQuery.setClassLoader(getClassLoader()); actionableDynamicQuery.setModelClass(DLFileEntryType.class); actionableDynamicQuery.setPrimaryKeyPropertyName("fileEntryTypeId"); return actionableDynamicQuery; }