com.liferay.portlet.calendar.service.persistence
Class CalEventPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.calendar.model.CalEvent>
      extended by com.liferay.portlet.calendar.service.persistence.CalEventPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.calendar.model.CalEvent>, com.liferay.portlet.calendar.service.persistence.CalEventPersistence

public class CalEventPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.calendar.model.CalEvent>
implements com.liferay.portlet.calendar.service.persistence.CalEventPersistence

The persistence implementation for the cal event service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
CalEventPersistence, CalEventUtil
Generated:

Field Summary
protected  com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence
           
protected  com.liferay.portlet.calendar.service.persistence.CalEventPersistence calEventPersistence
           
protected  com.liferay.portal.service.persistence.CompanyPersistence companyPersistence
           
protected  com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence expandoValuePersistence
           
static java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_R
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_T_R
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_NOTREMINDBY
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_R
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_R
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_NOTREMINDBY
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_R
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_R
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_NOTREMINDBY
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
protected  com.liferay.portal.service.persistence.GroupPersistence groupPersistence
           
protected  com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
CalEventPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the cal event persistence.
 void cacheResult(com.liferay.portlet.calendar.model.CalEvent calEvent)
          Caches the cal event in the entity cache if it is enabled.
 void cacheResult(java.util.List<com.liferay.portlet.calendar.model.CalEvent> calEvents)
          Caches the cal events in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all cal events.
 void clearCache(com.liferay.portlet.calendar.model.CalEvent calEvent)
          Clears the cache for the cal event.
 void clearCache(java.util.List<com.liferay.portlet.calendar.model.CalEvent> calEvents)
           
