Liferay 7.0-ce-b4

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

java.lang.Object
  extended by com.liferay.portlet.calendar.service.persistence.CalEventUtil

Deprecated. As of 7.0.0, with no direct replacement

@Deprecated
@ProviderType
public class CalEventUtil
extends Object

The persistence utility for the cal event service. This utility wraps com.liferay.portlet.calendar.service.persistence.impl.CalEventPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
CalEventPersistence, com.liferay.portlet.calendar.service.persistence.impl.CalEventPersistenceImpl

Constructor Summary
CalEventUtil()
          Deprecated.  
 
Method Summary
static void cacheResult(CalEvent calEvent)
          Deprecated. Caches the cal event in the entity cache if it is enabled.
static void cacheResult(List<CalEvent> calEvents)
          Deprecated. Caches the cal events in the entity cache if it is enabled.
static void clearCache()
          Deprecated.  
static void clearCache(CalEvent calEvent)
          Deprecated.  
static int countAll()
          Deprecated. Returns the number of cal events.
static int countByCompanyId(long companyId)
          Deprecated. Returns the number of cal events where companyId = ?.
static int countByG_R(long groupId, boolean repeating)
          Deprecated. Returns the number of cal events where groupId = ? and repeating = ?.
static int countByG_T_R(long groupId, String[] types, boolean repeating)
          Deprecated. Returns the number of cal events where groupId = ? and type = any ? and repeating = ?.
static int countByG_T_R(long groupId, String type, boolean repeating)
          Deprecated. Returns the number of cal events where groupId = ? and type = ? and repeating = ?.
static int countByG_T(long groupId, String type)
          Deprecated. Returns the number of cal events where groupId = ? and type = ?.
static int countByG_T(long groupId, String[] types)
          Deprecated. Returns the number of cal events where groupId = ? and type = any ?.
static int countByGroupId(long groupId)
          Deprecated. Returns the number of cal events where groupId = ?.
static int countByNotRemindBy(int remindBy)
          Deprecated. Returns the number of cal events where remindBy ≠ ?.
static int countByUuid_C(String uuid, long companyId)
          Deprecated. Returns the number of cal events where uuid = ? and companyId = ?.
static int countByUUID_G(String uuid, long groupId)
          Deprecated. Returns the number of cal events where uuid = ? and groupId = ?.
static int countByUuid(String uuid)
          Deprecated. Returns the number of cal events where uuid = ?.
static long countWithDynamicQuery(DynamicQuery dynamicQuery)
          Deprecated.  
static CalEvent create(long eventId)
          Deprecated. Creates a new cal event with the primary key.
