001
014
015 package com.liferay.portlet.calendar.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
023 public class CalEventFinderUtil {
024 public static int countByG_SD_T(long groupId, java.util.Date startDateGT,
025 java.util.Date startDateLT, boolean timeZoneSensitive,
026 java.lang.String[] types)
027 throws com.liferay.portal.kernel.exception.SystemException {
028 return getFinder()
029 .countByG_SD_T(groupId, startDateGT, startDateLT,
030 timeZoneSensitive, types);
031 }
032
033 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByFutureReminders()
034 throws com.liferay.portal.kernel.exception.SystemException {
035 return getFinder().findByFutureReminders();
036 }
037
038 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNoAssets()
039 throws com.liferay.portal.kernel.exception.SystemException {
040 return getFinder().findByNoAssets();
041 }
042
043 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_SD_T(
044 long groupId, java.util.Date startDateGT, java.util.Date startDateLT,
045 boolean timeZoneSensitive, java.lang.String[] types)
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return getFinder()
048 .findByG_SD_T(groupId, startDateGT, startDateLT,
049 timeZoneSensitive, types);
050 }
051
052 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_SD_T(
053 long groupId, java.util.Date startDateGT, java.util.Date startDateLT,
054 boolean timeZoneSensitive, java.lang.String[] types, int start, int end)
055 throws com.liferay.portal.kernel.exception.SystemException {
056 return getFinder()
057 .findByG_SD_T(groupId, startDateGT, startDateLT,
058 timeZoneSensitive, types, start, end);
059 }
060
061 public static CalEventFinder getFinder() {
062 if (_finder == null) {
063 _finder = (CalEventFinder)PortalBeanLocatorUtil.locate(CalEventFinder.class.getName());
064
065 ReferenceRegistry.registerReference(CalEventFinderUtil.class,
066 "_finder");
067 }
068
069 return _finder;
070 }
071
072 public void setFinder(CalEventFinder finder) {
073 _finder = finder;
074
075 ReferenceRegistry.registerReference(CalEventFinderUtil.class, "_finder");
076 }
077
078 private static CalEventFinder _finder;
079 }