001
014
015 package com.liferay.portlet.announcements.service.persistence;
016
017
020 public interface AnnouncementsEntryFinder {
021 public int countByScope(long userId, long classNameId, long[] classPKs,
022 int displayDateMonth, int displayDateDay, int displayDateYear,
023 int displayDateHour, int displayDateMinute, int expirationDateMonth,
024 int expirationDateDay, int expirationDateYear, int expirationDateHour,
025 int expirationDateMinute, boolean alert, int flagValue)
026 throws com.liferay.portal.kernel.exception.SystemException;
027
028 public int countByScopes(long userId,
029 java.util.LinkedHashMap<java.lang.Long, long[]> scopes,
030 int displayDateMonth, int displayDateDay, int displayDateYear,
031 int displayDateHour, int displayDateMinute, int expirationDateMonth,
032 int expirationDateDay, int expirationDateYear, int expirationDateHour,
033 int expirationDateMinute, boolean alert, int flagValue)
034 throws com.liferay.portal.kernel.exception.SystemException;
035
036 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByDisplayDate(
037 java.util.Date displayDateLT, java.util.Date displayDateGT)
038 throws com.liferay.portal.kernel.exception.SystemException;
039
040 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByScope(
041 long userId, long classNameId, long[] classPKs, int displayDateMonth,
042 int displayDateDay, int displayDateYear, int displayDateHour,
043 int displayDateMinute, int expirationDateMonth, int expirationDateDay,
044 int expirationDateYear, int expirationDateHour,
045 int expirationDateMinute, boolean alert, int flagValue, int start,
046 int end) throws com.liferay.portal.kernel.exception.SystemException;
047
048 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByScopes(
049 long userId, java.util.LinkedHashMap<java.lang.Long, long[]> scopes,
050 int displayDateMonth, int displayDateDay, int displayDateYear,
051 int displayDateHour, int displayDateMinute, int expirationDateMonth,
052 int expirationDateDay, int expirationDateYear, int expirationDateHour,
053 int expirationDateMinute, boolean alert, int flagValue, int start,
054 int end) throws com.liferay.portal.kernel.exception.SystemException;
055 }