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 com.liferay.portlet.calendar.model.CalEvent |
create(long eventId)
|
static com.liferay.portlet.calendar.model.CalEvent |
fetchByPrimaryKey(long eventId)
|
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 com.liferay.portlet.calendar.model.CalEvent |
findByG_R_First(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.calendar.model.CalEvent |
findByG_R_Last(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.calendar.model.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 com.liferay.portlet.calendar.model.CalEvent |
findByG_T_First(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.calendar.model.CalEvent |
findByG_T_Last(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.calendar.model.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 com.liferay.portlet.calendar.model.CalEvent |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.calendar.model.CalEvent |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.calendar.model.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 com.liferay.portlet.calendar.model.CalEvent |
findByPrimaryKey(long eventId)
|
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 com.liferay.portlet.calendar.model.CalEvent |
remove(com.liferay.portlet.calendar.model.CalEvent calEvent)
|
static com.liferay.portlet.calendar.model.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)
|
void |
setPersistence(CalEventPersistence persistence)
|
static com.liferay.portlet.calendar.model.CalEvent |
update(com.liferay.portlet.calendar.model.CalEvent calEvent)
|
static com.liferay.portlet.calendar.model.CalEvent |
update(com.liferay.portlet.calendar.model.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 com.liferay.portlet.calendar.model.CalEvent create(long eventId)
remove
public static com.liferay.portlet.calendar.model.CalEvent remove(long eventId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.calendar.NoSuchEventException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException
remove
public static com.liferay.portlet.calendar.model.CalEvent remove(com.liferay.portlet.calendar.model.CalEvent calEvent)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.calendar.model.CalEvent update(com.liferay.portlet.calendar.model.CalEvent calEvent)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.calendar.model.CalEvent update(com.liferay.portlet.calendar.model.CalEvent calEvent,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static com.liferay.portlet.calendar.model.CalEvent findByPrimaryKey(long eventId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.calendar.NoSuchEventException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException
fetchByPrimaryKey
public static com.liferay.portlet.calendar.model.CalEvent fetchByPrimaryKey(long eventId)
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 com.liferay.portlet.calendar.model.CalEvent findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.calendar.NoSuchEventException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException
findByGroupId_Last
public static com.liferay.portlet.calendar.model.CalEvent findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.calendar.NoSuchEventException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException
findByGroupId_PrevAndNext
public static com.liferay.portlet.calendar.model.CalEvent[] findByGroupId_PrevAndNext(long eventId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.calendar.NoSuchEventException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.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 com.liferay.portlet.calendar.model.CalEvent findByG_T_First(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.calendar.NoSuchEventException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException
findByG_T_Last
public static com.liferay.portlet.calendar.model.CalEvent findByG_T_Last(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.calendar.NoSuchEventException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException
findByG_T_PrevAndNext
public static com.liferay.portlet.calendar.model.CalEvent[] findByG_T_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.calendar.NoSuchEventException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.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 com.liferay.portlet.calendar.model.CalEvent findByG_R_First(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.calendar.NoSuchEventException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException
findByG_R_Last
public static com.liferay.portlet.calendar.model.CalEvent findByG_R_Last(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.calendar.NoSuchEventException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.NoSuchEventException
findByG_R_PrevAndNext
public static com.liferay.portlet.calendar.model.CalEvent[] findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.calendar.NoSuchEventException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.calendar.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
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
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)