protected  void clearUniqueFindersCache(com.liferay.portlet.calendar.model.CalEvent calEvent)
           
 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, java.lang.String[] types, boolean repeating)
          Returns the number of cal events where groupId = ? and type = any ? and repeating = ?.
 int countByG_T_R(long groupId, java.lang.String type, boolean repeating)
          Returns the number of cal events where groupId = ? and type = ? and repeating = ?.
 int countByG_T(long groupId, java.lang.String type)
          Returns the number of cal events where groupId = ? and type = ?.
 int countByG_T(long groupId, java.lang.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_G(java.lang.String uuid, long groupId)
          Returns the number of cal events where uuid = ? and groupId = ?.
 int countByUuid(java.lang.String uuid)
          Returns the number of cal events where uuid = ?.
 com.liferay.portlet.calendar.model.CalEvent create(long eventId)
          Creates a new cal event with the primary key.
 void destroy()
           
 com.liferay.portlet.calendar.model.CalEvent fetchByPrimaryKey(long eventId)
          Returns the cal event with the primary key or returns null if it could not be found.
 com.liferay.portlet.calendar.model.CalEvent fetchByPrimaryKey(java.io.Serializable primaryKey)
          Returns the cal event with the primary key or returns null if it could not be found.
 com.liferay.portlet.calendar.model.CalEvent fetchByUUID_G(java.lang.String uuid, long groupId)
          Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found.
 com.liferay.portlet.calendar.model.CalEvent fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
          Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 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, java.lang.String[] types, boolean repeating)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
 int filterCountByG_T_R(long groupId, java.lang.String type, boolean repeating)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
 int filterCountByG_T(long groupId, java.lang.String type)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = ?.
 int filterCountByG_T(long groupId, java.lang.String[] types)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = any ?.
 int filterCountByGroupId(long groupId)
          Returns the number of cal events that the user has permission to view where groupId = ?.
 com.liferay.portlet.calendar.model.CalEvent[] filterFindByG_R_PrevAndNext(long eventId, long groupId, boolean repeating, com.liferay.portal.kernel.util.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 = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_R(long groupId, boolean repeating)
          Returns all the cal events that the user has permission to view where groupId = ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.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 = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_R(long groupId, boolean repeating, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and repeating = ?.
 com.liferay.portlet.calendar.model.CalEvent[] filterFindByG_T_PrevAndNext(long eventId, long groupId, java.lang.String type, com.liferay.portal.kernel.util.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 = ?.
 com.liferay.portlet.calendar.model.CalEvent[] filterFindByG_T_R_PrevAndNext(long eventId, long groupId, java.lang.String type, boolean repeating, com.liferay.portal.kernel.util.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 = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId, java.lang.String[] types, boolean repeating)
          Returns all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId, java.lang.String[] types, boolean repeating, int start, int end)
          Returns a range of all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId, java.lang.String[] types, boolean repeating, int start, int end, com.liferay.portal.kernel.util.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 = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId, java.lang.String type, boolean repeating)
          Returns all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId, java.lang.String type, boolean repeating, int start, int end)
          Returns a range of all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId, java.lang.String type, boolean repeating, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and type = ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId, java.lang.String type)
          Returns all the cal events that the user has permission to view where groupId = ? and type = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId, java.lang.String[] types)
          Returns all the cal events that the user has permission to view where groupId = ? and type = any ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId, java.lang.String[] types, int start, int end)
          Returns a range of all the cal events that the user has permission to view where groupId = ? and type = any ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId, java.lang.String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events that the user has permission to view where groupId = ? and type = any ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId, java.lang.String type, int start, int end)
          Returns a range of all the cal events that the user has permission to view where groupId = ? and type = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and type = ?.
 com.liferay.portlet.calendar.model.CalEvent[] filterFindByGroupId_PrevAndNext(long eventId, long groupId, com.liferay.portal.kernel.util.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 = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByGroupId(long groupId)
          Returns all the cal events that the user has permission to view where groupId = ?.
 java.util.List<com.liferay.portlet.calendar.model.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 = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events that the user has permissions to view where groupId = ?.
protected  com.liferay.portlet.calendar.model.CalEvent filterGetByG_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.calendar.model.CalEvent calEvent, long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.calendar.model.CalEvent filterGetByG_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.calendar.model.CalEvent calEvent, long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.calendar.model.CalEvent filterGetByG_T_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.calendar.model.CalEvent calEvent, long groupId, java.lang.String type, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.calendar.model.CalEvent filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.calendar.model.CalEvent calEvent, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll()
          Returns all the cal events.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll(int start, int end)
          Returns a range of all the cal events.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events.
 com.liferay.portlet.calendar.model.CalEvent findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where companyId = ?.
 com.liferay.portlet.calendar.model.CalEvent findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where companyId = ?.
 com.liferay.portlet.calendar.model.CalEvent[] findByCompanyId_PrevAndNext(long eventId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where companyId = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(long companyId)
          Returns all the cal events where companyId = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the cal events where companyId = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where companyId = ?.
 com.liferay.portlet.calendar.model.CalEvent findByG_R_First(long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and repeating = ?.
 com.liferay.portlet.calendar.model.CalEvent findByG_R_Last(long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and repeating = ?.
 com.liferay.portlet.calendar.model.CalEvent[] findByG_R_PrevAndNext(long eventId, long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where groupId = ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(long groupId, boolean repeating)
          Returns all the cal events where groupId = ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(long groupId, boolean repeating, int start, int end)
          Returns a range of all the cal events where groupId = ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(long groupId, boolean repeating, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and repeating = ?.
 com.liferay.portlet.calendar.model.CalEvent findByG_T_First(long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and type = ?.
 com.liferay.portlet.calendar.model.CalEvent findByG_T_Last(long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and type = ?.
 com.liferay.portlet.calendar.model.CalEvent[] findByG_T_PrevAndNext(long eventId, long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ?.
 com.liferay.portlet.calendar.model.CalEvent findByG_T_R_First(long groupId, java.lang.String type, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 com.liferay.portlet.calendar.model.CalEvent findByG_T_R_Last(long groupId, java.lang.String type, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 com.liferay.portlet.calendar.model.CalEvent[] findByG_T_R_PrevAndNext(long eventId, long groupId, java.lang.String type, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId, java.lang.String[] types, boolean repeating)
          Returns all the cal events where groupId = ? and type = any ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId, java.lang.String[] types, boolean repeating, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = any ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId, java.lang.String[] types, boolean repeating, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and type = any ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId, java.lang.String type, boolean repeating)
          Returns all the cal events where groupId = ? and type = ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId, java.lang.String type, boolean repeating, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId, java.lang.String type, boolean repeating, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId, java.lang.String type)
          Returns all the cal events where groupId = ? and type = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId, java.lang.String[] types)
          Returns all the cal events where groupId = ? and type = any ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId, java.lang.String[] types, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = any ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId, java.lang.String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and type = any ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId, java.lang.String type, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and type = ?.
 com.liferay.portlet.calendar.model.CalEvent findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ?.
 com.liferay.portlet.calendar.model.CalEvent findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ?.
 com.liferay.portlet.calendar.model.CalEvent[] findByGroupId_PrevAndNext(long eventId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where groupId = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(long groupId)
          Returns all the cal events where groupId = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(long groupId, int start, int end)
          Returns a range of all the cal events where groupId = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ?.
 com.liferay.portlet.calendar.model.CalEvent findByNotRemindBy_First(int remindBy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where remindBy ≠ ?.
 com.liferay.portlet.calendar.model.CalEvent findByNotRemindBy_Last(int remindBy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where remindBy ≠ ?.
 com.liferay.portlet.calendar.model.CalEvent[] findByNotRemindBy_PrevAndNext(long eventId, int remindBy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where remindBy ≠ ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(int remindBy)
          Returns all the cal events where remindBy ≠ ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(int remindBy, int start, int end)
          Returns a range of all the cal events where remindBy ≠ ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(int remindBy, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where remindBy ≠ ?.
 com.liferay.portlet.calendar.model.CalEvent findByPrimaryKey(long eventId)
          Returns the cal event with the primary key or throws a NoSuchEventException if it could not be found.
 com.liferay.portlet.calendar.model.CalEvent findByPrimaryKey(java.io.Serializable primaryKey)
          Returns the cal event with the primary key or throws a NoSuchModelException if it could not be found.
 com.liferay.portlet.calendar.model.CalEvent findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where uuid = ?.
 com.liferay.portlet.calendar.model.CalEvent findByUUID_G(java.lang.String uuid, long groupId)
          Returns the cal event where uuid = ? and groupId = ? or throws a NoSuchEventException if it could not be found.
 com.liferay.portlet.calendar.model.CalEvent findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where uuid = ?.
 com.liferay.portlet.calendar.model.CalEvent[] findByUuid_PrevAndNext(long eventId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where uuid = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(java.lang.String uuid)
          Returns all the cal events where uuid = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(java.lang.String uuid, int start, int end)
          Returns a range of all the cal events where uuid = ?.
 java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where uuid = ?.
protected  com.liferay.portlet.calendar.model.CalEvent getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.calendar.model.CalEvent calEvent, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.calendar.model.CalEvent getByG_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.calendar.model.CalEvent calEvent, long groupId, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.calendar.model.CalEvent getByG_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.calendar.model.CalEvent calEvent, long groupId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.calendar.model.CalEvent getByG_T_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.calendar.model.CalEvent calEvent, long groupId, java.lang.String type, boolean repeating, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.calendar.model.CalEvent getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.calendar.model.CalEvent calEvent, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.calendar.model.CalEvent getByNotRemindBy_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.calendar.model.CalEvent calEvent, int remindBy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.calendar.model.CalEvent getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.calendar.model.CalEvent calEvent, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 com.liferay.portlet.calendar.model.CalEvent remove(long eventId)
          Removes the cal event with the primary key from the database.
 com.liferay.portlet.calendar.model.CalEvent remove(java.io.Serializable primaryKey)
          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, java.lang.String type, boolean repeating)
          Removes all the cal events where groupId = ? and type = ? and repeating = ? from the database.
 void removeByG_T(long groupId, java.lang.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_G(java.lang.String uuid, long groupId)
          Removes the cal event where uuid = ? and groupId = ? from the database.
 void removeByUuid(java.lang.String uuid)
          Removes all the cal events where uuid = ? from the database.
protected  com.liferay.portlet.calendar.model.CalEvent removeImpl(com.liferay.portlet.calendar.model.CalEvent calEvent)
           
protected  com.liferay.portlet.calendar.model.CalEvent toUnwrappedModel(com.liferay.portlet.calendar.model.CalEvent calEvent)
           
 com.liferay.portlet.calendar.model.CalEvent updateImpl(com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_NOTREMINDBY

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_NOTREMINDBY

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_NOTREMINDBY

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_NOTREMINDBY

FINDER_PATH_COUNT_BY_NOTREMINDBY

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_NOTREMINDBY

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T

FINDER_PATH_COUNT_BY_G_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_T

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_R

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_R

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_R

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_R

FINDER_PATH_COUNT_BY_G_R

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_R

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_R

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_R

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_R

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_R

FINDER_PATH_COUNT_BY_G_T_R

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_T_R

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

calEventPersistence

@BeanReference(type=com.liferay.portlet.calendar.service.persistence.CalEventPersistence.class)
protected com.liferay.portlet.calendar.service.persistence.CalEventPersistence calEventPersistence

companyPersistence

@BeanReference(type=com.liferay.portal.service.persistence.CompanyPersistence.class)
protected com.liferay.portal.service.persistence.CompanyPersistence companyPersistence

groupPersistence

@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class)
protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence

portletPreferencesPersistence

@BeanReference(type=com.liferay.portal.service.persistence.PortletPreferencesPersistence.class)
protected com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

assetEntryPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetEntryPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence

assetLinkPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetLinkPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence

assetTagPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence

expandoValuePersistence

@BeanReference(type=com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence.class)
protected com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence expandoValuePersistence

socialActivityPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence
Constructor Detail

CalEventPersistenceImpl

public CalEventPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.calendar.model.CalEvent calEvent)
Caches the cal event in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
calEvent - the cal event

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.calendar.model.CalEvent> calEvents)
Caches the cal events in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
calEvents - the cal events

clearCache

public void clearCache()
Clears the cache for all cal events.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.calendar.model.CalEvent>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.calendar.model.CalEvent>

clearCache

public void clearCache(com.liferay.portlet.calendar.model.CalEvent calEvent)
Clears the cache for the cal event.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.calendar.model.CalEvent>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.calendar.model.CalEvent>

clearCache

public void clearCache(java.util.List<com.liferay.portlet.calendar.model.CalEvent> calEvents)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.calendar.model.CalEvent>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.calendar.model.CalEvent>

clearUniqueFindersCache

protected void clearUniqueFindersCache(com.liferay.portlet.calendar.model.CalEvent calEvent)

create

public com.liferay.portlet.calendar.model.CalEvent create(long eventId)
Creates a new cal event with the primary key. Does not add the cal event to the database.

Specified by:
create in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
eventId - the primary key for the new cal event
Returns:
the new cal event

remove

public com.liferay.portlet.calendar.model.CalEvent remove(long eventId)
                                                   throws com.liferay.portlet.calendar.NoSuchEventException,
                                                          com.liferay.portal.kernel.exception.SystemException
Removes the cal event with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
eventId - the primary key of the cal event
Returns:
the cal event that was removed
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

remove

public com.liferay.portlet.calendar.model.CalEvent remove(java.io.Serializable primaryKey)
                                                   throws com.liferay.portlet.calendar.NoSuchEventException,
                                                          com.liferay.portal.kernel.exception.SystemException
Removes the cal event with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.calendar.model.CalEvent>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.calendar.model.CalEvent>
Parameters:
primaryKey - the primary key of the cal event
Returns:
the cal event that was removed
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeImpl

protected com.liferay.portlet.calendar.model.CalEvent removeImpl(com.liferay.portlet.calendar.model.CalEvent calEvent)
                                                          throws com.liferay.portal.kernel.exception.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.calendar.model.CalEvent>
Throws:
com.liferay.portal.kernel.exception.SystemException

updateImpl

public com.liferay.portlet.calendar.model.CalEvent updateImpl(com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                              boolean merge)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.calendar.model.CalEvent>
Throws:
com.liferay.portal.kernel.exception.SystemException

toUnwrappedModel

protected com.liferay.portlet.calendar.model.CalEvent toUnwrappedModel(com.liferay.portlet.calendar.model.CalEvent calEvent)

findByPrimaryKey

public com.liferay.portlet.calendar.model.CalEvent findByPrimaryKey(java.io.Serializable primaryKey)
                                                             throws com.liferay.portal.NoSuchModelException,
                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the cal event with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.calendar.model.CalEvent>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.calendar.model.CalEvent>
Parameters:
primaryKey - the primary key of the cal event
Returns:
the cal event
Throws:
com.liferay.portal.NoSuchModelException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPrimaryKey

public com.liferay.portlet.calendar.model.CalEvent findByPrimaryKey(long eventId)
                                                             throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the cal event with the primary key or throws a NoSuchEventException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
eventId - the primary key of the cal event
Returns:
the cal event
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.calendar.model.CalEvent fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns the cal event with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.calendar.model.CalEvent>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.calendar.model.CalEvent>
Parameters:
primaryKey - 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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.calendar.model.CalEvent fetchByPrimaryKey(long eventId)
                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns the cal event with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(java.lang.String uuid)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events where uuid = ?.

Specified by:
findByUuid in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
uuid - the uuid
Returns:
the matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(java.lang.String uuid,
                                                                              int start,
                                                                              int end)
                                                                       throws com.liferay.portal.kernel.exception.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.

Specified by:
findByUuid in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(java.lang.String uuid,
                                                                              int start,
                                                                              int end,
                                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                       throws com.liferay.portal.kernel.exception.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.

Specified by:
findByUuid in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid_First

public com.liferay.portlet.calendar.model.CalEvent findByUuid_First(java.lang.String uuid,
                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                             throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the first cal event in the ordered set 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.

Specified by:
findByUuid_First in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid_Last

public com.liferay.portlet.calendar.model.CalEvent findByUuid_Last(java.lang.String uuid,
                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                            throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the last cal event in the ordered set 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.

Specified by:
findByUuid_Last in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] findByUuid_PrevAndNext(long eventId,
                                                                            java.lang.String uuid,
                                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                     throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                            com.liferay.portal.kernel.exception.SystemException
Returns the cal events before and after the current cal event in the ordered set 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.

Specified by:
findByUuid_PrevAndNext in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected com.liferay.portlet.calendar.model.CalEvent getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                            com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                                            java.lang.String uuid,
                                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                            boolean previous)

findByUUID_G

public com.liferay.portlet.calendar.model.CalEvent findByUUID_G(java.lang.String uuid,
                                                                long groupId)
                                                         throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                com.liferay.portal.kernel.exception.SystemException
Returns the cal event where uuid = ? and groupId = ? or throws a NoSuchEventException if it could not be found.

Specified by:
findByUUID_G in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching cal event
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByUUID_G

public com.liferay.portlet.calendar.model.CalEvent fetchByUUID_G(java.lang.String uuid,
                                                                 long groupId)
                                                          throws com.liferay.portal.kernel.exception.SystemException
Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByUUID_G in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByUUID_G

public com.liferay.portlet.calendar.model.CalEvent fetchByUUID_G(java.lang.String uuid,
                                                                 long groupId,
                                                                 boolean retrieveFromCache)
                                                          throws com.liferay.portal.kernel.exception.SystemException
Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByUUID_G in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(long companyId)
                                                                            throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events where companyId = ?.

Specified by:
findByCompanyId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
companyId - the company ID
Returns:
the matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(long companyId,
                                                                                   int start,
                                                                                   int end)
                                                                            throws com.liferay.portal.kernel.exception.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.

Specified by:
findByCompanyId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(long companyId,
                                                                                   int start,
                                                                                   int end,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                            throws com.liferay.portal.kernel.exception.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.

Specified by:
findByCompanyId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_First

public com.liferay.portlet.calendar.model.CalEvent findByCompanyId_First(long companyId,
                                                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                  throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                         com.liferay.portal.kernel.exception.SystemException
Returns the first cal event in the ordered set 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.

Specified by:
findByCompanyId_First in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_Last

public com.liferay.portlet.calendar.model.CalEvent findByCompanyId_Last(long companyId,
                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                 throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                        com.liferay.portal.kernel.exception.SystemException
Returns the last cal event in the ordered set 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.

Specified by:
findByCompanyId_Last in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] findByCompanyId_PrevAndNext(long eventId,
                                                                                 long companyId,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                          throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
Returns the cal events before and after the current cal event in the ordered set 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.

Specified by:
findByCompanyId_PrevAndNext in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByCompanyId_PrevAndNext

protected com.liferay.portlet.calendar.model.CalEvent getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                 com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                                                 long companyId,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                 boolean previous)

findByGroupId

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(long groupId)
                                                                          throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events where groupId = ?.

Specified by:
findByGroupId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
Returns:
the matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(long groupId,
                                                                                 int start,
                                                                                 int end)
                                                                          throws com.liferay.portal.kernel.exception.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.

Specified by:
findByGroupId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(long groupId,
                                                                                 int start,
                                                                                 int end,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                          throws com.liferay.portal.kernel.exception.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.

Specified by:
findByGroupId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId_First

public com.liferay.portlet.calendar.model.CalEvent findByGroupId_First(long groupId,
                                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                       com.liferay.portal.kernel.exception.SystemException
Returns the first cal event in the ordered set 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.

Specified by:
findByGroupId_First in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId_Last

public com.liferay.portlet.calendar.model.CalEvent findByGroupId_Last(long groupId,
                                                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                               throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                      com.liferay.portal.kernel.exception.SystemException
Returns the last cal event in the ordered set 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.

Specified by:
findByGroupId_Last in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] findByGroupId_PrevAndNext(long eventId,
                                                                               long groupId,
                                                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                        throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                               com.liferay.portal.kernel.exception.SystemException
Returns the cal events before and after the current cal event in the ordered set 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.

Specified by:
findByGroupId_PrevAndNext in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByGroupId_PrevAndNext

protected com.liferay.portlet.calendar.model.CalEvent getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                               com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                                               long groupId,
                                                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                               boolean previous)

filterFindByGroupId

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByGroupId(long groupId)
                                                                                throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
Returns:
the matching cal events that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByGroupId

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByGroupId(long groupId,
                                                                                       int start,
                                                                                       int end)
                                                                                throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByGroupId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByGroupId

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByGroupId(long groupId,
                                                                                       int start,
                                                                                       int end,
                                                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByGroupId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] filterFindByGroupId_PrevAndNext(long eventId,
                                                                                     long groupId,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                              throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                                     com.liferay.portal.kernel.exception.SystemException
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 = ?.

Specified by:
filterFindByGroupId_PrevAndNext in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterGetByGroupId_PrevAndNext

protected com.liferay.portlet.calendar.model.CalEvent filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                     com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                                                     long groupId,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                     boolean previous)

findByNotRemindBy

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(int remindBy)
                                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events where remindBy ≠ ?.

Specified by:
findByNotRemindBy in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
remindBy - the remind by
Returns:
the matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByNotRemindBy

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(int remindBy,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.kernel.exception.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.

Specified by:
findByNotRemindBy in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByNotRemindBy

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(int remindBy,
                                                                                     int start,
                                                                                     int end,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                              throws com.liferay.portal.kernel.exception.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.

Specified by:
findByNotRemindBy in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByNotRemindBy_First

public com.liferay.portlet.calendar.model.CalEvent findByNotRemindBy_First(int remindBy,
                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                    throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                           com.liferay.portal.kernel.exception.SystemException
Returns the first cal event in the ordered set 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.

Specified by:
findByNotRemindBy_First in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
remindBy - the remind by
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching cal event
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByNotRemindBy_Last

public com.liferay.portlet.calendar.model.CalEvent findByNotRemindBy_Last(int remindBy,
                                                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                   throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Returns the last cal event in the ordered set 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.

Specified by:
findByNotRemindBy_Last in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
remindBy - the remind by
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching cal event
Throws:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByNotRemindBy_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] findByNotRemindBy_PrevAndNext(long eventId,
                                                                                   int remindBy,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                            throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the cal events before and after the current cal event in the ordered set 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.

Specified by:
findByNotRemindBy_PrevAndNext in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByNotRemindBy_PrevAndNext

protected com.liferay.portlet.calendar.model.CalEvent getByNotRemindBy_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                   com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                                                   int remindBy,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                   boolean previous)

findByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId,
                                                                             java.lang.String type)
                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events where groupId = ? and type = ?.

Specified by:
findByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
type - the type
Returns:
the matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId,
                                                                             java.lang.String type,
                                                                             int start,
                                                                             int end)
                                                                      throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId,
                                                                             java.lang.String type,
                                                                             int start,
                                                                             int end,
                                                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                      throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T_First

public com.liferay.portlet.calendar.model.CalEvent findByG_T_First(long groupId,
                                                                   java.lang.String type,
                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                            throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the first cal event in the ordered set 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.

Specified by:
findByG_T_First in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T_Last

public com.liferay.portlet.calendar.model.CalEvent findByG_T_Last(long groupId,
                                                                  java.lang.String type,
                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                           throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                  com.liferay.portal.kernel.exception.SystemException
Returns the last cal event in the ordered set 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.

Specified by:
findByG_T_Last in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] findByG_T_PrevAndNext(long eventId,
                                                                           long groupId,
                                                                           java.lang.String type,
                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                    throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                           com.liferay.portal.kernel.exception.SystemException
Returns the cal events before and after the current cal event in the ordered set 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.

Specified by:
findByG_T_PrevAndNext in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByG_T_PrevAndNext

protected com.liferay.portlet.calendar.model.CalEvent getByG_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                           com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                                           long groupId,
                                                                           java.lang.String type,
                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                           boolean previous)

findByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId,
                                                                             java.lang.String[] types)
                                                                      throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
types - the types
Returns:
the matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId,
                                                                             java.lang.String[] types,
                                                                             int start,
                                                                             int end)
                                                                      throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(long groupId,
                                                                             java.lang.String[] types,
                                                                             int start,
                                                                             int end,
                                                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                      throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId,
                                                                                   java.lang.String type)
                                                                            throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events that the user has permission to view where groupId = ? and type = ?.

Specified by:
filterFindByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
type - the type
Returns:
the matching cal events that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId,
                                                                                   java.lang.String type,
                                                                                   int start,
                                                                                   int end)
                                                                            throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId,
                                                                                   java.lang.String type,
                                                                                   int start,
                                                                                   int end,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                            throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] filterFindByG_T_PrevAndNext(long eventId,
                                                                                 long groupId,
                                                                                 java.lang.String type,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                          throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
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 = ?.

Specified by:
filterFindByG_T_PrevAndNext in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterGetByG_T_PrevAndNext

protected com.liferay.portlet.calendar.model.CalEvent filterGetByG_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                 com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                                                 long groupId,
                                                                                 java.lang.String type,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                 boolean previous)

filterFindByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId,
                                                                                   java.lang.String[] types)
                                                                            throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events that the user has permission to view where groupId = ? and type = any ?.

Specified by:
filterFindByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
types - the types
Returns:
the matching cal events that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId,
                                                                                   java.lang.String[] types,
                                                                                   int start,
                                                                                   int end)
                                                                            throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(long groupId,
                                                                                   java.lang.String[] types,
                                                                                   int start,
                                                                                   int end,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                            throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(long groupId,
                                                                             boolean repeating)
                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events where groupId = ? and repeating = ?.

Specified by:
findByG_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(long groupId,
                                                                             boolean repeating,
                                                                             int start,
                                                                             int end)
                                                                      throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(long groupId,
                                                                             boolean repeating,
                                                                             int start,
                                                                             int end,
                                                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                      throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_R_First

public com.liferay.portlet.calendar.model.CalEvent findByG_R_First(long groupId,
                                                                   boolean repeating,
                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                            throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the first cal event in the ordered set 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.

Specified by:
findByG_R_First in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_R_Last

public com.liferay.portlet.calendar.model.CalEvent findByG_R_Last(long groupId,
                                                                  boolean repeating,
                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                           throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                  com.liferay.portal.kernel.exception.SystemException
Returns the last cal event in the ordered set 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.

Specified by:
findByG_R_Last in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_R_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] findByG_R_PrevAndNext(long eventId,
                                                                           long groupId,
                                                                           boolean repeating,
                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                    throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                           com.liferay.portal.kernel.exception.SystemException
Returns the cal events before and after the current cal event in the ordered set 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.

Specified by:
findByG_R_PrevAndNext in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByG_R_PrevAndNext

protected com.liferay.portlet.calendar.model.CalEvent getByG_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                           com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                                           long groupId,
                                                                           boolean repeating,
                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                           boolean previous)

filterFindByG_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_R(long groupId,
                                                                                   boolean repeating)
                                                                            throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events that the user has permission to view where groupId = ? and repeating = ?.

Specified by:
filterFindByG_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the matching cal events that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_R(long groupId,
                                                                                   boolean repeating,
                                                                                   int start,
                                                                                   int end)
                                                                            throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByG_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_R(long groupId,
                                                                                   boolean repeating,
                                                                                   int start,
                                                                                   int end,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                            throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByG_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_R_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] filterFindByG_R_PrevAndNext(long eventId,
                                                                                 long groupId,
                                                                                 boolean repeating,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                          throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
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 = ?.

Specified by:
filterFindByG_R_PrevAndNext in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterGetByG_R_PrevAndNext

protected com.liferay.portlet.calendar.model.CalEvent filterGetByG_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                 com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                                                 long groupId,
                                                                                 boolean repeating,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                 boolean previous)

findByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId,
                                                                               java.lang.String type,
                                                                               boolean repeating)
                                                                        throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events where groupId = ? and type = ? and repeating = ?.

Specified by:
findByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Returns:
the matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId,
                                                                               java.lang.String type,
                                                                               boolean repeating,
                                                                               int start,
                                                                               int end)
                                                                        throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId,
                                                                               java.lang.String type,
                                                                               boolean repeating,
                                                                               int start,
                                                                               int end,
                                                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                        throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T_R_First

public com.liferay.portlet.calendar.model.CalEvent findByG_T_R_First(long groupId,
                                                                     java.lang.String type,
                                                                     boolean repeating,
                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                              throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                     com.liferay.portal.kernel.exception.SystemException
Returns the first cal event in the ordered set 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.

Specified by:
findByG_T_R_First in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T_R_Last

public com.liferay.portlet.calendar.model.CalEvent findByG_T_R_Last(long groupId,
                                                                    java.lang.String type,
                                                                    boolean repeating,
                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                             throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the last cal event in the ordered set 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.

Specified by:
findByG_T_R_Last in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a matching cal event could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T_R_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] findByG_T_R_PrevAndNext(long eventId,
                                                                             long groupId,
                                                                             java.lang.String type,
                                                                             boolean repeating,
                                                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                      throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                             com.liferay.portal.kernel.exception.SystemException
Returns the cal events before and after the current cal event in the ordered set 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.

Specified by:
findByG_T_R_PrevAndNext in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByG_T_R_PrevAndNext

protected com.liferay.portlet.calendar.model.CalEvent getByG_T_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                             com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                                             long groupId,
                                                                             java.lang.String type,
                                                                             boolean repeating,
                                                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                             boolean previous)

findByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId,
                                                                               java.lang.String[] types,
                                                                               boolean repeating)
                                                                        throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
types - the types
repeating - the repeating
Returns:
the matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId,
                                                                               java.lang.String[] types,
                                                                               boolean repeating,
                                                                               int start,
                                                                               int end)
                                                                        throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(long groupId,
                                                                               java.lang.String[] types,
                                                                               boolean repeating,
                                                                               int start,
                                                                               int end,
                                                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                        throws com.liferay.portal.kernel.exception.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.

Specified by:
findByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId,
                                                                                     java.lang.String type,
                                                                                     boolean repeating)
                                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.

Specified by:
filterFindByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Returns:
the matching cal events that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId,
                                                                                     java.lang.String type,
                                                                                     boolean repeating,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId,
                                                                                     java.lang.String type,
                                                                                     boolean repeating,
                                                                                     int start,
                                                                                     int end,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                              throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T_R_PrevAndNext

public com.liferay.portlet.calendar.model.CalEvent[] filterFindByG_T_R_PrevAndNext(long eventId,
                                                                                   long groupId,
                                                                                   java.lang.String type,
                                                                                   boolean repeating,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                            throws com.liferay.portlet.calendar.NoSuchEventException,
                                                                                   com.liferay.portal.kernel.exception.SystemException
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 = ?.

Specified by:
filterFindByG_T_R_PrevAndNext in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portlet.calendar.NoSuchEventException - if a cal event with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterGetByG_T_R_PrevAndNext

protected com.liferay.portlet.calendar.model.CalEvent filterGetByG_T_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                   com.liferay.portlet.calendar.model.CalEvent calEvent,
                                                                                   long groupId,
                                                                                   java.lang.String type,
                                                                                   boolean repeating,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                   boolean previous)

filterFindByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId,
                                                                                     java.lang.String[] types,
                                                                                     boolean repeating)
                                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.

Specified by:
filterFindByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
types - the types
repeating - the repeating
Returns:
the matching cal events that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId,
                                                                                     java.lang.String[] types,
                                                                                     boolean repeating,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_T_R

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(long groupId,
                                                                                     java.lang.String[] types,
                                                                                     boolean repeating,
                                                                                     int start,
                                                                                     int end,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                              throws com.liferay.portal.kernel.exception.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.

Specified by:
filterFindByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll()
                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns all the cal events.

Specified by:
findAll in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Returns:
the cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll(int start,
                                                                           int end)
                                                                    throws com.liferay.portal.kernel.exception.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.

Specified by:
findAll in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll(int start,
                                                                           int end,
                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                    throws com.liferay.portal.kernel.exception.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.

Specified by:
findAll in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByUuid

public void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.kernel.exception.SystemException
Removes all the cal events where uuid = ? from the database.

Specified by:
removeByUuid in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
uuid - the uuid
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByUUID_G

public void removeByUUID_G(java.lang.String uuid,
                           long groupId)
                    throws com.liferay.portlet.calendar.NoSuchEventException,
                           com.liferay.portal.kernel.exception.SystemException
Removes the cal event where uuid = ? and groupId = ? from the database.

Specified by:
removeByUUID_G in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.calendar.NoSuchEventException

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.kernel.exception.SystemException
Removes all the cal events where companyId = ? from the database.

Specified by:
removeByCompanyId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
companyId - the company ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.kernel.exception.SystemException
Removes all the cal events where groupId = ? from the database.

Specified by:
removeByGroupId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByNotRemindBy

public void removeByNotRemindBy(int remindBy)
                         throws com.liferay.portal.kernel.exception.SystemException
Removes all the cal events where remindBy ≠ ? from the database.

Specified by:
removeByNotRemindBy in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
remindBy - the remind by
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByG_T

public void removeByG_T(long groupId,
                        java.lang.String type)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes all the cal events where groupId = ? and type = ? from the database.

Specified by:
removeByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
type - the type
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByG_R

public void removeByG_R(long groupId,
                        boolean repeating)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes all the cal events where groupId = ? and repeating = ? from the database.

Specified by:
removeByG_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
repeating - the repeating
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByG_T_R

public void removeByG_T_R(long groupId,
                          java.lang.String type,
                          boolean repeating)
                   throws com.liferay.portal.kernel.exception.SystemException
Removes all the cal events where groupId = ? and type = ? and repeating = ? from the database.

Specified by:
removeByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAll

public void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Removes all the cal events from the database.

Specified by:
removeAll in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByUuid

public int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events where uuid = ?.

Specified by:
countByUuid in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
uuid - the uuid
Returns:
the number of matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByUUID_G

public int countByUUID_G(java.lang.String uuid,
                         long groupId)
                  throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events where uuid = ? and groupId = ?.

Specified by:
countByUUID_G in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events where companyId = ?.

Specified by:
countByCompanyId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
companyId - the company ID
Returns:
the number of matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events where groupId = ?.

Specified by:
countByGroupId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterCountByGroupId

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

Specified by:
filterCountByGroupId in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching cal events that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByNotRemindBy

public int countByNotRemindBy(int remindBy)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events where remindBy ≠ ?.

Specified by:
countByNotRemindBy in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
remindBy - the remind by
Returns:
the number of matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByG_T

public int countByG_T(long groupId,
                      java.lang.String type)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events where groupId = ? and type = ?.

Specified by:
countByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
type - the type
Returns:
the number of matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByG_T

public int countByG_T(long groupId,
                      java.lang.String[] types)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events where groupId = ? and type = any ?.

Specified by:
countByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
types - the types
Returns:
the number of matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterCountByG_T

public int filterCountByG_T(long groupId,
                            java.lang.String type)
                     throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events that the user has permission to view where groupId = ? and type = ?.

Specified by:
filterCountByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
type - the type
Returns:
the number of matching cal events that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterCountByG_T

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

Specified by:
filterCountByG_T in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
types - the types
Returns:
the number of matching cal events that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByG_R

public int countByG_R(long groupId,
                      boolean repeating)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events where groupId = ? and repeating = ?.

Specified by:
countByG_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the number of matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterCountByG_R

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

Specified by:
filterCountByG_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the number of matching cal events that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByG_T_R

public int countByG_T_R(long groupId,
                        java.lang.String type,
                        boolean repeating)
                 throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events where groupId = ? and type = ? and repeating = ?.

Specified by:
countByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Returns:
the number of matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByG_T_R

public int countByG_T_R(long groupId,
                        java.lang.String[] types,
                        boolean repeating)
                 throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events where groupId = ? and type = any ? and repeating = ?.

Specified by:
countByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Parameters:
groupId - the group ID
types - the types
repeating - the repeating
Returns:
the number of matching cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterCountByG_T_R

public int filterCountByG_T_R(long groupId,
                              java.lang.String type,
                              boolean repeating)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.

Specified by:
filterCountByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterCountByG_T_R

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

Specified by:
filterCountByG_T_R in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countAll

public int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of cal events.

Specified by:
countAll in interface com.liferay.portlet.calendar.service.persistence.CalEventPersistence
Returns:
the number of cal events
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the cal event persistence.


destroy

public void destroy()