Liferay 6.1.2-ce-ga3

com.liferay.portlet.announcements.service.persistence
Interface AnnouncementsEntryFinder

All Known Implementing Classes:
AnnouncementsEntryFinderImpl

public interface AnnouncementsEntryFinder


Method Summary
 int countByScope(long userId, long classNameId, long[] classPKs, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean alert, int flagValue)
           
 int countByScopes(long userId, LinkedHashMap<Long,long[]> scopes, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean alert, int flagValue)
           
 List<AnnouncementsEntry> findByDisplayDate(Date displayDateLT, Date displayDateGT)
           
 List<AnnouncementsEntry> findByScope(long userId, long classNameId, long[] classPKs, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean alert, int flagValue, int start, int end)
           
 List<AnnouncementsEntry> findByScopes(long userId, LinkedHashMap<Long,long[]> scopes, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean alert, int flagValue, int start, int end)
           
 

Method Detail

countByScope

int countByScope(long userId,
                 long classNameId,
                 long[] classPKs,
                 int displayDateMonth,
                 int displayDateDay,
                 int displayDateYear,
                 int displayDateHour,
                 int displayDateMinute,
                 int expirationDateMonth,
                 int expirationDateDay,
                 int expirationDateYear,
                 int expirationDateHour,
                 int expirationDateMinute,
                 boolean alert,
                 int flagValue)
                 throws SystemException
Throws:
SystemException

countByScopes

int countByScopes(long userId,
                  LinkedHashMap<Long,long[]> scopes,
                  int displayDateMonth,
                  int displayDateDay,
                  int displayDateYear,
                  int displayDateHour,
                  int displayDateMinute,
                  int expirationDateMonth,
                  int expirationDateDay,
                  int expirationDateYear,
                  int expirationDateHour,
                  int expirationDateMinute,
                  boolean alert,
                  int flagValue)
                  throws SystemException
Throws:
SystemException

findByDisplayDate

List<AnnouncementsEntry> findByDisplayDate(Date displayDateLT,
                                           Date displayDateGT)
                                           throws SystemException
Throws:
SystemException

findByScope

List<AnnouncementsEntry> findByScope(long userId,
                                     long classNameId,
                                     long[] classPKs,
                                     int displayDateMonth,
                                     int displayDateDay,
                                     int displayDateYear,
                                     int displayDateHour,
                                     int displayDateMinute,
                                     int expirationDateMonth,
                                     int expirationDateDay,
                                     int expirationDateYear,
                                     int expirationDateHour,
                                     int expirationDateMinute,
                                     boolean alert,
                                     int flagValue,
                                     int start,
                                     int end)
                                     throws SystemException
Throws:
SystemException

findByScopes

List<AnnouncementsEntry> findByScopes(long userId,
                                      LinkedHashMap<Long,long[]> scopes,
                                      int displayDateMonth,
                                      int displayDateDay,
                                      int displayDateYear,
                                      int displayDateHour,
                                      int displayDateMinute,
                                      int expirationDateMonth,
                                      int expirationDateDay,
                                      int expirationDateYear,
                                      int expirationDateHour,
                                      int expirationDateMinute,
                                      boolean alert,
                                      int flagValue,
                                      int start,
                                      int end)
                                      throws SystemException
Throws:
SystemException

Liferay 6.1.2-ce-ga3