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
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
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 |
countByUUID_G(java.lang.String uuid,
long groupId)
|
static int |
countByUuid(java.lang.String uuid)
|
static CalEvent |
create(long eventId)
|
static CalEvent |
fetchByPrimaryKey(long eventId)
|
static CalEvent |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent |
findByG_R_First(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent |
findByG_R_Last(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent[] |
findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByG_R(long groupId,
boolean repeating)
|
static java.util.List |
findByG_R(long groupId,
boolean repeating,
int begin,
int end)
|
static java.util.List |
findByG_R(long groupId,
boolean repeating,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent |
findByG_T_First(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent |
findByG_T_Last(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent[] |
findByG_T_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByG_T(long groupId,
java.lang.String type)
|
static java.util.List |
findByG_T(long groupId,
java.lang.String type,
int begin,
int end)
|
static java.util.List |
findByG_T(long groupId,
java.lang.String type,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent[] |
findByGroupId_PrevAndNext(long eventId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByGroupId(long groupId)
|
static java.util.List |
findByGroupId(long groupId,
int begin,
int end)
|
static java.util.List |
findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent |
findByPrimaryKey(long eventId)
|
static CalEvent |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent |
findByUUID_G(java.lang.String uuid,
long groupId)
|
static CalEvent |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static CalEvent[] |
findByUuid_PrevAndNext(long eventId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByUuid(java.lang.String uuid)
|
static java.util.List |
findByUuid(java.lang.String uuid,
int begin,
int end)
|
static java.util.List |
findByUuid(java.lang.String uuid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static CalEventPersistence |
getPersistence()
|
static CalEvent |
remove(CalEvent calEvent)
|
static CalEvent |
remove(long eventId)
|
static void |
removeAll()
|
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 |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
static void |
removeByUuid(java.lang.String uuid)
|
void |
setPersistence(CalEventPersistence persistence)
|
static CalEvent |
update(CalEvent calEvent)
|
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()
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
remove
public static CalEvent remove(CalEvent calEvent)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static CalEvent update(CalEvent calEvent)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static CalEvent update(CalEvent calEvent,
boolean merge)
throws com.liferay.portal.SystemException
- 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 findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List findByUuid(java.lang.String uuid,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List findByUuid(java.lang.String uuid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
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 obc)
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 obc)
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 obc)
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
findByGroupId
public static java.util.List findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List findByGroupId(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
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 obc)
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 obc)
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 obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_T
public static java.util.List 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 findByG_T(long groupId,
java.lang.String type,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_T
public static java.util.List findByG_T(long groupId,
java.lang.String type,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
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 obc)
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 obc)
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 obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_R
public static java.util.List findByG_R(long groupId,
boolean repeating)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R
public static java.util.List findByG_R(long groupId,
boolean repeating,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R
public static java.util.List findByG_R(long groupId,
boolean repeating,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
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 obc)
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 obc)
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 obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
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
removeByGroupId
public static void removeByGroupId(long groupId)
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
countByGroupId
public static int countByGroupId(long groupId)
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)