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
026 @ProviderType
027 public class CalEventFinderUtil {
028 public static int countByG_SD_T(long groupId, java.util.Date startDateGT,
029 java.util.Date startDateLT, boolean timeZoneSensitive,
030 java.lang.String[] types) {
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 return getFinder().findByFutureReminders();
038 }
039
040 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNoAssets() {
041 return getFinder().findByNoAssets();
042 }
043
044 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_SD_T(
045 long groupId, java.util.Date startDateGT, java.util.Date startDateLT,
046 boolean timeZoneSensitive, java.lang.String[] types) {
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 return getFinder()
056 .findByG_SD_T(groupId, startDateGT, startDateLT,
057 timeZoneSensitive, types, start, end);
058 }
059
060 public static CalEventFinder getFinder() {
061 if (_finder == null) {
062 _finder = (CalEventFinder)PortalBeanLocatorUtil.locate(CalEventFinder.class.getName());
063
064 ReferenceRegistry.registerReference(CalEventFinderUtil.class,
065 "_finder");
066 }
067
068 return _finder;
069 }
070
071 public void setFinder(CalEventFinder finder) {
072 _finder = finder;
073
074 ReferenceRegistry.registerReference(CalEventFinderUtil.class, "_finder");
075 }
076
077 private static CalEventFinder _finder;
078 }