@ProviderType
public class CalEventUtil
extends java.lang.Object
CalEventPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
CalEventPersistence,
CalEventPersistenceImpl| Constructor and Description |
|---|
CalEventUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(CalEvent calEvent)
Caches the cal event in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CalEvent> calEvents)
Caches the cal events in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CalEvent calEvent) |
static int |
countAll()
Returns the number of cal events.
|
static int |
countByCompanyId(long companyId)
Returns the number of cal events where companyId = ?.
|
static int |
countByG_R(long groupId,
boolean repeating)
Returns the number of cal events where groupId = ? and repeating = ?.
|
static int |
countByG_T_R(long groupId,
java.lang.String[] types,
boolean repeating)
Returns the number of cal events where groupId = ? and type = any ? and repeating = ?.
|
static int |
countByG_T_R(long groupId,
java.lang.String type,
boolean repeating)
Returns the number of cal events where groupId = ? and type = ? and repeating = ?.
|
static int |
countByG_T(long groupId,
java.lang.String type)
Returns the number of cal events where groupId = ? and type = ?.
|
static int |
countByG_T(long groupId,
java.lang.String[] types)
Returns the number of cal events where groupId = ? and type = any ?.
|
static int |
countByGroupId(long groupId)
Returns the number of cal events where groupId = ?.
|
static int |
countByNotRemindBy(int remindBy)
Returns the number of cal events where remindBy ≠ ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cal events where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cal events where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of cal events where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static CalEvent |
create(long eventId)
Creates a new cal event with the primary key.
|
static CalEvent |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where companyId = ?.
|
static CalEvent |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where companyId = ?.
|
static CalEvent |
fetchByG_R_First(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and repeating = ?.
|
static CalEvent |
fetchByG_R_Last(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and repeating = ?.
|
static CalEvent |
fetchByG_T_First(long groupId,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and type = ?.
|
static CalEvent |
fetchByG_T_Last(long groupId,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and type = ?.
|
static CalEvent |
fetchByG_T_R_First(long groupId,
java.lang.String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
|
static CalEvent |
fetchByG_T_R_Last(long groupId,
java.lang.String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
|
static CalEvent |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ?.
|
static CalEvent |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ?.
|
static CalEvent |
fetchByNotRemindBy_First(int remindBy,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where remindBy ≠ ?.
|
static CalEvent |
fetchByNotRemindBy_Last(int remindBy,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where remindBy ≠ ?.
|
static CalEvent |
fetchByPrimaryKey(long eventId)
Returns the cal event with the primary key or returns
null if it could not be found. |
static CalEvent |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where uuid = ? and companyId = ?.
|
static CalEvent |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where uuid = ? and companyId = ?.
|
static CalEvent |
fetchByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where uuid = ?.
|
static CalEvent |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cal event where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CalEvent |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the cal event where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CalEvent |
fetchByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where uuid = ?.
|
static int |
filterCountByG_R(long groupId,
boolean repeating)
Returns the number of cal events that the user has permission to view where groupId = ? and repeating = ?.
|
static int |
filterCountByG_T_R(long groupId,
java.lang.String[] types,
boolean repeating)
Returns the number of cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
|
static int |
filterCountByG_T_R(long groupId,
java.lang.String type,
boolean repeating)
Returns the number of cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
|
static int |
filterCountByG_T(long groupId,
java.lang.String type)
Returns the number of cal events that the user has permission to view where groupId = ? and type = ?.
|
static int |
filterCountByG_T(long groupId,
java.lang.String[] types)
Returns the number of cal events that the user has permission to view where groupId = ? and type = any ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of cal events that the user has permission to view where groupId = ?.
|
static CalEvent[] |
filterFindByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ? and repeating = ?.
|
static java.util.List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating)
Returns all the cal events that the user has permission to view where groupId = ? and repeating = ?.
|
static java.util.List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ? and repeating = ?.
|
static java.util.List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and repeating = ?.
|
static CalEvent[] |
filterFindByG_T_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ? and type = ?.
|
static CalEvent[] |
filterFindByG_T_R_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
|
static java.util.List<CalEvent> |
filterFindByG_T_R(long groupId,
java.lang.String[] types,
boolean repeating)
Returns all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
|
static java.util.List<CalEvent> |
filterFindByG_T_R(long groupId,
java.lang.String[] types,
boolean repeating,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
|
static java.util.List<CalEvent> |
filterFindByG_T_R(long groupId,
java.lang.String[] types,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
|
static java.util.List<CalEvent> |
filterFindByG_T_R(long groupId,
java.lang.String type,
boolean repeating)
Returns all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
|
static java.util.List<CalEvent> |
filterFindByG_T_R(long groupId,
java.lang.String type,
boolean repeating,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
|
static java.util.List<CalEvent> |
filterFindByG_T_R(long groupId,
java.lang.String type,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and type = ? and repeating = ?.
|
static java.util.List<CalEvent> |
filterFindByG_T(long groupId,
java.lang.String type)
Returns all the cal events that the user has permission to view where groupId = ? and type = ?.
|
static java.util.List<CalEvent> |
filterFindByG_T(long groupId,
java.lang.String[] types)
Returns all the cal events that the user has permission to view where groupId = ? and type = any ?.
|
static java.util.List<CalEvent> |
filterFindByG_T(long groupId,
java.lang.String[] types,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = any ?.
|
static java.util.List<CalEvent> |
filterFindByG_T(long groupId,
java.lang.String[] types,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permission to view where groupId = ? and type = any ?.
|
static java.util.List<CalEvent> |
filterFindByG_T(long groupId,
java.lang.String type,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = ?.
|
static java.util.List<CalEvent> |
filterFindByG_T(long groupId,
java.lang.String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and type = ?.
|
static CalEvent[] |
filterFindByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ?.
|
static java.util.List<CalEvent> |
filterFindByGroupId(long groupId)
Returns all the cal events that the user has permission to view where groupId = ?.
|
static java.util.List<CalEvent> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ?.
|
static java.util.List<CalEvent> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ?.
|
static java.util.List<CalEvent> |
findAll()
Returns all the cal events.
|
static java.util.List<CalEvent> |
findAll(int start,
int end)
Returns a range of all the cal events.
|
static java.util.List<CalEvent> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events.
|
static CalEvent |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where companyId = ?.
|
static CalEvent |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where companyId = ?.
|
static CalEvent[] |
findByCompanyId_PrevAndNext(long eventId,
long companyId,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where companyId = ?.
|
static java.util.List<CalEvent> |
findByCompanyId(long companyId)
Returns all the cal events where companyId = ?.
|
static java.util.List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the cal events where companyId = ?.
|
static java.util.List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where companyId = ?.
|
static CalEvent |
findByG_R_First(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and repeating = ?.
|
static CalEvent |
findByG_R_Last(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and repeating = ?.
|
static CalEvent[] |
findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where groupId = ? and repeating = ?.
|
static java.util.List<CalEvent> |
findByG_R(long groupId,
boolean repeating)
Returns all the cal events where groupId = ? and repeating = ?.
|
static java.util.List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end)
Returns a range of all the cal events where groupId = ? and repeating = ?.
|
static java.util.List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ? and repeating = ?.
|
static CalEvent |
findByG_T_First(long groupId,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and type = ?.
|
static CalEvent |
findByG_T_Last(long groupId,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and type = ?.
|
static CalEvent[] |
findByG_T_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ?.
|
static CalEvent |
findByG_T_R_First(long groupId,
java.lang.String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
|
static CalEvent |
findByG_T_R_Last(long groupId,
java.lang.String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
|
static CalEvent[] |
findByG_T_R_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
|
static java.util.List<CalEvent> |
findByG_T_R(long groupId,
java.lang.String[] types,
boolean repeating)
Returns all the cal events where groupId = ? and type = any ? and repeating = ?.
|
static java.util.List<CalEvent> |
findByG_T_R(long groupId,
java.lang.String[] types,
boolean repeating,
int start,
int end)
Returns a range of all the cal events where groupId = ? and type = any ? and repeating = ?.
|
static java.util.List<CalEvent> |
findByG_T_R(long groupId,
java.lang.String[] types,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ? and type = any ? and repeating = ?.
|
static java.util.List<CalEvent> |
findByG_T_R(long groupId,
java.lang.String type,
boolean repeating)
Returns all the cal events where groupId = ? and type = ? and repeating = ?.
|
static java.util.List<CalEvent> |
findByG_T_R(long groupId,
java.lang.String type,
boolean repeating,
int start,
int end)
Returns a range of all the cal events where groupId = ? and type = ? and repeating = ?.
|
static java.util.List<CalEvent> |
findByG_T_R(long groupId,
java.lang.String type,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?.
|
static java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String type)
Returns all the cal events where groupId = ? and type = ?.
|
static java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String[] types)
Returns all the cal events where groupId = ? and type = any ?.
|
static java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String[] types,
int start,
int end)
Returns a range of all the cal events where groupId = ? and type = any ?.
|
static java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String[] types,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ? and type = any ?.
|
static java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String type,
int start,
int end)
Returns a range of all the cal events where groupId = ? and type = ?.
|
static java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ? and type = ?.
|
static CalEvent |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ?.
|
static CalEvent |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ?.
|
static CalEvent[] |
findByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where groupId = ?.
|
static java.util.List<CalEvent> |
findByGroupId(long groupId)
Returns all the cal events where groupId = ?.
|
static java.util.List<CalEvent> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the cal events where groupId = ?.
|
static java.util.List<CalEvent> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ?.
|
static CalEvent |
findByNotRemindBy_First(int remindBy,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where remindBy ≠ ?.
|
static CalEvent |
findByNotRemindBy_Last(int remindBy,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where remindBy ≠ ?.
|
static CalEvent[] |
findByNotRemindBy_PrevAndNext(long eventId,
int remindBy,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where remindBy ≠ ?.
|
static java.util.List<CalEvent> |
findByNotRemindBy(int remindBy)
Returns all the cal events where remindBy ≠ ?.
|
static java.util.List<CalEvent> |
findByNotRemindBy(int remindBy,
int start,
int end)
Returns a range of all the cal events where remindBy ≠ ?.
|
static java.util.List<CalEvent> |
findByNotRemindBy(int remindBy,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where remindBy ≠ ?.
|
static CalEvent |
findByPrimaryKey(long eventId)
Returns the cal event with the primary key or throws a
NoSuchEventException if it could not be found. |
static CalEvent |
findByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where uuid = ? and companyId = ?.
|
static CalEvent |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where uuid = ? and companyId = ?.
|
static CalEvent[] |
findByUuid_C_PrevAndNext(long eventId,
java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<CalEvent> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cal events where uuid = ? and companyId = ?.
|
static java.util.List<CalEvent> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cal events where uuid = ? and companyId = ?.
|
static java.util.List<CalEvent> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where uuid = ? and companyId = ?.
|
static CalEvent |
findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where uuid = ?.
|
static CalEvent |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cal event where uuid = ? and groupId = ? or throws a
NoSuchEventException if it could not be found. |
static CalEvent |
findByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where uuid = ?.
|
static CalEvent[] |
findByUuid_PrevAndNext(long eventId,
java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where uuid = ?.
|
static java.util.List<CalEvent> |
findByUuid(java.lang.String uuid)
Returns all the cal events where uuid = ?.
|
static java.util.List<CalEvent> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cal events where uuid = ?.
|
static java.util.List<CalEvent> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where uuid = ?.
|
static java.util.List<CalEvent> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<CalEvent> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CalEvent> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator) |
static CalEventPersistence |
getPersistence() |
static CalEvent |
remove(long eventId)
Removes the cal event with the primary key from the database.
|
static void |
removeAll()
Removes all the cal events from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the cal events where companyId = ? from the database.
|
static void |
removeByG_R(long groupId,
boolean repeating)
Removes all the cal events where groupId = ? and repeating = ? from the database.
|
static void |
removeByG_T_R(long groupId,
java.lang.String type,
boolean repeating)
Removes all the cal events where groupId = ? and type = ? and repeating = ? from the database.
|
static void |
removeByG_T(long groupId,
java.lang.String type)
Removes all the cal events where groupId = ? and type = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the cal events where groupId = ? from the database.
|
static void |
removeByNotRemindBy(int remindBy)
Removes all the cal events where remindBy ≠ ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cal events where uuid = ? and companyId = ? from the database.
|
static CalEvent |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cal event where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the cal events where uuid = ? from the database.
|
void |
setPersistence(CalEventPersistence persistence)
Deprecated.
As of 6.2.0
|
static CalEvent |
update(CalEvent calEvent) |
static CalEvent |
update(CalEvent calEvent,
ServiceContext serviceContext) |
static CalEvent |
updateImpl(CalEvent calEvent) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(CalEvent calEvent)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
public static java.util.List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
public static CalEvent update(CalEvent calEvent) throws SystemException
public static CalEvent update(CalEvent calEvent, ServiceContext serviceContext) throws SystemException
public static java.util.List<CalEvent> findByUuid(java.lang.String uuid) throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByUuid(java.lang.String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent[] findByUuid_PrevAndNext(long eventId, java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static int countByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static CalEvent findByUUID_G(java.lang.String uuid, long groupId) throws SystemException, NoSuchEventException
NoSuchEventException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByUUID_G(java.lang.String uuid, long groupId) throws SystemException
null if it could not be found. Uses the finder cache.uuid - the uuidgroupId - the group IDnull if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.uuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cachenull if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent removeByUUID_G(java.lang.String uuid, long groupId) throws SystemException, NoSuchEventException
uuid - the uuidgroupId - the group IDSystemException - if a system exception occurredNoSuchEventExceptionpublic static int countByUUID_G(java.lang.String uuid,
long groupId)
throws SystemException
uuid - the uuidgroupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByUuid_C(java.lang.String uuid, long companyId) throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByUuid_C(java.lang.String uuid, long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent findByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent findByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent[] findByUuid_C_PrevAndNext(long eventId, java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static int countByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByCompanyId(long companyId) throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent[] findByCompanyId_PrevAndNext(long eventId, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static int countByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByGroupId(long groupId) throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent[] findByGroupId_PrevAndNext(long eventId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByGroupId(long groupId) throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent[] filterFindByGroupId_PrevAndNext(long eventId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static int countByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByNotRemindBy(int remindBy) throws SystemException
remindBy - the remind bySystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByNotRemindBy(int remindBy, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
remindBy - the remind bystart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByNotRemindBy(int remindBy, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
remindBy - the remind bystart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent findByNotRemindBy_First(int remindBy, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
remindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByNotRemindBy_First(int remindBy, OrderByComparator orderByComparator) throws SystemException
remindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent findByNotRemindBy_Last(int remindBy, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
remindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByNotRemindBy_Last(int remindBy, OrderByComparator orderByComparator) throws SystemException
remindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent[] findByNotRemindBy_PrevAndNext(long eventId, int remindBy, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventremindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByNotRemindBy(int remindBy)
throws SystemException
remindBy - the remind bySystemException - if a system exception occurredpublic static int countByNotRemindBy(int remindBy)
throws SystemException
remindBy - the remind bySystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T(long groupId, java.lang.String type) throws SystemException
groupId - the group IDtype - the typeSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T(long groupId, java.lang.String type, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T(long groupId, java.lang.String type, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent findByG_T_First(long groupId, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
groupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByG_T_First(long groupId, java.lang.String type, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent findByG_T_Last(long groupId, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
groupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByG_T_Last(long groupId, java.lang.String type, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent[] findByG_T_PrevAndNext(long eventId, long groupId, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventgroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T(long groupId, java.lang.String type) throws SystemException
groupId - the group IDtype - the typeSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T(long groupId, java.lang.String type, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T(long groupId, java.lang.String type, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent[] filterFindByG_T_PrevAndNext(long eventId, long groupId, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventgroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T(long groupId, java.lang.String[] types) throws SystemException
groupId - the group IDtypes - the typesSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T(long groupId, java.lang.String[] types, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtypes - the typesstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T(long groupId, java.lang.String[] types, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtypes - the typesstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T(long groupId, java.lang.String[] types) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtypes - the typesSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T(long groupId, java.lang.String[] types, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtypes - the typesstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T(long groupId, java.lang.String[] types, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtypes - the typesstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static void removeByG_T(long groupId,
java.lang.String type)
throws SystemException
groupId - the group IDtype - the typeSystemException - if a system exception occurredpublic static int countByG_T(long groupId,
java.lang.String type)
throws SystemException
groupId - the group IDtype - the typeSystemException - if a system exception occurredpublic static int countByG_T(long groupId,
java.lang.String[] types)
throws SystemException
groupId - the group IDtypes - the typesSystemException - if a system exception occurredpublic static int filterCountByG_T(long groupId,
java.lang.String type)
throws SystemException
groupId - the group IDtype - the typeSystemException - if a system exception occurredpublic static int filterCountByG_T(long groupId,
java.lang.String[] types)
throws SystemException
groupId - the group IDtypes - the typesSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_R(long groupId, boolean repeating) throws SystemException
groupId - the group IDrepeating - the repeatingSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent findByG_R_First(long groupId, boolean repeating, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
groupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByG_R_First(long groupId, boolean repeating, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent findByG_R_Last(long groupId, boolean repeating, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
groupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByG_R_Last(long groupId, boolean repeating, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent[] findByG_R_PrevAndNext(long eventId, long groupId, boolean repeating, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventgroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_R(long groupId, boolean repeating) throws SystemException
groupId - the group IDrepeating - the repeatingSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_R(long groupId, boolean repeating, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_R(long groupId, boolean repeating, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent[] filterFindByG_R_PrevAndNext(long eventId, long groupId, boolean repeating, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventgroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByG_R(long groupId,
boolean repeating)
throws SystemException
groupId - the group IDrepeating - the repeatingSystemException - if a system exception occurredpublic static int countByG_R(long groupId,
boolean repeating)
throws SystemException
groupId - the group IDrepeating - the repeatingSystemException - if a system exception occurredpublic static int filterCountByG_R(long groupId,
boolean repeating)
throws SystemException
groupId - the group IDrepeating - the repeatingSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T_R(long groupId, java.lang.String type, boolean repeating) throws SystemException
groupId - the group IDtype - the typerepeating - the repeatingSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T_R(long groupId, java.lang.String type, boolean repeating, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T_R(long groupId, java.lang.String type, boolean repeating, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent findByG_T_R_First(long groupId, java.lang.String type, boolean repeating, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
groupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByG_T_R_First(long groupId, java.lang.String type, boolean repeating, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent findByG_T_R_Last(long groupId, java.lang.String type, boolean repeating, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
groupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByG_T_R_Last(long groupId, java.lang.String type, boolean repeating, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)null if a matching cal event could not be foundSystemException - if a system exception occurredpublic static CalEvent[] findByG_T_R_PrevAndNext(long eventId, long groupId, java.lang.String type, boolean repeating, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventgroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T_R(long groupId, java.lang.String type, boolean repeating) throws SystemException
groupId - the group IDtype - the typerepeating - the repeatingSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T_R(long groupId, java.lang.String type, boolean repeating, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T_R(long groupId, java.lang.String type, boolean repeating, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static CalEvent[] filterFindByG_T_R_PrevAndNext(long eventId, long groupId, java.lang.String type, boolean repeating, OrderByComparator orderByComparator) throws SystemException, NoSuchEventException
eventId - the primary key of the current cal eventgroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)NoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T_R(long groupId, java.lang.String[] types, boolean repeating) throws SystemException
groupId - the group IDtypes - the typesrepeating - the repeatingSystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T_R(long groupId, java.lang.String[] types, boolean repeating, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtypes - the typesrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> filterFindByG_T_R(long groupId, java.lang.String[] types, boolean repeating, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtypes - the typesrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T_R(long groupId, java.lang.String[] types, boolean repeating) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtypes - the typesrepeating - the repeatingSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T_R(long groupId, java.lang.String[] types, boolean repeating, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtypes - the typesrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findByG_T_R(long groupId, java.lang.String[] types, boolean repeating, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDtypes - the typesrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static void removeByG_T_R(long groupId,
java.lang.String type,
boolean repeating)
throws SystemException
groupId - the group IDtype - the typerepeating - the repeatingSystemException - if a system exception occurredpublic static int countByG_T_R(long groupId,
java.lang.String type,
boolean repeating)
throws SystemException
groupId - the group IDtype - the typerepeating - the repeatingSystemException - if a system exception occurredpublic static int countByG_T_R(long groupId,
java.lang.String[] types,
boolean repeating)
throws SystemException
groupId - the group IDtypes - the typesrepeating - the repeatingSystemException - if a system exception occurredpublic static int filterCountByG_T_R(long groupId,
java.lang.String type,
boolean repeating)
throws SystemException
groupId - the group IDtype - the typerepeating - the repeatingSystemException - if a system exception occurredpublic static int filterCountByG_T_R(long groupId,
java.lang.String[] types,
boolean repeating)
throws SystemException
groupId - the group IDtypes - the typesrepeating - the repeatingSystemException - if a system exception occurredpublic static void cacheResult(CalEvent calEvent)
calEvent - the cal eventpublic static void cacheResult(java.util.List<CalEvent> calEvents)
calEvents - the cal eventspublic static CalEvent create(long eventId)
eventId - the primary key for the new cal eventpublic static CalEvent remove(long eventId) throws SystemException, NoSuchEventException
eventId - the primary key of the cal eventNoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static CalEvent updateImpl(CalEvent calEvent) throws SystemException
SystemExceptionpublic static CalEvent findByPrimaryKey(long eventId) throws SystemException, NoSuchEventException
NoSuchEventException if it could not be found.eventId - the primary key of the cal eventNoSuchEventException - if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static CalEvent fetchByPrimaryKey(long eventId) throws SystemException
null if it could not be found.eventId - the primary key of the cal eventnull if a cal event with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<CalEvent> findAll() throws SystemException
SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<CalEvent> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static void removeAll()
throws SystemException
SystemException - if a system exception occurredpublic static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static CalEventPersistence getPersistence()
public void setPersistence(CalEventPersistence persistence)