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