static CalEvent fetchByCompanyId_First(long companyId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where companyId = ?.
static CalEvent fetchByCompanyId_Last(long companyId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where companyId = ?.
static CalEvent fetchByG_R_First(long groupId, boolean repeating, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where groupId = ? and repeating = ?.
static CalEvent fetchByG_R_Last(long groupId, boolean repeating, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where groupId = ? and repeating = ?.
static CalEvent fetchByG_T_First(long groupId, String type, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where groupId = ? and type = ?.
static CalEvent fetchByG_T_Last(long groupId, String type, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where groupId = ? and type = ?.
static CalEvent fetchByG_T_R_First(long groupId, String type, boolean repeating, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
static CalEvent fetchByG_T_R_Last(long groupId, String type, boolean repeating, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
static CalEvent fetchByGroupId_First(long groupId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where groupId = ?.
static CalEvent fetchByGroupId_Last(long groupId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where groupId = ?.
static CalEvent fetchByNotRemindBy_First(int remindBy, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where remindBy ≠ ?.
static CalEvent fetchByNotRemindBy_Last(int remindBy, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where remindBy ≠ ?.
static CalEvent fetchByPrimaryKey(long eventId)
          Deprecated. Returns the cal event with the primary key or returns null if it could not be found.
static Map<Serializable,CalEvent> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
          Deprecated.  
static CalEvent fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where uuid = ? and companyId = ?.
static CalEvent fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where uuid = ? and companyId = ?.
static CalEvent fetchByUuid_First(String uuid, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where uuid = ?.
static CalEvent fetchByUUID_G(String uuid, long groupId)
          Deprecated. Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found.
static CalEvent fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Deprecated. Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
static CalEvent fetchByUuid_Last(String uuid, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where uuid = ?.
static List<CalEvent> findAll()
          Deprecated. Returns all the cal events.
static List<CalEvent> findAll(int start, int end)
          Deprecated. Returns a range of all the cal events.
static List<CalEvent> findAll(int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns an ordered range of all the cal events.
static List<CalEvent> findAll(int start, int end, OrderByComparator<CalEvent> orderByComparator, boolean retrieveFromCache)
          Deprecated. Returns an ordered range of all the cal events.
static CalEvent findByCompanyId_First(long companyId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where companyId = ?.
static CalEvent findByCompanyId_Last(long companyId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where companyId = ?.
static CalEvent[] findByCompanyId_PrevAndNext(long eventId, long companyId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the cal events before and after the current cal event in the ordered set where companyId = ?.
static List<CalEvent> findByCompanyId(long companyId)
          Deprecated. Returns all the cal events where companyId = ?.
static List<CalEvent> findByCompanyId(long companyId, int start, int end)
          Deprecated. Returns a range of all the cal events where companyId = ?.
static List<CalEvent> findByCompanyId(long companyId, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns an ordered range of all the cal events where companyId = ?.
static List<CalEvent> findByCompanyId(long companyId, int start, int end, OrderByComparator<CalEvent> orderByComparator, boolean retrieveFromCache)
          Deprecated. Returns an ordered range of all the cal events where companyId = ?.
static CalEvent findByG_R_First(long groupId, boolean repeating, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where groupId = ? and repeating = ?.
static CalEvent findByG_R_Last(long groupId, boolean repeating, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where groupId = ? and repeating = ?.
static CalEvent[] findByG_R_PrevAndNext(long eventId, long groupId, boolean repeating, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the cal events before and after the current cal event in the ordered set where groupId = ? and repeating = ?.
static List<CalEvent> findByG_R(long groupId, boolean repeating)
          Deprecated. Returns all the cal events where groupId = ? and repeating = ?.
static List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end)
          Deprecated. Returns a range of all the cal events where groupId = ? and repeating = ?.
static List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns an ordered range of all the cal events where groupId = ? and repeating = ?.
static List<CalEvent> findByG_R(long groupId, boolean repeating, int start, int end, OrderByComparator<CalEvent> orderByComparator, boolean retrieveFromCache)
          Deprecated. Returns an ordered range of all the cal events where groupId = ? and repeating = ?.
static CalEvent findByG_T_First(long groupId, String type, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where groupId = ? and type = ?.
static CalEvent findByG_T_Last(long groupId, String type, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where groupId = ? and type = ?.
static CalEvent[] findByG_T_PrevAndNext(long eventId, long groupId, String type, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ?.
static CalEvent findByG_T_R_First(long groupId, String type, boolean repeating, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
static CalEvent findByG_T_R_Last(long groupId, String type, boolean repeating, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
static CalEvent[] findByG_T_R_PrevAndNext(long eventId, long groupId, String type, boolean repeating, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ? and repeating = ?.
static List<CalEvent> findByG_T_R(long groupId, String[] types, boolean repeating)
          Deprecated. Returns all the cal events where groupId = ? and type = any ? and repeating = ?.
static List<CalEvent> findByG_T_R(long groupId, String[] types, boolean repeating, int start, int end)
          Deprecated. Returns a range of all the cal events where groupId = ? and type = any ? and repeating = ?.
static List<CalEvent> findByG_T_R(long groupId, String[] types, boolean repeating, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = any ? and repeating = ?.
static List<CalEvent> findByG_T_R(long groupId, String[] types, boolean repeating, int start, int end, OrderByComparator<CalEvent> orderByComparator, boolean retrieveFromCache)
          Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?, optionally using the finder cache.
static List<CalEvent> findByG_T_R(long groupId, String type, boolean repeating)
          Deprecated. Returns all the cal events where groupId = ? and type = ? and repeating = ?.
static List<CalEvent> findByG_T_R(long groupId, String type, boolean repeating, int start, int end)
          Deprecated. Returns a range of all the cal events where groupId = ? and type = ? and repeating = ?.
static List<CalEvent> findByG_T_R(long groupId, String type, boolean repeating, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?.
static List<CalEvent> findByG_T_R(long groupId, String type, boolean repeating, int start, int end, OrderByComparator<CalEvent> orderByComparator, boolean retrieveFromCache)
          Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?.
static List<CalEvent> findByG_T(long groupId, String type)
          Deprecated. Returns all the cal events where groupId = ? and type = ?.
static List<CalEvent> findByG_T(long groupId, String[] types)
          Deprecated. Returns all the cal events where groupId = ? and type = any ?.
static List<CalEvent> findByG_T(long groupId, String[] types, int start, int end)
          Deprecated. Returns a range of all the cal events where groupId = ? and type = any ?.
static List<CalEvent> findByG_T(long groupId, String[] types, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = any ?.
static List<CalEvent> findByG_T(long groupId, String[] types, int start, int end, OrderByComparator<CalEvent> orderByComparator, boolean retrieveFromCache)
          Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ?, optionally using the finder cache.
static List<CalEvent> findByG_T(long groupId, String type, int start, int end)
          Deprecated. Returns a range of all the cal events where groupId = ? and type = ?.
static List<CalEvent> findByG_T(long groupId, String type, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ?.
static List<CalEvent> findByG_T(long groupId, String type, int start, int end, OrderByComparator<CalEvent> orderByComparator, boolean retrieveFromCache)
          Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ?.
static CalEvent findByGroupId_First(long groupId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where groupId = ?.
static CalEvent findByGroupId_Last(long groupId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where groupId = ?.
static CalEvent[] findByGroupId_PrevAndNext(long eventId, long groupId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the cal events before and after the current cal event in the ordered set where groupId = ?.
static List<CalEvent> findByGroupId(long groupId)
          Deprecated. Returns all the cal events where groupId = ?.
static List<CalEvent> findByGroupId(long groupId, int start, int end)
          Deprecated. Returns a range of all the cal events where groupId = ?.
static List<CalEvent> findByGroupId(long groupId, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns an ordered range of all the cal events where groupId = ?.
static List<CalEvent> findByGroupId(long groupId, int start, int end, OrderByComparator<CalEvent> orderByComparator, boolean retrieveFromCache)
          Deprecated. Returns an ordered range of all the cal events where groupId = ?.
static CalEvent findByNotRemindBy_First(int remindBy, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where remindBy ≠ ?.
static CalEvent findByNotRemindBy_Last(int remindBy, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where remindBy ≠ ?.
static CalEvent[] findByNotRemindBy_PrevAndNext(long eventId, int remindBy, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the cal events before and after the current cal event in the ordered set where remindBy ≠ ?.
static List<CalEvent> findByNotRemindBy(int remindBy)
          Deprecated. Returns all the cal events where remindBy ≠ ?.
static List<CalEvent> findByNotRemindBy(int remindBy, int start, int end)
          Deprecated. Returns a range of all the cal events where remindBy ≠ ?.
static List<CalEvent> findByNotRemindBy(int remindBy, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns an ordered range of all the cal events where remindBy ≠ ?.
static List<CalEvent> findByNotRemindBy(int remindBy, int start, int end, OrderByComparator<CalEvent> orderByComparator, boolean retrieveFromCache)
          Deprecated. Returns an ordered range of all the cal events where remindBy ≠ ?.
static CalEvent findByPrimaryKey(long eventId)
          Deprecated. Returns the cal event with the primary key or throws a NoSuchEventException if it could not be found.
static CalEvent findByUuid_C_First(String uuid, long companyId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where uuid = ? and companyId = ?.
static CalEvent findByUuid_C_Last(String uuid, long companyId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where uuid = ? and companyId = ?.
static CalEvent[] findByUuid_C_PrevAndNext(long eventId, String uuid, long companyId, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the cal events before and after the current cal event in the ordered set where uuid = ? and companyId = ?.
static List<CalEvent> findByUuid_C(String uuid, long companyId)
          Deprecated. Returns all the cal events where uuid = ? and companyId = ?.
static List<CalEvent> findByUuid_C(String uuid, long companyId, int start, int end)
          Deprecated. Returns a range of all the cal events where uuid = ? and companyId = ?.
static List<CalEvent> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns an ordered range of all the cal events where uuid = ? and companyId = ?.
static List<CalEvent> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<CalEvent> orderByComparator, boolean retrieveFromCache)
          Deprecated. Returns an ordered range of all the cal events where uuid = ? and companyId = ?.
static CalEvent findByUuid_First(String uuid, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the first cal event in the ordered set where uuid = ?.
static CalEvent findByUUID_G(String uuid, long groupId)
          Deprecated. Returns the cal event where uuid = ? and groupId = ? or throws a NoSuchEventException if it could not be found.
static CalEvent findByUuid_Last(String uuid, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the last cal event in the ordered set where uuid = ?.
static CalEvent[] findByUuid_PrevAndNext(long eventId, String uuid, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns the cal events before and after the current cal event in the ordered set where uuid = ?.
static List<CalEvent> findByUuid(String uuid)
          Deprecated. Returns all the cal events where uuid = ?.
static List<CalEvent> findByUuid(String uuid, int start, int end)
          Deprecated. Returns a range of all the cal events where uuid = ?.
static List<CalEvent> findByUuid(String uuid, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated. Returns an ordered range of all the cal events where uuid = ?.
static List<CalEvent> findByUuid(String uuid, int start, int end, OrderByComparator<CalEvent> orderByComparator, boolean retrieveFromCache)
          Deprecated. Returns an ordered range of all the cal events where uuid = ?.
static List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery)
          Deprecated.  
static List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Deprecated.  
static List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<CalEvent> orderByComparator)
          Deprecated.  
static Set<String> getBadColumnNames()
          Deprecated.  
static CalEventPersistence getPersistence()
          Deprecated.  
static CalEvent remove(long eventId)
          Deprecated. Removes the cal event with the primary key from the database.
static void removeAll()
          Deprecated. Removes all the cal events from the database.
static void removeByCompanyId(long companyId)
          Deprecated. Removes all the cal events where companyId = ? from the database.
static void removeByG_R(long groupId, boolean repeating)
          Deprecated. Removes all the cal events where groupId = ? and repeating = ? from the database.
static void removeByG_T_R(long groupId, String type, boolean repeating)
          Deprecated. Removes all the cal events where groupId = ? and type = ? and repeating = ? from the database.
static void removeByG_T(long groupId, String type)
          Deprecated. Removes all the cal events where groupId = ? and type = ? from the database.
static void removeByGroupId(long groupId)
          Deprecated. Removes all the cal events where groupId = ? from the database.
static void removeByNotRemindBy(int remindBy)
          Deprecated. Removes all the cal events where remindBy ≠ ? from the database.
static void removeByUuid_C(String uuid, long companyId)
          Deprecated. Removes all the cal events where uuid = ? and companyId = ? from the database.
static CalEvent removeByUUID_G(String uuid, long groupId)
          Deprecated. Removes the cal event where uuid = ? and groupId = ? from the database.
static void removeByUuid(String uuid)
          Deprecated. Removes all the cal events where uuid = ? from the database.
static CalEvent update(CalEvent calEvent)
          Deprecated.  
static CalEvent update(CalEvent calEvent, ServiceContext serviceContext)
          Deprecated.  
static CalEvent updateImpl(CalEvent calEvent)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalEventUtil

public CalEventUtil()
Deprecated. 
Method Detail

clearCache

public static void clearCache()
Deprecated. 
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(CalEvent calEvent)
Deprecated. 
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
Deprecated. 
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery)
Deprecated. 
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                  int start,
                                                  int end)
Deprecated. 
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                  int start,
                                                  int end,
                                                  OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

update

public static CalEvent update(CalEvent calEvent)
Deprecated. 
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel)

update

public static CalEvent update(CalEvent calEvent,
                              ServiceContext serviceContext)
Deprecated. 
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)

findByUuid

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

Parameters:
uuid - the uuid
Returns:
the matching cal events

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching cal events

findByUuid_First

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

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

fetchByUuid_First

public static CalEvent fetchByUuid_First(String uuid,
                                         OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
Returns the first cal event in the ordered set where uuid = ?.

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

findByUuid_Last

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

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

fetchByUuid_Last

public static CalEvent fetchByUuid_Last(String uuid,
                                        OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
Returns the last cal event in the ordered set where uuid = ?.

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

findByUuid_PrevAndNext

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

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

removeByUuid

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

Parameters:
uuid - the uuid

countByUuid

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

Parameters:
uuid - the uuid
Returns:
the number of matching cal events

findByUUID_G

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

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

fetchByUUID_G

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

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

fetchByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching cal event, or null if a matching cal event could not be found

removeByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the cal event that was removed
Throws:
NoSuchEventException

countByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching cal events

findByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching cal events

findByUuid_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events

findByUuid_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUuid_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching cal events

findByUuid_C_First

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

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

fetchByUuid_C_First

public static CalEvent fetchByUuid_C_First(String uuid,
                                           long companyId,
                                           OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
Returns the first cal event in the ordered set where uuid = ? and companyId = ?.

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

findByUuid_C_Last

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

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

fetchByUuid_C_Last

public static CalEvent fetchByUuid_C_Last(String uuid,
                                          long companyId,
                                          OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
Returns the last cal event in the ordered set where uuid = ? and companyId = ?.

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

findByUuid_C_PrevAndNext

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

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

removeByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching cal events

findByGroupId

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

Parameters:
groupId - the group ID
Returns:
the matching cal events

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching cal events

findByGroupId_First

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

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

fetchByGroupId_First

public static CalEvent fetchByGroupId_First(long groupId,
                                            OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
Returns the first cal event in the ordered set where groupId = ?.

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

findByGroupId_Last

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

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

fetchByGroupId_Last

public static CalEvent fetchByGroupId_Last(long groupId,
                                           OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
Returns the last cal event in the ordered set where groupId = ?.

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

findByGroupId_PrevAndNext

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

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

removeByGroupId

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

Parameters:
groupId - the group ID

countByGroupId

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

Parameters:
groupId - the group ID
Returns:
the number of matching cal events

findByCompanyId

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

Parameters:
companyId - the company ID
Returns:
the matching cal events

findByCompanyId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events

findByCompanyId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByCompanyId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching cal events

findByCompanyId_First

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

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

fetchByCompanyId_First

public static CalEvent fetchByCompanyId_First(long companyId,
                                              OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
Returns the first cal event in the ordered set where companyId = ?.

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

findByCompanyId_Last

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

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

fetchByCompanyId_Last

public static CalEvent fetchByCompanyId_Last(long companyId,
                                             OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
Returns the last cal event in the ordered set where companyId = ?.

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

findByCompanyId_PrevAndNext

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

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

removeByCompanyId

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

Parameters:
companyId - the company ID

countByCompanyId

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

Parameters:
companyId - the company ID
Returns:
the number of matching cal events

findByNotRemindBy

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

Parameters:
remindBy - the remind by
Returns:
the matching cal events

findByNotRemindBy

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
remindBy - the remind by
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events

findByNotRemindBy

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByNotRemindBy

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
remindBy - the remind by
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching cal events

findByNotRemindBy_First

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

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

fetchByNotRemindBy_First

public static CalEvent fetchByNotRemindBy_First(int remindBy,
                                                OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
Returns the first cal event in the ordered set where remindBy ≠ ?.

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

findByNotRemindBy_Last

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

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

fetchByNotRemindBy_Last

public static CalEvent fetchByNotRemindBy_Last(int remindBy,
                                               OrderByComparator<CalEvent> orderByComparator)
Deprecated. 
Returns the last cal event in the ordered set where remindBy ≠ ?.

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

findByNotRemindBy_PrevAndNext

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

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

removeByNotRemindBy

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

Parameters:
remindBy - the remind by

countByNotRemindBy

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

Parameters:
remindBy - the remind by
Returns:
the number of matching cal events

findByG_T

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

Parameters:
groupId - the group ID
type - the type
Returns:
the matching cal events

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
type - the type
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
type - the type
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching cal events

findByG_T_First

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

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

fetchByG_T_First

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

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

findByG_T_Last

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

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

fetchByG_T_Last

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

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

findByG_T_PrevAndNext

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

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

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
types - the types
Returns:
the matching cal events

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
types - the types
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_T

public static List<CalEvent> findByG_T(long groupId,
                                       String[] types,
                                       int start,
                                       int end,
                                       OrderByComparator<CalEvent> orderByComparator,
                                       boolean retrieveFromCache)
Deprecated. 
Returns an ordered range of all the cal events where groupId = ? and type = ?, optionally using the finder cache.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
type - the type
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching cal events

removeByG_T

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

Parameters:
groupId - the group ID
type - the type

countByG_T

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

Parameters:
groupId - the group ID
type - the type
Returns:
the number of matching cal events

countByG_T

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

Parameters:
groupId - the group ID
types - the types
Returns:
the number of matching cal events

findByG_R

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

Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the matching cal events

findByG_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events

findByG_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching cal events

findByG_R_First

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

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

fetchByG_R_First

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

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

findByG_R_Last

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

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

fetchByG_R_Last

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

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

findByG_R_PrevAndNext

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

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

removeByG_R

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

Parameters:
groupId - the group ID
repeating - the repeating

countByG_R

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

Parameters:
groupId - the group ID
repeating - the repeating
Returns:
the number of matching cal events

findByG_T_R

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

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Returns:
the matching cal events

findByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events

findByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching cal events

findByG_T_R_First

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

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

fetchByG_T_R_First

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

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

findByG_T_R_Last

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

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

fetchByG_T_R_Last

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

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

findByG_T_R_PrevAndNext

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

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

findByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
types - the types
repeating - the repeating
Returns:
the matching cal events

findByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
types - the types
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of matching cal events

findByG_T_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_T_R

public static List<CalEvent> findByG_T_R(long groupId,
                                         String[] types,
                                         boolean repeating,
                                         int start,
                                         int end,
                                         OrderByComparator<CalEvent> orderByComparator,
                                         boolean retrieveFromCache)
Deprecated. 
Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?, optionally using the finder cache.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching cal events

removeByG_T_R

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

Parameters:
groupId - the group ID
type - the type
repeating - the repeating

countByG_T_R

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

Parameters:
groupId - the group ID
type - the type
repeating - the repeating
Returns:
the number of matching cal events

countByG_T_R

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

Parameters:
groupId - the group ID
types - the types
repeating - the repeating
Returns:
the number of matching cal events

cacheResult

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

Parameters:
calEvent - the cal event

cacheResult

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

Parameters:
calEvents - the cal events

create

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

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

remove

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

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

updateImpl

public static CalEvent updateImpl(CalEvent calEvent)
Deprecated. 

findByPrimaryKey

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

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

fetchByPrimaryKey

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

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

fetchByPrimaryKeys

public static Map<Serializable,CalEvent> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Deprecated. 

findAll

public static List<CalEvent> findAll()
Deprecated. 
Returns all the cal events.

Returns:
the cal events

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
Returns:
the range of cal events

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of cal events

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of cal events
end - the upper bound of the range of cal events (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of cal events

removeAll

public static void removeAll()
Deprecated. 
Removes all the cal events from the database.


countAll

public static int countAll()
Deprecated. 
Returns the number of cal events.

Returns:
the number of cal events

getBadColumnNames

public static Set<String> getBadColumnNames()
Deprecated. 

getPersistence

public static CalEventPersistence getPersistence()
Deprecated. 

Liferay 7.0-ce-b4