Liferay 6.1.2-ce-ga3

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

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

public class CalEventPersistenceImpl
extends BasePersistenceImpl<CalEvent>
implements CalEventPersistence

The persistence implementation for the cal event service.

Caching information and settings can be found in portal.properties

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

Field Summary
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetLinkPersistence assetLinkPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  CalEventPersistence calEventPersistence
           
protected  CompanyPersistence companyPersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_G_R
           
static FinderPath FINDER_PATH_COUNT_BY_G_T
           
static FinderPath FINDER_PATH_COUNT_BY_G_T_R
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T_R
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_NOTREMINDBY
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_R
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_R
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_NOTREMINDBY
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_R
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_R
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
protected  GroupPersistence groupPersistence
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  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(CalEvent calEvent)
          Caches the cal event in the entity cache if it is enabled.
 void cacheResult(List<CalEvent> calEvents)
          Caches the cal events in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(CalEvent calEvent)
           
 void clearCache()
          Clears the cache for all cal events.
 void clearCache(CalEvent calEvent)
          Clears the cache for the cal event.
 void clearCache(List<CalEvent> calEvents)
          Clears the cache for a List instances of this model.
protected  void clearUniqueFindersCache(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, String[] types, boolean repeating)
          Returns the number of cal events where groupId = ? and type = any ? and repeating = ?.
 int countByG_T_R(long groupId, String type, boolean repeating)
          Returns the number of cal events where groupId = ? and type = ? and repeating = ?.
 int countByG_T(long groupId, String type)
          Returns the number of cal events where groupId = ? and type = ?.
 int countByG_T(long groupId, String[] types)
          Returns the number of cal events where groupId = ? and type = any ?.
 int countByGroupId(long groupId)
          Returns the number of cal events where groupId = ?.
 int countByNotRemindBy(int remindBy)
          Returns the number of cal events where remindBy ≠ ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of cal events where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of cal events where uuid = ?.
 CalEvent create(long eventId)
          Creates a new cal event with the primary key.
 void destroy()
           
 CalEvent fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where companyId = ?.
 CalEvent fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where companyId = ?.
 CalEvent fetchByG_R_First(long groupId, boolean repeating, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and repeating = ?.
 CalEvent fetchByG_R_Last(long groupId, boolean repeating, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and repeating = ?.
 CalEvent fetchByG_T_First(long groupId, String type, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and type = ?.
 CalEvent fetchByG_T_Last(long groupId, String type, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and type = ?.
 CalEvent fetchByG_T_R_First(long groupId, String type, boolean repeating, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 CalEvent fetchByG_T_R_Last(long groupId, String type, boolean repeating, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 CalEvent fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ?.
 CalEvent fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ?.
 CalEvent fetchByNotRemindBy_First(int remindBy, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where remindBy ≠ ?.
 CalEvent fetchByNotRemindBy_Last(int remindBy, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where remindBy ≠ ?.
 CalEvent fetchByPrimaryKey(long eventId)
          Returns the cal event with the primary key or returns null if it could not be found.
 CalEvent fetchByPrimaryKey(Serializable primaryKey)
          Returns the cal event with the primary key or returns null if it could not be found.
 CalEvent fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where uuid = ?.
 CalEvent fetchByUUID_G(String uuid, long groupId)
          Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found.
 CalEvent fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 CalEvent fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where uuid = ?.
 int filterCountByG_R(long groupId, boolean repeating)
          Returns the number of cal events that the user has permission to view where groupId = ? and repeating = ?.
 int filterCountByG_T_R(long groupId, String[] types, boolean repeating)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
 int filterCountByG_T_R(long groupId, String type, boolean repeating)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
 int filterCountByG_T(long groupId, String type)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = ?.
 int filterCountByG_T(long groupId, String[] types)
          Returns the number of cal events that the user has permission to view where groupId = ? and type = any ?.
 int filterCountByGroupId(long groupId)
          Returns the number of cal events that the user has permission to view where groupId = ?.
 CalEvent[] filterFindByG_R_PrevAndNext(long eventId, long groupId, boolean repeating, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ? and repeating = ?.
 List<CalEvent> filterFindByG_R(long groupId, boolean repeating)
          Returns all the cal events that the user has permission to view where groupId = ? and repeating = ?.
 List<CalEvent> filterFindByG_R(long groupId, boolean repeating, int start, int end)
          Returns a range of all the cal events that the user has permission to view where groupId = ? and repeating = ?.
 List<CalEvent> filterFindByG_R(long groupId, boolean repeating, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and repeating = ?.
 CalEvent[] filterFindByG_T_PrevAndNext(long eventId, long groupId, String type, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ? and type = ?.
 CalEvent[] filterFindByG_T_R_PrevAndNext(long eventId, long groupId, String type, boolean repeating, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, String[] types, boolean repeating)
          Returns all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, String[] types, boolean repeating, int start, int end)
          Returns a range of all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, String[] types, boolean repeating, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, String type, boolean repeating)
          Returns all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, String type, boolean repeating, int start, int end)
          Returns a range of all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?.
 List<CalEvent> filterFindByG_T_R(long groupId, String type, boolean repeating, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and type = ? and repeating = ?.
 List<CalEvent> filterFindByG_T(long groupId, String type)
          Returns all the cal events that the user has permission to view where groupId = ? and type = ?.
 List<CalEvent> filterFindByG_T(long groupId, String[] types)
          Returns all the cal events that the user has permission to view where groupId = ? and type = any ?.
 List<CalEvent> filterFindByG_T(long groupId, String[] types, int start, int end)
          Returns a range of all the cal events that the user has permission to view where groupId = ? and type = any ?.
 List<CalEvent> filterFindByG_T(long groupId, String[] types, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events that the user has permission to view where groupId = ? and type = any ?.
 List<CalEvent> filterFindByG_T(long groupId, String type, int start, int end)
          Returns a range of all the cal events that the user has permission to view where groupId = ? and type = ?.
 List<CalEvent> filterFindByG_T(long groupId, String type, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and type = ?.
 CalEvent[] filterFindByGroupId_PrevAndNext(long eventId, long groupId, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ?.
 List<CalEvent> filterFindByGroupId(long groupId)
          Returns all the cal events that the user has permission to view where groupId = ?.
 List<CalEvent> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the cal events that the user has permission to view where groupId = ?.
 List<CalEvent> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events that the user has permissions to view where groupId = ?.
protected  CalEvent filterGetByG_R_PrevAndNext(Session session, CalEvent calEvent, long groupId, boolean repeating, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent filterGetByG_T_PrevAndNext(Session session, CalEvent calEvent, long groupId, String type, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent filterGetByG_T_R_PrevAndNext(Session session, CalEvent calEvent, long groupId, String type, boolean repeating, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent filterGetByGroupId_PrevAndNext(Session session, CalEvent calEvent, long groupId, OrderByComparator orderByComparator, boolean previous)
           
 List<CalEvent> findAll()
          Returns all the cal events.
 List<CalEvent> findAll(int start, int end)
          Returns a range of all the cal events.
 List<CalEvent> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events.
 CalEvent findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where companyId = ?.
 CalEvent findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where companyId = ?.
 CalEvent[] findByCompanyId_PrevAndNext(long eventId, long companyId, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where companyId = ?.
 List<CalEvent> findByCompanyId(long companyId)
          Returns all the cal events where companyId = ?.
 List<CalEvent> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the cal events where companyId = ?.
 List<CalEvent> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where companyId = ?.
 CalEvent findByG_R_First(long groupId, boolean repeating, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and repeating = ?.
 CalEvent findByG_R_Last(long groupId, boolean repeating, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and repeating = ?.
 CalEvent[] findByG_R_PrevAndNext(long eventId, long groupId, boolean repeating, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where groupId = ? and repeating = ?.
 List<CalEvent> findByG_R(long groupId, boolean repeating)
          Returns all the cal events where groupId = ? and repeating = ?.
 List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end)
          Returns a range of all the cal events where groupId = ? and repeating = ?.
 List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and repeating = ?.
 CalEvent findByG_T_First(long groupId, String type, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and type = ?.
 CalEvent findByG_T_Last(long groupId, String type, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and type = ?.
 CalEvent[] findByG_T_PrevAndNext(long eventId, long groupId, String type, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ?.
 CalEvent findByG_T_R_First(long groupId, String type, boolean repeating, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 CalEvent findByG_T_R_Last(long groupId, String type, boolean repeating, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 CalEvent[] findByG_T_R_PrevAndNext(long eventId, long groupId, String type, boolean repeating, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
 List<CalEvent> findByG_T_R(long groupId, String[] types, boolean repeating)
          Returns all the cal events where groupId = ? and type = any ? and repeating = ?.
 List<CalEvent> findByG_T_R(long groupId, String[] types, boolean repeating, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = any ? and repeating = ?.
 List<CalEvent> findByG_T_R(long groupId, String[] types, boolean repeating, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and type = any ? and repeating = ?.
 List<CalEvent> findByG_T_R(long groupId, String type, boolean repeating)
          Returns all the cal events where groupId = ? and type = ? and repeating = ?.
 List<CalEvent> findByG_T_R(long groupId, String type, boolean repeating, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = ? and repeating = ?.
 List<CalEvent> findByG_T_R(long groupId, String type, boolean repeating, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?.
 List<CalEvent> findByG_T(long groupId, String type)
          Returns all the cal events where groupId = ? and type = ?.
 List<CalEvent> findByG_T(long groupId, String[] types)
          Returns all the cal events where groupId = ? and type = any ?.
 List<CalEvent> findByG_T(long groupId, String[] types, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = any ?.
 List<CalEvent> findByG_T(long groupId, String[] types, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and type = any ?.
 List<CalEvent> findByG_T(long groupId, String type, int start, int end)
          Returns a range of all the cal events where groupId = ? and type = ?.
 List<CalEvent> findByG_T(long groupId, String type, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ? and type = ?.
 CalEvent findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where groupId = ?.
 CalEvent findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where groupId = ?.
 CalEvent[] findByGroupId_PrevAndNext(long eventId, long groupId, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where groupId = ?.
 List<CalEvent> findByGroupId(long groupId)
          Returns all the cal events where groupId = ?.
 List<CalEvent> findByGroupId(long groupId, int start, int end)
          Returns a range of all the cal events where groupId = ?.
 List<CalEvent> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where groupId = ?.
 CalEvent findByNotRemindBy_First(int remindBy, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where remindBy ≠ ?.
 CalEvent findByNotRemindBy_Last(int remindBy, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where remindBy ≠ ?.
 CalEvent[] findByNotRemindBy_PrevAndNext(long eventId, int remindBy, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where remindBy ≠ ?.
 List<CalEvent> findByNotRemindBy(int remindBy)
          Returns all the cal events where remindBy ≠ ?.
 List<CalEvent> findByNotRemindBy(int remindBy, int start, int end)
          Returns a range of all the cal events where remindBy ≠ ?.
 List<CalEvent> findByNotRemindBy(int remindBy, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where remindBy ≠ ?.
 CalEvent findByPrimaryKey(long eventId)
          Returns the cal event with the primary key or throws a NoSuchEventException if it could not be found.
 CalEvent findByPrimaryKey(Serializable primaryKey)
          Returns the cal event with the primary key or throws a NoSuchModelException if it could not be found.
 CalEvent findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first cal event in the ordered set where uuid = ?.
 CalEvent findByUUID_G(String uuid, long groupId)
          Returns the cal event where uuid = ? and groupId = ? or throws a NoSuchEventException if it could not be found.
 CalEvent findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last cal event in the ordered set where uuid = ?.
 CalEvent[] findByUuid_PrevAndNext(long eventId, String uuid, OrderByComparator orderByComparator)
          Returns the cal events before and after the current cal event in the ordered set where uuid = ?.
 List<CalEvent> findByUuid(String uuid)
          Returns all the cal events where uuid = ?.
 List<CalEvent> findByUuid(String uuid, int start, int end)
          Returns a range of all the cal events where uuid = ?.
 List<CalEvent> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the cal events where uuid = ?.
protected  CalEvent getByCompanyId_PrevAndNext(Session session, CalEvent calEvent, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent getByG_R_PrevAndNext(Session session, CalEvent calEvent, long groupId, boolean repeating, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent getByG_T_PrevAndNext(Session session, CalEvent calEvent, long groupId, String type, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent getByG_T_R_PrevAndNext(Session session, CalEvent calEvent, long groupId, String type, boolean repeating, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent getByGroupId_PrevAndNext(Session session, CalEvent calEvent, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent getByNotRemindBy_PrevAndNext(Session session, CalEvent calEvent, int remindBy, OrderByComparator orderByComparator, boolean previous)
           
protected  CalEvent getByUuid_PrevAndNext(Session session, CalEvent calEvent, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 CalEvent remove(long eventId)
          Removes the cal event with the primary key from the database.
 CalEvent remove(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, String type, boolean repeating)
          Removes all the cal events where groupId = ? and type = ? and repeating = ? from the database.
 void removeByG_T(long groupId, String type)
          Removes all the cal events where groupId = ? and type = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the cal events where groupId = ? from the database.
 void removeByNotRemindBy(int remindBy)
          Removes all the cal events where remindBy ≠ ? from the database.
 CalEvent removeByUUID_G(String uuid, long groupId)
          Removes the cal event where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the cal events where uuid = ? from the database.
protected  CalEvent removeImpl(CalEvent calEvent)
          Removes the model instance from the database.
protected  CalEvent toUnwrappedModel(CalEvent calEvent)
           
 CalEvent updateImpl(CalEvent calEvent, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, 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 String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_NOTREMINDBY

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_NOTREMINDBY

FINDER_PATH_WITH_PAGINATION_COUNT_BY_NOTREMINDBY

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_NOTREMINDBY

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T

FINDER_PATH_COUNT_BY_G_T

public static final FinderPath FINDER_PATH_COUNT_BY_G_T

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_R

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_R

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_R

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_R

FINDER_PATH_COUNT_BY_G_R

public static final FinderPath FINDER_PATH_COUNT_BY_G_R

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_R

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_R

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_R

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_R

FINDER_PATH_COUNT_BY_G_T_R

public static final FinderPath FINDER_PATH_COUNT_BY_G_T_R

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T_R

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T_R

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

calEventPersistence

@BeanReference(type=CalEventPersistence.class)
protected CalEventPersistence calEventPersistence

companyPersistence

@BeanReference(type=CompanyPersistence.class)
protected CompanyPersistence companyPersistence

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

portletPreferencesPersistence

@BeanReference(type=PortletPreferencesPersistence.class)
protected PortletPreferencesPersistence portletPreferencesPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

subscriptionPersistence

@BeanReference(type=SubscriptionPersistence.class)
protected SubscriptionPersistence subscriptionPersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetLinkPersistence

@BeanReference(type=AssetLinkPersistence.class)
protected AssetLinkPersistence assetLinkPersistence

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

mbMessagePersistence

@BeanReference(type=MBMessagePersistence.class)
protected MBMessagePersistence mbMessagePersistence

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence
Constructor Detail

CalEventPersistenceImpl

public CalEventPersistenceImpl()
Method Detail

cacheResult

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

Specified by:
cacheResult in interface CalEventPersistence
Parameters:
calEvent - the cal event

cacheResult

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

Specified by:
cacheResult in interface 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 BasePersistence<CalEvent>
Overrides:
clearCache in class BasePersistenceImpl<CalEvent>

clearCache

public void clearCache(CalEvent calEvent)
Clears the cache for the cal event.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<CalEvent>
Overrides:
clearCache in class BasePersistenceImpl<CalEvent>
Parameters:
calEvent - the instance of this model to clear the cache for

clearCache

public void clearCache(List<CalEvent> calEvents)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<CalEvent>
Overrides:
clearCache in class BasePersistenceImpl<CalEvent>
Parameters:
calEvents - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(CalEvent calEvent)

clearUniqueFindersCache

protected void clearUniqueFindersCache(CalEvent calEvent)

create

public 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 CalEventPersistence
Parameters:
eventId - the primary key for the new cal event
Returns:
the new cal event

remove

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

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

remove

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

Specified by:
remove in interface BasePersistence<CalEvent>
Overrides:
remove in class BasePersistenceImpl<CalEvent>
Parameters:
primaryKey - the primary key of the cal event
Returns:
the cal event that was removed
Throws:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected CalEvent removeImpl(CalEvent calEvent)
                       throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<CalEvent>
Parameters:
calEvent - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public CalEvent updateImpl(CalEvent calEvent,
                           boolean merge)
                    throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface CalEventPersistence
Overrides:
updateImpl in class BasePersistenceImpl<CalEvent>
Parameters:
calEvent - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected CalEvent toUnwrappedModel(CalEvent calEvent)

findByPrimaryKey

public CalEvent findByPrimaryKey(Serializable primaryKey)
                          throws NoSuchModelException,
                                 SystemException
Returns the cal event with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<CalEvent>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<CalEvent>
Parameters:
primaryKey - the primary key of the cal event
Returns:
the cal event
Throws:
NoSuchModelException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

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

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

fetchByPrimaryKey

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

Specified by:
fetchByPrimaryKey in interface BasePersistence<CalEvent>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<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:
SystemException - if a system exception occurred

fetchByPrimaryKey

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

Specified by:
fetchByPrimaryKey in interface 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:
SystemException - if a system exception occurred

findByUuid

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

Specified by:
findByUuid in interface CalEventPersistence
Parameters:
uuid - the uuid
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid in interface 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:
SystemException - if a system exception occurred

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid in interface 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:
SystemException - if a system exception occurred

findByUuid_First

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

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

fetchByUuid_First

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

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

findByUuid_Last

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

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

fetchByUuid_Last

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

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

findByUuid_PrevAndNext

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

Specified by:
findByUuid_PrevAndNext in interface 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:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected CalEvent getByUuid_PrevAndNext(Session session,
                                         CalEvent calEvent,
                                         String uuid,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

findByUUID_G

public CalEvent findByUUID_G(String uuid,
                             long groupId)
                      throws NoSuchEventException,
                             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 CalEventPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching cal event
Throws:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByUUID_G

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

Specified by:
fetchByUUID_G in interface 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:
SystemException - if a system exception occurred

fetchByUUID_G

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

Specified by:
fetchByUUID_G in interface 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:
SystemException - if a system exception occurred

findByCompanyId

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

Specified by:
findByCompanyId in interface CalEventPersistence
Parameters:
companyId - the company ID
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByCompanyId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId in interface 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:
SystemException - if a system exception occurred

findByCompanyId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId in interface 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:
SystemException - if a system exception occurred

findByCompanyId_First

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

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

fetchByCompanyId_First

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

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

findByCompanyId_Last

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

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

fetchByCompanyId_Last

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

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

findByCompanyId_PrevAndNext

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

Specified by:
findByCompanyId_PrevAndNext in interface 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:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

getByCompanyId_PrevAndNext

protected CalEvent getByCompanyId_PrevAndNext(Session session,
                                              CalEvent calEvent,
                                              long companyId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

findByGroupId

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

Specified by:
findByGroupId in interface CalEventPersistence
Parameters:
groupId - the group ID
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId in interface 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:
SystemException - if a system exception occurred

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId in interface 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:
SystemException - if a system exception occurred

findByGroupId_First

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

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

fetchByGroupId_First

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

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

findByGroupId_Last

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

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

fetchByGroupId_Last

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

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

findByGroupId_PrevAndNext

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

Specified by:
findByGroupId_PrevAndNext in interface 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:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

getByGroupId_PrevAndNext

protected CalEvent getByGroupId_PrevAndNext(Session session,
                                            CalEvent calEvent,
                                            long groupId,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

filterFindByGroupId

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

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

filterFindByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByGroupId in interface 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:
SystemException - if a system exception occurred

filterFindByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByGroupId in interface 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:
SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

public CalEvent[] filterFindByGroupId_PrevAndNext(long eventId,
                                                  long groupId,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchEventException,
                                                  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 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:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

filterGetByGroupId_PrevAndNext

protected CalEvent filterGetByGroupId_PrevAndNext(Session session,
                                                  CalEvent calEvent,
                                                  long groupId,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

findByNotRemindBy

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

Specified by:
findByNotRemindBy in interface CalEventPersistence
Parameters:
remindBy - the remind by
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByNotRemindBy

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByNotRemindBy in interface 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:
SystemException - if a system exception occurred

findByNotRemindBy

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByNotRemindBy in interface 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:
SystemException - if a system exception occurred

findByNotRemindBy_First

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

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

fetchByNotRemindBy_First

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

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

findByNotRemindBy_Last

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

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

fetchByNotRemindBy_Last

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

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

findByNotRemindBy_PrevAndNext

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

Specified by:
findByNotRemindBy_PrevAndNext in interface 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:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

getByNotRemindBy_PrevAndNext

protected CalEvent getByNotRemindBy_PrevAndNext(Session session,
                                                CalEvent calEvent,
                                                int remindBy,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

findByG_T

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

Specified by:
findByG_T in interface CalEventPersistence
Parameters:
groupId - the group ID
type - the type
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_T in interface 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:
SystemException - if a system exception occurred

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_T in interface 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:
SystemException - if a system exception occurred

findByG_T_First

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

Specified by:
findByG_T_First in interface 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:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_T_First

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

Specified by:
fetchByG_T_First in interface 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, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_T_Last

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

Specified by:
findByG_T_Last in interface 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:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_T_Last

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

Specified by:
fetchByG_T_Last in interface 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, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_T_PrevAndNext

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

Specified by:
findByG_T_PrevAndNext in interface 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:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

getByG_T_PrevAndNext

protected CalEvent getByG_T_PrevAndNext(Session session,
                                        CalEvent calEvent,
                                        long groupId,
                                        String type,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_T in interface CalEventPersistence
Parameters:
groupId - the group ID
types - the types
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_T in interface 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:
SystemException - if a system exception occurred

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_T in interface 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:
SystemException - if a system exception occurred

filterFindByG_T

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

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

filterFindByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_T in interface 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:
SystemException - if a system exception occurred

filterFindByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_T in interface 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:
SystemException - if a system exception occurred

filterFindByG_T_PrevAndNext

public CalEvent[] filterFindByG_T_PrevAndNext(long eventId,
                                              long groupId,
                                              String type,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchEventException,
                                              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 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:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_T_PrevAndNext

protected CalEvent filterGetByG_T_PrevAndNext(Session session,
                                              CalEvent calEvent,
                                              long groupId,
                                              String type,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByG_T

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

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

filterFindByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_T in interface 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:
SystemException - if a system exception occurred

filterFindByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_T in interface 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:
SystemException - if a system exception occurred

findByG_R

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

Specified by:
findByG_R in interface CalEventPersistence
Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByG_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_R in interface 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:
SystemException - if a system exception occurred

findByG_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_R in interface 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:
SystemException - if a system exception occurred

findByG_R_First

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

Specified by:
findByG_R_First in interface 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:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_R_First

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

Specified by:
fetchByG_R_First in interface 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, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_R_Last

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

Specified by:
findByG_R_Last in interface 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:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_R_Last

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

Specified by:
fetchByG_R_Last in interface 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, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_R_PrevAndNext

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

Specified by:
findByG_R_PrevAndNext in interface 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:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

getByG_R_PrevAndNext

protected CalEvent getByG_R_PrevAndNext(Session session,
                                        CalEvent calEvent,
                                        long groupId,
                                        boolean repeating,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

filterFindByG_R

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

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

filterFindByG_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_R in interface 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:
SystemException - if a system exception occurred

filterFindByG_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_R in interface 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:
SystemException - if a system exception occurred

filterFindByG_R_PrevAndNext

public CalEvent[] filterFindByG_R_PrevAndNext(long eventId,
                                              long groupId,
                                              boolean repeating,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchEventException,
                                              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 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:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_R_PrevAndNext

protected CalEvent filterGetByG_R_PrevAndNext(Session session,
                                              CalEvent calEvent,
                                              long groupId,
                                              boolean repeating,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

findByG_T_R

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

Specified by:
findByG_T_R in interface CalEventPersistence
Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_T_R in interface 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:
SystemException - if a system exception occurred

findByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_T_R in interface 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:
SystemException - if a system exception occurred

findByG_T_R_First

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

Specified by:
findByG_T_R_First in interface 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:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_T_R_First

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

Specified by:
fetchByG_T_R_First in interface 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, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_T_R_Last

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

Specified by:
findByG_T_R_Last in interface 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:
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred

fetchByG_T_R_Last

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

Specified by:
fetchByG_T_R_Last in interface 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, or null if a matching cal event could not be found
Throws:
SystemException - if a system exception occurred

findByG_T_R_PrevAndNext

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

Specified by:
findByG_T_R_PrevAndNext in interface 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:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

getByG_T_R_PrevAndNext

protected CalEvent getByG_T_R_PrevAndNext(Session session,
                                          CalEvent calEvent,
                                          long groupId,
                                          String type,
                                          boolean repeating,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

findByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_T_R in interface CalEventPersistence
Parameters:
groupId - the group ID
types - the types
repeating - the repeating
Returns:
the matching cal events
Throws:
SystemException - if a system exception occurred

findByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_T_R in interface 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:
SystemException - if a system exception occurred

findByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_T_R in interface 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:
SystemException - if a system exception occurred

filterFindByG_T_R

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

Specified by:
filterFindByG_T_R in interface 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:
SystemException - if a system exception occurred

filterFindByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_T_R in interface 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:
SystemException - if a system exception occurred

filterFindByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_T_R in interface 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:
SystemException - if a system exception occurred

filterFindByG_T_R_PrevAndNext

public CalEvent[] filterFindByG_T_R_PrevAndNext(long eventId,
                                                long groupId,
                                                String type,
                                                boolean repeating,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchEventException,
                                                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 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:
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_T_R_PrevAndNext

protected CalEvent filterGetByG_T_R_PrevAndNext(Session session,
                                                CalEvent calEvent,
                                                long groupId,
                                                String type,
                                                boolean repeating,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

filterFindByG_T_R

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

Specified by:
filterFindByG_T_R in interface 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:
SystemException - if a system exception occurred

filterFindByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_T_R in interface 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:
SystemException - if a system exception occurred

filterFindByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_T_R in interface 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:
SystemException - if a system exception occurred

findAll

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

Specified by:
findAll in interface CalEventPersistence
Returns:
the cal events
Throws:
SystemException - if a system exception occurred

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface 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:
SystemException - if a system exception occurred

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface 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:
SystemException - if a system exception occurred

removeByUuid

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

Specified by:
removeByUuid in interface CalEventPersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

removeByUUID_G

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

Specified by:
removeByUUID_G in interface CalEventPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the cal event that was removed
Throws:
SystemException - if a system exception occurred
NoSuchEventException

removeByCompanyId

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

Specified by:
removeByCompanyId in interface CalEventPersistence
Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

removeByGroupId

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

Specified by:
removeByGroupId in interface CalEventPersistence
Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

removeByNotRemindBy

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

Specified by:
removeByNotRemindBy in interface CalEventPersistence
Parameters:
remindBy - the remind by
Throws:
SystemException - if a system exception occurred

removeByG_T

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

Specified by:
removeByG_T in interface CalEventPersistence
Parameters:
groupId - the group ID
type - the type
Throws:
SystemException - if a system exception occurred

removeByG_R

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

Specified by:
removeByG_R in interface CalEventPersistence
Parameters:
groupId - the group ID
repeating - the repeating
Throws:
SystemException - if a system exception occurred

removeByG_T_R

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

Specified by:
removeByG_T_R in interface CalEventPersistence
Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Throws:
SystemException - if a system exception occurred

removeAll

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

Specified by:
removeAll in interface CalEventPersistence
Throws:
SystemException - if a system exception occurred

countByUuid

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

Specified by:
countByUuid in interface CalEventPersistence
Parameters:
uuid - the uuid
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

countByUUID_G

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

Specified by:
countByUUID_G in interface CalEventPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

countByCompanyId

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

Specified by:
countByCompanyId in interface CalEventPersistence
Parameters:
companyId - the company ID
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

countByGroupId

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

Specified by:
countByGroupId in interface CalEventPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

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

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

countByNotRemindBy

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

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

countByG_T

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

Specified by:
countByG_T in interface CalEventPersistence
Parameters:
groupId - the group ID
type - the type
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

countByG_T

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

Specified by:
countByG_T in interface CalEventPersistence
Parameters:
groupId - the group ID
types - the types
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

filterCountByG_T

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

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

filterCountByG_T

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

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

countByG_R

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

Specified by:
countByG_R in interface CalEventPersistence
Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

filterCountByG_R

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

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

countByG_T_R

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

Specified by:
countByG_T_R in interface CalEventPersistence
Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

countByG_T_R

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

Specified by:
countByG_T_R in interface CalEventPersistence
Parameters:
groupId - the group ID
types - the types
repeating - the repeating
Returns:
the number of matching cal events
Throws:
SystemException - if a system exception occurred

filterCountByG_T_R

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

Specified by:
filterCountByG_T_R in interface 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:
SystemException - if a system exception occurred

filterCountByG_T_R

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

Specified by:
filterCountByG_T_R in interface 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:
SystemException - if a system exception occurred

countAll

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

Specified by:
countAll in interface CalEventPersistence
Returns:
the number of cal events
Throws:
SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the cal event persistence.


destroy

public void destroy()

Liferay 6.1.2-ce-ga3