Liferay 6.2-ce-ga5

com.liferay.portlet.calendar.service.persistence
Interface CalEventPersistence

All Superinterfaces:
BasePersistence<CalEvent>
All Known Implementing Classes:
CalEventPersistenceImpl

@ProviderType
public interface CalEventPersistence
extends BasePersistence<CalEvent>

The persistence interface for the cal event service.

Caching information and settings can be found in portal.properties

See Also:
CalEventPersistenceImpl, CalEventUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 void cacheResult(CalEvent calEvent)
          Caches the cal event in the entity cache if it is enabled.
 void cacheResult(List<CalEvent> calEvents)
          Caches the cal events in the entity cache if it is enabled.
 int countAll()
          Returns the number of cal events.
 int countByCompanyId(long companyId)
          Returns the number of cal events where companyId = ?.
 int countByG_R(long groupId, boolean repeating)
          Returns the number of cal events where groupId = ? and repeating = ?.
 int countByG_T_R(long groupId, String[] types, boolean repeating)
          Returns the number of cal events where groupId = ? and type = any ? and repeating = ?.
 int countByG_T_R(long groupId, String type, boolean repeating)
          Returns the number of cal events where groupId = ? and type = ? and repeating = ?.
 int countByG_T(long groupId, String type)
          Returns the number of cal events where groupId = ? and type = ?.
 int countByG_T(long groupId, String[] types)
          Returns the number of cal events where groupId = ? and type = any ?.
 int countByGroupId(long groupId)
          Returns the number of cal events where groupId = ?.
 int countByNotRemindBy(int remindBy)
          Returns the number of cal events where remindBy ≠ ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of cal events where uuid = ? and companyId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of cal events where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of cal events where uuid = ?.
 CalEvent create(long eventId)
          Creates a new cal event with the primary key.
 CalEvent fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where companyId = ?.
 CalEvent fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where companyId = ?.
 CalEvent fetchByG_R_First(long groupId, boolean repeating, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and repeating = ?.
 CalEvent fetchByG_R_Last(long groupId, boolean repeating, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and repeating = ?.
 CalEvent fetchByG_T_First(long groupId, String type, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and type = ?.
 CalEvent fetchByG_T_Last(long groupId, String type, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and type = ?.
 CalEvent fetchByG_T_R_First(long groupId, String type, boolean repeating, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 CalEvent fetchByG_T_R_Last(long groupId, String type, boolean repeating, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 CalEvent fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ?.
 CalEvent fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ?.
 CalEvent fetchByNotRemindBy_First(int remindBy, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where remindBy ≠ ?.
 CalEvent fetchByNotRemindBy_Last(int remindBy, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where remindBy ≠ ?.
 CalEvent fetchByPrimaryKey(long eventId)
          Returns the cal event with the primary key or returns null if it could not be found.
 CalEvent fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where uuid = ? and companyId = ?.
 CalEvent fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where uuid = ? and companyId = ?.
 CalEvent fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where uuid = ?.
 CalEvent fetchByUUID_G(String uuid, long groupId)
          Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found.
 CalEvent fetchByUUID_G(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.
 CalEvent fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where uuid = ?.
 int filterCountByG_R(long groupId, boolean repeating)
          Returns the number of cal events that the user has permission to view where groupId = ? and repeating = ?.
 int filterCountByG_T_R(long groupId, String[] types, boolean repeating)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
 int filterCountByG_T_R(long groupId, String type, boolean repeating)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
 int filterCountByG_T(long groupId, String type)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = ?.
 int filterCountByG_T(long groupId, String[] types)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = any ?.
 int filterCountByGroupId(long groupId)
          Returns the number of cal events that the user has permission to view where groupId = ?.
 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 = ?.
 List<CalEvent> filterFindByG_R(long groupId, boolean repeating)
          Returns all the cal events that the user has permission to view where groupId = ? and repeating = ?.
 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 = ?.
 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 = ?.
 CalEvent[] filterFindByG_T_PrevAndNext(long eventId, long groupId, 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 = ?.
 CalEvent[] filterFindByG_T_R_PrevAndNext(long eventId, long groupId, 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 = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, String[] types, boolean repeating)
          Returns all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, 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 = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, 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 = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, String type, boolean repeating)
          Returns all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, 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 = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, 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 = ?.
 List<CalEvent> filterFindByG_T(long groupId, String type)
          Returns all the cal events that the user has permission to view where groupId = ? and type = ?.
 List<CalEvent> filterFindByG_T(long groupId, String[] types)
          Returns all the cal events that the user has permission to view where groupId = ? and type = any ?.
 List<CalEvent> filterFindByG_T(long groupId, 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 ?.
 List<CalEvent> filterFindByG_T(long groupId, 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 ?.
 List<CalEvent> filterFindByG_T(long groupId, 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 = ?.
 List<CalEvent> filterFindByG_T(long groupId, 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 = ?.
 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 = ?.
 List<CalEvent> filterFindByGroupId(long groupId)
          Returns all the cal events that the user has permission to view where groupId = ?.
 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 = ?.
 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 = ?.
 List<CalEvent> findAll()
          Returns all the cal events.
 List<CalEvent> findAll(int start, int end)
          Returns a range of all the cal events.
 List<CalEvent> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events.
 CalEvent findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where companyId = ?.
 CalEvent findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where companyId = ?.
 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 = ?.
 List<CalEvent> findByCompanyId(long companyId)
          Returns all the cal events where companyId = ?.
 List<CalEvent> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the cal events where companyId = ?.
 List<CalEvent> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where companyId = ?.
 CalEvent findByG_R_First(long groupId, boolean repeating, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and repeating = ?.
 CalEvent findByG_R_Last(long groupId, boolean repeating, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and repeating = ?.
 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 = ?.
 List<CalEvent> findByG_R(long groupId, boolean repeating)
          Returns all the cal events where groupId = ? and repeating = ?.
 List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end)
          Returns a range of all the cal events where groupId = ? and repeating = ?.
 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 = ?.
 CalEvent findByG_T_First(long groupId, String type, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and type = ?.
 CalEvent findByG_T_Last(long groupId, String type, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and type = ?.
 CalEvent[] findByG_T_PrevAndNext(long eventId, long groupId, String type, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ?.
 CalEvent findByG_T_R_First(long groupId, String type, boolean repeating, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 CalEvent findByG_T_R_Last(long groupId, String type, boolean repeating, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 CalEvent[] findByG_T_R_PrevAndNext(long eventId, long groupId, 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 = ?.
 List<CalEvent> findByG_T_R(long groupId, String[] types, boolean repeating)
          Returns all the cal events where groupId = ? and type = any ? and repeating = ?.
 List<CalEvent> findByG_T_R(long groupId, String[] types, boolean repeating, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = any ? and repeating = ?.
 List<CalEvent> findByG_T_R(long groupId, 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 = ?.
 List<CalEvent> findByG_T_R(long groupId, String type, boolean repeating)
          Returns all the cal events where groupId = ? and type = ? and repeating = ?.
 List<CalEvent> findByG_T_R(long groupId, String type, boolean repeating, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = ? and repeating = ?.
 List<CalEvent> findByG_T_R(long groupId, 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 = ?.
 List<CalEvent> findByG_T(long groupId, String type)
          Returns all the cal events where groupId = ? and type = ?.
 List<CalEvent> findByG_T(long groupId, String[] types)
          Returns all the cal events where groupId = ? and type = any ?.
 List<CalEvent> findByG_T(long groupId, String[] types, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = any ?.
 List<CalEvent> findByG_T(long groupId, String[] types, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and type = any ?.
 List<CalEvent> findByG_T(long groupId, String type, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = ?.
 List<CalEvent> findByG_T(long groupId, String type, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and type = ?.
 CalEvent findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ?.
 CalEvent findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ?.
 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 = ?.
 List<CalEvent> findByGroupId(long groupId)
          Returns all the cal events where groupId = ?.
 List<CalEvent> findByGroupId(long groupId, int start, int end)
          Returns a range of all the cal events where groupId = ?.
 List<CalEvent> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ?.
 CalEvent findByNotRemindBy_First(int remindBy, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where remindBy ≠ ?.
 CalEvent findByNotRemindBy_Last(int remindBy, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where remindBy ≠ ?.
 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 ≠ ?.
 List<CalEvent> findByNotRemindBy(int remindBy)
          Returns all the cal events where remindBy ≠ ?.
 List<CalEvent> findByNotRemindBy(int remindBy, int start, int end)
          Returns a range of all the cal events where remindBy ≠ ?.
 List<CalEvent> findByNotRemindBy(int remindBy, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where remindBy ≠ ?.
 CalEvent findByPrimaryKey(long eventId)
          Returns the cal event with the primary key or throws a NoSuchEventException if it could not be found.
 CalEvent findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where uuid = ? and companyId = ?.
 CalEvent findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where uuid = ? and companyId = ?.
 CalEvent[] findByUuid_C_PrevAndNext(long eventId, 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 = ?.
 List<CalEvent> findByUuid_C(String uuid, long companyId)
          Returns all the cal events where uuid = ? and companyId = ?.
 List<CalEvent> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the cal events where uuid = ? and companyId = ?.
 List<CalEvent> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where uuid = ? and companyId = ?.
 CalEvent findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where uuid = ?.
 CalEvent findByUUID_G(String uuid, long groupId)
          Returns the cal event where uuid = ? and groupId = ? or throws a NoSuchEventException if it could not be found.
 CalEvent findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where uuid = ?.
 CalEvent[] findByUuid_PrevAndNext(long eventId, String uuid, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where uuid = ?.
 List<CalEvent> findByUuid(String uuid)
          Returns all the cal events where uuid = ?.
 List<CalEvent> findByUuid(String uuid, int start, int end)
          Returns a range of all the cal events where uuid = ?.
 List<CalEvent> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where uuid = ?.
 CalEvent remove(long eventId)
          Removes the cal event with the primary key from the database.
 void removeAll()
          Removes all the cal events from the database.
 void removeByCompanyId(long companyId)
          Removes all the cal events where companyId = ? from the database.
 void removeByG_R(long groupId, boolean repeating)
          Removes all the cal events where groupId = ? and repeating = ? from the database.
 void removeByG_T_R(long groupId, String type, boolean repeating)
          Removes all the cal events where groupId = ? and type = ? and repeating = ? from the database.
 void removeByG_T(long groupId, String type)
          Removes all the cal events where groupId = ? and type = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the cal events where groupId = ? from the database.
 void removeByNotRemindBy(int remindBy)
          Removes all the cal events where remindBy ≠ ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the cal events where uuid = ? and companyId = ? from the database.
 CalEvent removeByUUID_G(String uuid, long groupId)
          Removes the cal event where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the cal events where uuid = ? from the database.
 CalEvent updateImpl(CalEvent calEvent)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByUuid

List<CalEvent> findByUuid(String uuid)
                          throws SystemException
Returns all the cal events where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByUuid

List<CalEvent> findByUuid(String uuid,
                          int start,
                          int end)
                          throws SystemException
Returns a range of all the cal events where uuid = ?.

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.

Parameters:
uuid - the uuid
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events
Throws:
SystemException - if a system exception occurred

findByUuid

List<CalEvent> findByUuid(String uuid,
                          int start,
                          int end,
                          OrderByComparator orderByComparator)
                          throws SystemException
Returns an ordered range of all the cal events where uuid = ?.

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.

Parameters:
uuid - the uuid
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events
Throws:
SystemException - if a system exception occurred

findByUuid_First

CalEvent findByUuid_First(String uuid,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchEventException
Returns the first cal event in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByUuid_First

CalEvent fetchByUuid_First(String uuid,
                           OrderByComparator orderByComparator)
                           throws SystemException
Returns the first cal event in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

CalEvent findByUuid_Last(String uuid,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchEventException
Returns the last cal event in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

CalEvent fetchByUuid_Last(String uuid,
                          OrderByComparator orderByComparator)
                          throws SystemException
Returns the last cal event in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

CalEvent[] findByUuid_PrevAndNext(long eventId,
                                  String uuid,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchEventException
Returns the cal events before and after the current cal event in the ordered set where uuid = ?.

Parameters:
eventId - the primary key of the current cal event
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

removeByUuid

void removeByUuid(String uuid)
                  throws SystemException
Removes all the cal events where uuid = ? from the database.

Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

int countByUuid(String uuid)
                throws SystemException
Returns the number of cal events where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

findByUUID_G

CalEvent findByUUID_G(String uuid,
                      long groupId)
                      throws SystemException,
                             NoSuchEventException
Returns the cal event where uuid = ? and groupId = ? or throws a NoSuchEventException if it could not be found.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByUUID_G

CalEvent fetchByUUID_G(String uuid,
                       long groupId)
                       throws SystemException
Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

CalEvent fetchByUUID_G(String uuid,
                       long groupId,
                       boolean retrieveFromCache)
                       throws SystemException
Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

removeByUUID_G

CalEvent removeByUUID_G(String uuid,
                        long groupId)
                        throws SystemException,
                               NoSuchEventException
Removes the cal event where uuid = ? and groupId = ? from the database.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the cal event that was removed
Throws:
SystemException - if a system exception occurred
NoSuchEventException

countByUUID_G

int countByUUID_G(String uuid,
                  long groupId)
                  throws SystemException
Returns the number of cal events where uuid = ? and groupId = ?.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<CalEvent> findByUuid_C(String uuid,
                            long companyId)
                            throws SystemException
Returns all the cal events where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<CalEvent> findByUuid_C(String uuid,
                            long companyId,
                            int start,
                            int end)
                            throws SystemException
Returns a range of all the cal events where uuid = ? and companyId = ?.

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.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<CalEvent> findByUuid_C(String uuid,
                            long companyId,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Returns an ordered range of all the cal events where uuid = ? and companyId = ?.

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.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events
Throws:
SystemException - if a system exception occurred

findByUuid_C_First

CalEvent findByUuid_C_First(String uuid,
                            long companyId,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchEventException
Returns the first cal event in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByUuid_C_First

CalEvent fetchByUuid_C_First(String uuid,
                             long companyId,
                             OrderByComparator orderByComparator)
                             throws SystemException
Returns the first cal event in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_Last

CalEvent findByUuid_C_Last(String uuid,
                           long companyId,
                           OrderByComparator orderByComparator)
                           throws SystemException,
                                  NoSuchEventException
Returns the last cal event in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByUuid_C_Last

CalEvent fetchByUuid_C_Last(String uuid,
                            long companyId,
                            OrderByComparator orderByComparator)
                            throws SystemException
Returns the last cal event in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_PrevAndNext

CalEvent[] findByUuid_C_PrevAndNext(long eventId,
                                    String uuid,
                                    long companyId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchEventException
Returns the cal events before and after the current cal event in the ordered set where uuid = ? and companyId = ?.

Parameters:
eventId - the primary key of the current cal event
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

removeByUuid_C

void removeByUuid_C(String uuid,
                    long companyId)
                    throws SystemException
Removes all the cal events where uuid = ? and companyId = ? from the database.

Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

int countByUuid_C(String uuid,
                  long companyId)
                  throws SystemException
Returns the number of cal events where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<CalEvent> findByCompanyId(long companyId)
                               throws SystemException
Returns all the cal events where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<CalEvent> findByCompanyId(long companyId,
                               int start,
                               int end)
                               throws SystemException
Returns a range of all the cal events where companyId = ?.

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.

Parameters:
companyId - the company ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events
Throws:
SystemException - if a system exception occurred

findByCompanyId

List<CalEvent> findByCompanyId(long companyId,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the cal events where companyId = ?.

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.

Parameters:
companyId - the company ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

CalEvent findByCompanyId_First(long companyId,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchEventException
Returns the first cal event in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByCompanyId_First

CalEvent fetchByCompanyId_First(long companyId,
                                OrderByComparator orderByComparator)
                                throws SystemException
Returns the first cal event in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_Last

CalEvent findByCompanyId_Last(long companyId,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchEventException
Returns the last cal event in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByCompanyId_Last

CalEvent fetchByCompanyId_Last(long companyId,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns the last cal event in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

CalEvent[] findByCompanyId_PrevAndNext(long eventId,
                                       long companyId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchEventException
Returns the cal events before and after the current cal event in the ordered set where companyId = ?.

Parameters:
eventId - the primary key of the current cal event
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Removes all the cal events where companyId = ? from the database.

Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Returns the number of cal events where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

findByGroupId

List<CalEvent> findByGroupId(long groupId)
                             throws SystemException
Returns all the cal events where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByGroupId

List<CalEvent> findByGroupId(long groupId,
                             int start,
                             int end)
                             throws SystemException
Returns a range of all the cal events where groupId = ?.

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.

Parameters:
groupId - the group ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events
Throws:
SystemException - if a system exception occurred

findByGroupId

List<CalEvent> findByGroupId(long groupId,
                             int start,
                             int end,
                             OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the cal events where groupId = ?.

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.

Parameters:
groupId - the group ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events
Throws:
SystemException - if a system exception occurred

findByGroupId_First

CalEvent findByGroupId_First(long groupId,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchEventException
Returns the first cal event in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByGroupId_First

CalEvent fetchByGroupId_First(long groupId,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns the first cal event in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

CalEvent findByGroupId_Last(long groupId,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchEventException
Returns the last cal event in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByGroupId_Last

CalEvent fetchByGroupId_Last(long groupId,
                             OrderByComparator orderByComparator)
                             throws SystemException
Returns the last cal event in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

CalEvent[] findByGroupId_PrevAndNext(long eventId,
                                     long groupId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchEventException
Returns the cal events before and after the current cal event in the ordered set where groupId = ?.

Parameters:
eventId - the primary key of the current cal event
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

filterFindByGroupId

List<CalEvent> filterFindByGroupId(long groupId)
                                   throws SystemException
Returns all the cal events that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<CalEvent> filterFindByGroupId(long groupId,
                                   int start,
                                   int end)
                                   throws SystemException
Returns a range of all the cal events that the user has permission to view where groupId = ?.

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.

Parameters:
groupId - the group ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<CalEvent> filterFindByGroupId(long groupId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ?.

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.

Parameters:
groupId - the group ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

CalEvent[] filterFindByGroupId_PrevAndNext(long eventId,
                                           long groupId,
                                           OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchEventException
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 = ?.

Parameters:
eventId - the primary key of the current cal event
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Removes all the cal events where groupId = ? from the database.

Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Returns the number of cal events where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Returns the number of cal events that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByNotRemindBy

List<CalEvent> findByNotRemindBy(int remindBy)
                                 throws SystemException
Returns all the cal events where remindBy ≠ ?.

Parameters:
remindBy - the remind by
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByNotRemindBy

List<CalEvent> findByNotRemindBy(int remindBy,
                                 int start,
                                 int end)
                                 throws SystemException
Returns a range of all the cal events where remindBy ≠ ?.

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.

Parameters:
remindBy - the remind by
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events
Throws:
SystemException - if a system exception occurred

findByNotRemindBy

List<CalEvent> findByNotRemindBy(int remindBy,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the cal events where remindBy ≠ ?.

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.

Parameters:
remindBy - the remind by
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events
Throws:
SystemException - if a system exception occurred

findByNotRemindBy_First

CalEvent findByNotRemindBy_First(int remindBy,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchEventException
Returns the first cal event in the ordered set where remindBy ≠ ?.

Parameters:
remindBy - the remind by
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByNotRemindBy_First

CalEvent fetchByNotRemindBy_First(int remindBy,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns the first cal event in the ordered set where remindBy ≠ ?.

Parameters:
remindBy - the remind by
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByNotRemindBy_Last

CalEvent findByNotRemindBy_Last(int remindBy,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchEventException
Returns the last cal event in the ordered set where remindBy ≠ ?.

Parameters:
remindBy - the remind by
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByNotRemindBy_Last

CalEvent fetchByNotRemindBy_Last(int remindBy,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns the last cal event in the ordered set where remindBy ≠ ?.

Parameters:
remindBy - the remind by
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByNotRemindBy_PrevAndNext

CalEvent[] findByNotRemindBy_PrevAndNext(long eventId,
                                         int remindBy,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchEventException
Returns the cal events before and after the current cal event in the ordered set where remindBy ≠ ?.

Parameters:
eventId - the primary key of the current cal event
remindBy - the remind by
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

removeByNotRemindBy

void removeByNotRemindBy(int remindBy)
                         throws SystemException
Removes all the cal events where remindBy ≠ ? from the database.

Parameters:
remindBy - the remind by
Throws:
SystemException - if a system exception occurred

countByNotRemindBy

int countByNotRemindBy(int remindBy)
                       throws SystemException
Returns the number of cal events where remindBy ≠ ?.

Parameters:
remindBy - the remind by
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T

List<CalEvent> findByG_T(long groupId,
                         String type)
                         throws SystemException
Returns all the cal events where groupId = ? and type = ?.

Parameters:
groupId - the group ID
type - the type
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T

List<CalEvent> findByG_T(long groupId,
                         String type,
                         int start,
                         int end)
                         throws SystemException
Returns a range of all the cal events where groupId = ? and type = ?.

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.

Parameters:
groupId - the group ID
type - the type
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T

List<CalEvent> findByG_T(long groupId,
                         String type,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Returns an ordered range of all the cal events where groupId = ? and type = ?.

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.

Parameters:
groupId - the group ID
type - the type
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T_First

CalEvent findByG_T_First(long groupId,
                         String type,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchEventException
Returns the first cal event in the ordered set where groupId = ? and type = ?.

Parameters:
groupId - the group ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_T_First

CalEvent fetchByG_T_First(long groupId,
                          String type,
                          OrderByComparator orderByComparator)
                          throws SystemException
Returns the first cal event in the ordered set where groupId = ? and type = ?.

Parameters:
groupId - the group ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_T_Last

CalEvent findByG_T_Last(long groupId,
                        String type,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchEventException
Returns the last cal event in the ordered set where groupId = ? and type = ?.

Parameters:
groupId - the group ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_T_Last

CalEvent fetchByG_T_Last(long groupId,
                         String type,
                         OrderByComparator orderByComparator)
                         throws SystemException
Returns the last cal event in the ordered set where groupId = ? and type = ?.

Parameters:
groupId - the group ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_T_PrevAndNext

CalEvent[] findByG_T_PrevAndNext(long eventId,
                                 long groupId,
                                 String type,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchEventException
Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ?.

Parameters:
eventId - the primary key of the current cal event
groupId - the group ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_T

List<CalEvent> filterFindByG_T(long groupId,
                               String type)
                               throws SystemException
Returns all the cal events that the user has permission to view where groupId = ? and type = ?.

Parameters:
groupId - the group ID
type - the type
Returns:
the matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T

List<CalEvent> filterFindByG_T(long groupId,
                               String type,
                               int start,
                               int end)
                               throws SystemException
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = ?.

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.

Parameters:
groupId - the group ID
type - the type
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T

List<CalEvent> filterFindByG_T(long groupId,
                               String type,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and type = ?.

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.

Parameters:
groupId - the group ID
type - the type
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T_PrevAndNext

CalEvent[] filterFindByG_T_PrevAndNext(long eventId,
                                       long groupId,
                                       String type,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchEventException
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 = ?.

Parameters:
eventId - the primary key of the current cal event
groupId - the group ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_T

List<CalEvent> filterFindByG_T(long groupId,
                               String[] types)
                               throws SystemException
Returns all the cal events that the user has permission to view where groupId = ? and type = any ?.

Parameters:
groupId - the group ID
types - the types
Returns:
the matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T

List<CalEvent> filterFindByG_T(long groupId,
                               String[] types,
                               int start,
                               int end)
                               throws SystemException
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = any ?.

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.

Parameters:
groupId - the group ID
types - the types
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T

List<CalEvent> filterFindByG_T(long groupId,
                               String[] types,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the cal events that the user has permission to view where groupId = ? and type = any ?.

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.

Parameters:
groupId - the group ID
types - the types
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_T

List<CalEvent> findByG_T(long groupId,
                         String[] types)
                         throws SystemException
Returns all the cal events where groupId = ? and type = any ?.

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.

Parameters:
groupId - the group ID
types - the types
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T

List<CalEvent> findByG_T(long groupId,
                         String[] types,
                         int start,
                         int end)
                         throws SystemException
Returns a range of all the cal events where groupId = ? and type = any ?.

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.

Parameters:
groupId - the group ID
types - the types
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T

List<CalEvent> findByG_T(long groupId,
                         String[] types,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Returns an ordered range of all the cal events where groupId = ? and type = any ?.

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.

Parameters:
groupId - the group ID
types - the types
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events
Throws:
SystemException - if a system exception occurred

removeByG_T

void removeByG_T(long groupId,
                 String type)
                 throws SystemException
Removes all the cal events where groupId = ? and type = ? from the database.

Parameters:
groupId - the group ID
type - the type
Throws:
SystemException - if a system exception occurred

countByG_T

int countByG_T(long groupId,
               String type)
               throws SystemException
Returns the number of cal events where groupId = ? and type = ?.

Parameters:
groupId - the group ID
type - the type
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

countByG_T

int countByG_T(long groupId,
               String[] types)
               throws SystemException
Returns the number of cal events where groupId = ? and type = any ?.

Parameters:
groupId - the group ID
types - the types
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

filterCountByG_T

int filterCountByG_T(long groupId,
                     String type)
                     throws SystemException
Returns the number of cal events that the user has permission to view where groupId = ? and type = ?.

Parameters:
groupId - the group ID
type - the type
Returns:
the number of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_T

int filterCountByG_T(long groupId,
                     String[] types)
                     throws SystemException
Returns the number of cal events that the user has permission to view where groupId = ? and type = any ?.

Parameters:
groupId - the group ID
types - the types
Returns:
the number of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_R

List<CalEvent> findByG_R(long groupId,
                         boolean repeating)
                         throws SystemException
Returns all the cal events where groupId = ? and repeating = ?.

Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByG_R

List<CalEvent> findByG_R(long groupId,
                         boolean repeating,
                         int start,
                         int end)
                         throws SystemException
Returns a range of all the cal events where groupId = ? and repeating = ?.

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.

Parameters:
groupId - the group ID
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events
Throws:
SystemException - if a system exception occurred

findByG_R

List<CalEvent> findByG_R(long groupId,
                         boolean repeating,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Returns an ordered range of all the cal events where groupId = ? and repeating = ?.

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.

Parameters:
groupId - the group ID
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events
Throws:
SystemException - if a system exception occurred

findByG_R_First

CalEvent findByG_R_First(long groupId,
                         boolean repeating,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchEventException
Returns the first cal event in the ordered set where groupId = ? and repeating = ?.

Parameters:
groupId - the group ID
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_R_First

CalEvent fetchByG_R_First(long groupId,
                          boolean repeating,
                          OrderByComparator orderByComparator)
                          throws SystemException
Returns the first cal event in the ordered set where groupId = ? and repeating = ?.

Parameters:
groupId - the group ID
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_R_Last

CalEvent findByG_R_Last(long groupId,
                        boolean repeating,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchEventException
Returns the last cal event in the ordered set where groupId = ? and repeating = ?.

Parameters:
groupId - the group ID
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_R_Last

CalEvent fetchByG_R_Last(long groupId,
                         boolean repeating,
                         OrderByComparator orderByComparator)
                         throws SystemException
Returns the last cal event in the ordered set where groupId = ? and repeating = ?.

Parameters:
groupId - the group ID
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_R_PrevAndNext

CalEvent[] findByG_R_PrevAndNext(long eventId,
                                 long groupId,
                                 boolean repeating,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchEventException
Returns the cal events before and after the current cal event in the ordered set where groupId = ? and repeating = ?.

Parameters:
eventId - the primary key of the current cal event
groupId - the group ID
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_R

List<CalEvent> filterFindByG_R(long groupId,
                               boolean repeating)
                               throws SystemException
Returns all the cal events that the user has permission to view where groupId = ? and repeating = ?.

Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_R

List<CalEvent> filterFindByG_R(long groupId,
                               boolean repeating,
                               int start,
                               int end)
                               throws SystemException
Returns a range of all the cal events that the user has permission to view where groupId = ? and repeating = ?.

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.

Parameters:
groupId - the group ID
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_R

List<CalEvent> filterFindByG_R(long groupId,
                               boolean repeating,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and repeating = ?.

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.

Parameters:
groupId - the group ID
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_R_PrevAndNext

CalEvent[] filterFindByG_R_PrevAndNext(long eventId,
                                       long groupId,
                                       boolean repeating,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchEventException
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 = ?.

Parameters:
eventId - the primary key of the current cal event
groupId - the group ID
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

removeByG_R

void removeByG_R(long groupId,
                 boolean repeating)
                 throws SystemException
Removes all the cal events where groupId = ? and repeating = ? from the database.

Parameters:
groupId - the group ID
repeating - the repeating
Throws:
SystemException - if a system exception occurred

countByG_R

int countByG_R(long groupId,
               boolean repeating)
               throws SystemException
Returns the number of cal events where groupId = ? and repeating = ?.

Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

filterCountByG_R

int filterCountByG_R(long groupId,
                     boolean repeating)
                     throws SystemException
Returns the number of cal events that the user has permission to view where groupId = ? and repeating = ?.

Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the number of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_T_R

List<CalEvent> findByG_T_R(long groupId,
                           String type,
                           boolean repeating)
                           throws SystemException
Returns all the cal events where groupId = ? and type = ? and repeating = ?.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T_R

List<CalEvent> findByG_T_R(long groupId,
                           String type,
                           boolean repeating,
                           int start,
                           int end)
                           throws SystemException
Returns a range of all the cal events where groupId = ? and type = ? and repeating = ?.

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.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T_R

List<CalEvent> findByG_T_R(long groupId,
                           String type,
                           boolean repeating,
                           int start,
                           int end,
                           OrderByComparator orderByComparator)
                           throws SystemException
Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?.

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.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T_R_First

CalEvent findByG_T_R_First(long groupId,
                           String type,
                           boolean repeating,
                           OrderByComparator orderByComparator)
                           throws SystemException,
                                  NoSuchEventException
Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_T_R_First

CalEvent fetchByG_T_R_First(long groupId,
                            String type,
                            boolean repeating,
                            OrderByComparator orderByComparator)
                            throws SystemException
Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_T_R_Last

CalEvent findByG_T_R_Last(long groupId,
                          String type,
                          boolean repeating,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchEventException
Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_T_R_Last

CalEvent fetchByG_T_R_Last(long groupId,
                           String type,
                           boolean repeating,
                           OrderByComparator orderByComparator)
                           throws SystemException
Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_T_R_PrevAndNext

CalEvent[] findByG_T_R_PrevAndNext(long eventId,
                                   long groupId,
                                   String type,
                                   boolean repeating,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchEventException
Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ? and repeating = ?.

Parameters:
eventId - the primary key of the current cal event
groupId - the group ID
type - the type
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_T_R

List<CalEvent> filterFindByG_T_R(long groupId,
                                 String type,
                                 boolean repeating)
                                 throws SystemException
Returns all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Returns:
the matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T_R

List<CalEvent> filterFindByG_T_R(long groupId,
                                 String type,
                                 boolean repeating,
                                 int start,
                                 int end)
                                 throws SystemException
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.

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.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T_R

List<CalEvent> filterFindByG_T_R(long groupId,
                                 String type,
                                 boolean repeating,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and type = ? and repeating = ?.

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.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T_R_PrevAndNext

CalEvent[] filterFindByG_T_R_PrevAndNext(long eventId,
                                         long groupId,
                                         String type,
                                         boolean repeating,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchEventException
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 = ?.

Parameters:
eventId - the primary key of the current cal event
groupId - the group ID
type - the type
repeating - the repeating
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_T_R

List<CalEvent> filterFindByG_T_R(long groupId,
                                 String[] types,
                                 boolean repeating)
                                 throws SystemException
Returns all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.

Parameters:
groupId - the group ID
types - the types
repeating - the repeating
Returns:
the matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T_R

List<CalEvent> filterFindByG_T_R(long groupId,
                                 String[] types,
                                 boolean repeating,
                                 int start,
                                 int end)
                                 throws SystemException
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.

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.

Parameters:
groupId - the group ID
types - the types
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T_R

List<CalEvent> filterFindByG_T_R(long groupId,
                                 String[] types,
                                 boolean repeating,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.

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.

Parameters:
groupId - the group ID
types - the types
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_T_R

List<CalEvent> findByG_T_R(long groupId,
                           String[] types,
                           boolean repeating)
                           throws SystemException
Returns all the cal events where groupId = ? and type = any ? and repeating = ?.

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.

Parameters:
groupId - the group ID
types - the types
repeating - the repeating
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T_R

List<CalEvent> findByG_T_R(long groupId,
                           String[] types,
                           boolean repeating,
                           int start,
                           int end)
                           throws SystemException
Returns a range of all the cal events where groupId = ? and type = any ? and repeating = ?.

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.

Parameters:
groupId - the group ID
types - the types
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T_R

List<CalEvent> findByG_T_R(long groupId,
                           String[] types,
                           boolean repeating,
                           int start,
                           int end,
                           OrderByComparator orderByComparator)
                           throws SystemException
Returns an ordered range of all the cal events where groupId = ? and type = any ? and repeating = ?.

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.

Parameters:
groupId - the group ID
types - the types
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching cal events
Throws:
SystemException - if a system exception occurred

removeByG_T_R

void removeByG_T_R(long groupId,
                   String type,
                   boolean repeating)
                   throws SystemException
Removes all the cal events where groupId = ? and type = ? and repeating = ? from the database.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Throws:
SystemException - if a system exception occurred

countByG_T_R

int countByG_T_R(long groupId,
                 String type,
                 boolean repeating)
                 throws SystemException
Returns the number of cal events where groupId = ? and type = ? and repeating = ?.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

countByG_T_R

int countByG_T_R(long groupId,
                 String[] types,
                 boolean repeating)
                 throws SystemException
Returns the number of cal events where groupId = ? and type = any ? and repeating = ?.

Parameters:
groupId - the group ID
types - the types
repeating - the repeating
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

filterCountByG_T_R

int filterCountByG_T_R(long groupId,
                       String type,
                       boolean repeating)
                       throws SystemException
Returns the number of cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Returns:
the number of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_T_R

int filterCountByG_T_R(long groupId,
                       String[] types,
                       boolean repeating)
                       throws SystemException
Returns the number of cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.

Parameters:
groupId - the group ID
types - the types
repeating - the repeating
Returns:
the number of matching cal events that the user has permission to view
Throws:
SystemException - if a system exception occurred

cacheResult

void cacheResult(CalEvent calEvent)
Caches the cal event in the entity cache if it is enabled.

Parameters:
calEvent - the cal event

cacheResult

void cacheResult(List<CalEvent> calEvents)
Caches the cal events in the entity cache if it is enabled.

Parameters:
calEvents - the cal events

create

CalEvent create(long eventId)
Creates a new cal event with the primary key. Does not add the cal event to the database.

Parameters:
eventId - the primary key for the new cal event
Returns:
the new cal event

remove

CalEvent remove(long eventId)
                throws SystemException,
                       NoSuchEventException
Removes the cal event with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
eventId - the primary key of the cal event
Returns:
the cal event that was removed
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

CalEvent updateImpl(CalEvent calEvent)
                    throws SystemException
Throws:
SystemException

findByPrimaryKey

CalEvent findByPrimaryKey(long eventId)
                          throws SystemException,
                                 NoSuchEventException
Returns the cal event with the primary key or throws a NoSuchEventException if it could not be found.

Parameters:
eventId - the primary key of the cal event
Returns:
the cal event
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

CalEvent fetchByPrimaryKey(long eventId)
                           throws SystemException
Returns the cal event with the primary key or returns null if it could not be found.

Parameters:
eventId - the primary key of the cal event
Returns:
the cal event, or null if a cal event with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findAll

List<CalEvent> findAll()
                       throws SystemException
Returns all the cal events.

Returns:
the cal events
Throws:
SystemException - if a system exception occurred

findAll

List<CalEvent> findAll(int start,
                       int end)
                       throws SystemException
Returns a range of all the cal events.

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.

Parameters:
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of cal events
Throws:
SystemException - if a system exception occurred

findAll

List<CalEvent> findAll(int start,
                       int end,
                       OrderByComparator orderByComparator)
                       throws SystemException
Returns an ordered range of all the cal events.

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.

Parameters:
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of cal events
Throws:
SystemException - if a system exception occurred

removeAll

void removeAll()
               throws SystemException
Removes all the cal events from the database.

Throws:
SystemException - if a system exception occurred

countAll

int countAll()
             throws SystemException
Returns the number of cal events.

Returns:
the number of cal events
Throws:
SystemException - if a system exception occurred

Liferay 6.2-ce-ga5