Liferay 6.0.5

com.liferay.portlet.announcements.service.persistence
Class AnnouncementsEntryFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AnnouncementsEntry>
      extended by com.liferay.portlet.announcements.service.persistence.AnnouncementsEntryFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<AnnouncementsEntry>, AnnouncementsEntryFinder

public class AnnouncementsEntryFinderImpl
extends BasePersistenceImpl<AnnouncementsEntry>
implements AnnouncementsEntryFinder


Field Summary
static String COUNT_BY_HIDDEN
           
static String COUNT_BY_NOT_HIDDEN
           
static String FIND_BY_DISPLAY_DATE
           
static String FIND_BY_HIDDEN
           
static String FIND_BY_NOT_HIDDEN
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
AnnouncementsEntryFinderImpl()
           
 
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)
           
protected  String getClassPKs(LinkedHashMap<Long,long[]> scopes)
           
protected  String getClassPKs(long classNameId, long[] classPKs)
           
protected  void setClassPKs(QueryPos qPos, LinkedHashMap<Long,long[]> scopes)
           
protected  void setClassPKs(QueryPos qPos, long classNameId, long[] classPKs)
           
protected  void setDates(QueryPos qPos, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, removeImpl, setDataSource, setSessionFactory, unregisterListener, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_HIDDEN

public static String COUNT_BY_HIDDEN

COUNT_BY_NOT_HIDDEN

public static String COUNT_BY_NOT_HIDDEN

FIND_BY_DISPLAY_DATE

public static String FIND_BY_DISPLAY_DATE

FIND_BY_HIDDEN

public static String FIND_BY_HIDDEN

FIND_BY_NOT_HIDDEN

public static String FIND_BY_NOT_HIDDEN
Constructor Detail

AnnouncementsEntryFinderImpl

public AnnouncementsEntryFinderImpl()
Method Detail

countByScope

public 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
Specified by:
countByScope in interface AnnouncementsEntryFinder
Throws:
SystemException

countByScopes

public 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
Specified by:
countByScopes in interface AnnouncementsEntryFinder
Throws:
SystemException

findByDisplayDate

public List<AnnouncementsEntry> findByDisplayDate(Date displayDateLT,
                                                  Date displayDateGT)
                                           throws SystemException
Specified by:
findByDisplayDate in interface AnnouncementsEntryFinder
Throws:
SystemException

findByScope

public 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
Specified by:
findByScope in interface AnnouncementsEntryFinder
Throws:
SystemException

findByScopes

public 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
Specified by:
findByScopes in interface AnnouncementsEntryFinder
Throws:
SystemException

getClassPKs

protected String getClassPKs(long classNameId,
                             long[] classPKs)

getClassPKs

protected String getClassPKs(LinkedHashMap<Long,long[]> scopes)

setClassPKs

protected void setClassPKs(QueryPos qPos,
                           long classNameId,
                           long[] classPKs)

setClassPKs

protected void setClassPKs(QueryPos qPos,
                           LinkedHashMap<Long,long[]> scopes)

setDates

protected void setDates(QueryPos qPos,
                        int displayDateMonth,
                        int displayDateDay,
                        int displayDateYear,
                        int displayDateHour,
                        int displayDateMinute,
                        int expirationDateMonth,
                        int expirationDateDay,
                        int expirationDateYear,
                        int expirationDateHour,
                        int expirationDateMinute)

Liferay 6.0.5