com.liferay.portlet.announcements.service.persistence
Class AnnouncementsEntryFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AnnouncementsEntry>
com.liferay.portlet.announcements.service.persistence.AnnouncementsEntryFinderImpl
- All Implemented Interfaces:
- SessionFactory, BasePersistence<AnnouncementsEntry>, AnnouncementsEntryFinder
public class AnnouncementsEntryFinderImpl
- extends BasePersistenceImpl<AnnouncementsEntry>
- implements AnnouncementsEntryFinder
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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 |
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, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, 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 |
COUNT_BY_HIDDEN
public static final String COUNT_BY_HIDDEN
COUNT_BY_NOT_HIDDEN
public static final String COUNT_BY_NOT_HIDDEN
FIND_BY_DISPLAY_DATE
public static final String FIND_BY_DISPLAY_DATE
FIND_BY_HIDDEN
public static final String FIND_BY_HIDDEN
FIND_BY_NOT_HIDDEN
public static final String FIND_BY_NOT_HIDDEN
AnnouncementsEntryFinderImpl
public AnnouncementsEntryFinderImpl()
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(LinkedHashMap<Long,long[]> scopes)
getClassPKs
protected String getClassPKs(long classNameId,
long[] classPKs)
setClassPKs
protected void setClassPKs(QueryPos qPos,
LinkedHashMap<Long,long[]> scopes)
setClassPKs
protected void setClassPKs(QueryPos qPos,
long classNameId,
long[] classPKs)
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)