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