protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery) { actionableDynamicQuery.setBaseLocalService( com.liferay.portlet.calendar.service.CalEventLocalServiceUtil.getService()); actionableDynamicQuery.setClass(CalEvent.class); actionableDynamicQuery.setClassLoader(getClassLoader()); actionableDynamicQuery.setPrimaryKeyPropertyName("eventId"); }
@Override public ActionableDynamicQuery getActionableDynamicQuery() { ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery(); actionableDynamicQuery.setBaseLocalService( com.liferay.portlet.calendar.service.CalEventLocalServiceUtil.getService()); actionableDynamicQuery.setClass(CalEvent.class); actionableDynamicQuery.setClassLoader(getClassLoader()); actionableDynamicQuery.setPrimaryKeyPropertyName("eventId"); return actionableDynamicQuery; }