com.liferay.portlet.calendar.service.persistence
Class CalEventUtil
java.lang.Object
com.liferay.portlet.calendar.service.persistence.CalEventUtil
public class CalEventUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
CalEventPersistence
,
CalEventPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(CalEvent calEvent)
|
static void |
cacheResult(java.util.List<CalEvent> calEvents)
|
static void |
clearCache()
|
static void |
clearCache(CalEvent calEvent)
|
static int |
countAll()
|
static int |
countByCompanyId(long companyId)
|
static int |
countByG_R(long groupId,
boolean repeating)
|
static int |
countByG_T(long groupId,
java.lang.String type)
|
static int |
countByGroupId(long groupId)
|
static int |
countByRemindBy(int remindBy)
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
static int |
countByUuid(java.lang.String uuid)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static CalEvent |
create(long eventId)
|
static CalEvent |
fetchByPrimaryKey(long eventId)
|
static CalEvent |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
static CalEvent |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
|
static java.util.List<CalEvent> |
findAll()
|
static java.util.List<CalEvent> |
findAll(int start,
int end)
|
static java.util.List<CalEvent> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent[] |
findByCompanyId_PrevAndNext(long eventId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<CalEvent> |
findByCompanyId(long companyId)
|
static java.util.List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end)
|
static java.util.List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByG_R_First(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByG_R_Last(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent[] |
findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<CalEvent> |
findByG_R(long groupId,
boolean repeating)
|
static java.util.List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end)
|
static java.util.List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByG_T_First(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByG_T_Last(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent[] |
findByG_T_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String type)
|
static java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String type,
int start,
int end)
|
static java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent[] |
findByGroupId_PrevAndNext(long eventId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<CalEvent> |
findByGroupId(long groupId)
|
static java.util.List<CalEvent> |
findByGroupId(long groupId,
int start,
int end)
|
static java.util.List<CalEvent> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByPrimaryKey(long eventId)
|
static CalEvent |
findByRemindBy_First(int remindBy,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByRemindBy_Last(int remindBy,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent[] |
findByRemindBy_PrevAndNext(long eventId,
int remindBy,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<CalEvent> |
findByRemindBy(int remindBy)
|
static java.util.List<CalEvent> |
findByRemindBy(int remindBy,
int start,
int end)
|
static java.util.List<CalEvent> |
findByRemindBy(int remindBy,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent |
findByUUID_G(java.lang.String uuid,
long groupId)
|
static CalEvent |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static CalEvent[] |
findByUuid_PrevAndNext(long eventId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<CalEvent> |
findByUuid(java.lang.String uuid)
|
static java.util.List<CalEvent> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
static java.util.List<CalEvent> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static CalEventPersistence |
getPersistence()
|
static CalEvent |
remove(CalEvent calEvent)
|
static CalEvent |
remove(long eventId)
|
static void |
removeAll()
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByG_R(long groupId,
boolean repeating)
|
static void |
removeByG_T(long groupId,
java.lang.String type)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeByRemindBy(int remindBy)
|
static void |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
static void |
removeByUuid(java.lang.String uuid)
|
void |
setPersistence(CalEventPersistence persistence)
|
static CalEvent |
update(CalEvent calEvent)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static CalEvent |
update(CalEvent calEvent,
boolean merge)
|
static CalEvent |
updateImpl(CalEvent calEvent,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalEventUtil
public CalEventUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(CalEvent calEvent)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(CalEvent)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static CalEvent remove(CalEvent calEvent)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static CalEvent update(CalEvent calEvent,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(CalEvent calEvent)
cacheResult
public static void cacheResult(java.util.List<CalEvent> calEvents)
create
public static CalEvent create(long eventId)
remove
public static CalEvent remove(long eventId)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
update
public static CalEvent update(CalEvent calEvent)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static CalEvent updateImpl(CalEvent calEvent,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static CalEvent findByPrimaryKey(long eventId)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
fetchByPrimaryKey
public static CalEvent fetchByPrimaryKey(long eventId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List<CalEvent> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List<CalEvent> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List<CalEvent> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
public static CalEvent findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByUuid_Last
public static CalEvent findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByUuid_PrevAndNext
public static CalEvent[] findByUuid_PrevAndNext(long eventId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByUUID_G
public static CalEvent findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
fetchByUUID_G
public static CalEvent fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByUUID_G
public static CalEvent fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<CalEvent> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<CalEvent> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<CalEvent> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static CalEvent findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByCompanyId_Last
public static CalEvent findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByCompanyId_PrevAndNext
public static CalEvent[] findByCompanyId_PrevAndNext(long eventId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByGroupId
public static java.util.List<CalEvent> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<CalEvent> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<CalEvent> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public static CalEvent findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByGroupId_Last
public static CalEvent findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByGroupId_PrevAndNext
public static CalEvent[] findByGroupId_PrevAndNext(long eventId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByRemindBy
public static java.util.List<CalEvent> findByRemindBy(int remindBy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRemindBy
public static java.util.List<CalEvent> findByRemindBy(int remindBy,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRemindBy
public static java.util.List<CalEvent> findByRemindBy(int remindBy,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRemindBy_First
public static CalEvent findByRemindBy_First(int remindBy,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByRemindBy_Last
public static CalEvent findByRemindBy_Last(int remindBy,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByRemindBy_PrevAndNext
public static CalEvent[] findByRemindBy_PrevAndNext(long eventId,
int remindBy,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_T
public static java.util.List<CalEvent> findByG_T(long groupId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_T
public static java.util.List<CalEvent> findByG_T(long groupId,
java.lang.String type,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_T
public static java.util.List<CalEvent> findByG_T(long groupId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_T_First
public static CalEvent findByG_T_First(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_T_Last
public static CalEvent findByG_T_Last(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_T_PrevAndNext
public static CalEvent[] findByG_T_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_R
public static java.util.List<CalEvent> findByG_R(long groupId,
boolean repeating)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R
public static java.util.List<CalEvent> findByG_R(long groupId,
boolean repeating,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R
public static java.util.List<CalEvent> findByG_R(long groupId,
boolean repeating,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R_First
public static CalEvent findByG_R_First(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_R_Last
public static CalEvent findByG_R_Last(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_R_PrevAndNext
public static CalEvent[] findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findAll
public static java.util.List<CalEvent> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<CalEvent> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<CalEvent> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
public static void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUUID_G
public static void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
public static void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByRemindBy
public static void removeByRemindBy(int remindBy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_T
public static void removeByG_T(long groupId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_R
public static void removeByG_R(long groupId,
boolean repeating)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
public static int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUUID_G
public static int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByRemindBy
public static int countByRemindBy(int remindBy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_T
public static int countByG_T(long groupId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_R
public static int countByG_R(long groupId,
boolean repeating)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static CalEventPersistence getPersistence()
setPersistence
public void setPersistence(CalEventPersistence persistence)