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