|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<CalEvent>
com.liferay.portlet.calendar.service.persistence.CalEventPersistenceImpl
public class CalEventPersistenceImpl
The persistence implementation for the cal event service.
Caching information and settings can be found in portal.properties
CalEventPersistence,
CalEventUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
CalEventPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the cal event persistence. |
void |
cacheResult(CalEvent calEvent)
Caches the cal event in the entity cache if it is enabled. |
void |
cacheResult(List<CalEvent> calEvents)
Caches the cal events in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(CalEvent calEvent)
|
void |
clearCache()
Clears the cache for all cal events. |
void |
clearCache(CalEvent calEvent)
Clears the cache for the cal event. |
void |
clearCache(List<CalEvent> calEvents)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(CalEvent calEvent)
|
int |
countAll()
Returns the number of cal events. |
int |
countByCompanyId(long companyId)
Returns the number of cal events where companyId = ?. |
int |
countByG_R(long groupId,
boolean repeating)
Returns the number of cal events where groupId = ? and repeating = ?. |
int |
countByG_T_R(long groupId,
String[] types,
boolean repeating)
Returns the number of cal events where groupId = ? and type = any ? and repeating = ?. |
int |
countByG_T_R(long groupId,
String type,
boolean repeating)
Returns the number of cal events where groupId = ? and type = ? and repeating = ?. |
int |
countByG_T(long groupId,
String type)
Returns the number of cal events where groupId = ? and type = ?. |
int |
countByG_T(long groupId,
String[] types)
Returns the number of cal events where groupId = ? and type = any ?. |
int |
countByGroupId(long groupId)
Returns the number of cal events where groupId = ?. |
int |
countByNotRemindBy(int remindBy)
Returns the number of cal events where remindBy ≠ ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of cal events where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of cal events where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of cal events where uuid = ?. |
CalEvent |
create(long eventId)
Creates a new cal event with the primary key. |
void |
destroy()
|
CalEvent |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where companyId = ?. |
CalEvent |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where companyId = ?. |
CalEvent |
fetchByG_R_First(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and repeating = ?. |
CalEvent |
fetchByG_R_Last(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and repeating = ?. |
CalEvent |
fetchByG_T_First(long groupId,
String type,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and type = ?. |
CalEvent |
fetchByG_T_Last(long groupId,
String type,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and type = ?. |
CalEvent |
fetchByG_T_R_First(long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?. |
CalEvent |
fetchByG_T_R_Last(long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?. |
CalEvent |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ?. |
CalEvent |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ?. |
CalEvent |
fetchByNotRemindBy_First(int remindBy,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where remindBy ≠ ?. |
CalEvent |
fetchByNotRemindBy_Last(int remindBy,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where remindBy ≠ ?. |
CalEvent |
fetchByPrimaryKey(long eventId)
Returns the cal event with the primary key or returns null if it could not be found. |
CalEvent |
fetchByPrimaryKey(Serializable primaryKey)
Returns the cal event with the primary key or returns null if it could not be found. |
CalEvent |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where uuid = ? and companyId = ?. |
CalEvent |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where uuid = ? and companyId = ?. |
CalEvent |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where uuid = ?. |
CalEvent |
fetchByUUID_G(String uuid,
long groupId)
Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found. |
CalEvent |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
CalEvent |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where uuid = ?. |
int |
filterCountByG_R(long groupId,
boolean repeating)
Returns the number of cal events that the user has permission to view where groupId = ? and repeating = ?. |
int |
filterCountByG_T_R(long groupId,
String[] types,
boolean repeating)
Returns the number of cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?. |
int |
filterCountByG_T_R(long groupId,
String type,
boolean repeating)
Returns the number of cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?. |
int |
filterCountByG_T(long groupId,
String type)
Returns the number of cal events that the user has permission to view where groupId = ? and type = ?. |
int |
filterCountByG_T(long groupId,
String[] types)
Returns the number of cal events that the user has permission to view where groupId = ? and type = any ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of cal events that the user has permission to view where groupId = ?. |
CalEvent[] |
filterFindByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ? and repeating = ?. |
List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating)
Returns all the cal events that the user has permission to view where groupId = ? and repeating = ?. |
List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ? and repeating = ?. |
List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and repeating = ?. |
CalEvent[] |
filterFindByG_T_PrevAndNext(long eventId,
long groupId,
String type,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ? and type = ?. |
CalEvent[] |
filterFindByG_T_R_PrevAndNext(long eventId,
long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
filterFindByG_T_R(long groupId,
String[] types,
boolean repeating)
Returns all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?. |
List<CalEvent> |
filterFindByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?. |
List<CalEvent> |
filterFindByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permission to view where groupId = ? and type = any ? and repeating = ?. |
List<CalEvent> |
filterFindByG_T_R(long groupId,
String type,
boolean repeating)
Returns all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
filterFindByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
filterFindByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
filterFindByG_T(long groupId,
String type)
Returns all the cal events that the user has permission to view where groupId = ? and type = ?. |
List<CalEvent> |
filterFindByG_T(long groupId,
String[] types)
Returns all the cal events that the user has permission to view where groupId = ? and type = any ?. |
List<CalEvent> |
filterFindByG_T(long groupId,
String[] types,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = any ?. |
List<CalEvent> |
filterFindByG_T(long groupId,
String[] types,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permission to view where groupId = ? and type = any ?. |
List<CalEvent> |
filterFindByG_T(long groupId,
String type,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ? and type = ?. |
List<CalEvent> |
filterFindByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ? and type = ?. |
CalEvent[] |
filterFindByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = ?. |
List<CalEvent> |
filterFindByGroupId(long groupId)
Returns all the cal events that the user has permission to view where groupId = ?. |
List<CalEvent> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the cal events that the user has permission to view where groupId = ?. |
List<CalEvent> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events that the user has permissions to view where groupId = ?. |
protected CalEvent |
filterGetByG_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
boolean repeating,
OrderByComparator orderByComparator,
boolean previous)
|
protected CalEvent |
filterGetByG_T_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
OrderByComparator orderByComparator,
boolean previous)
|
protected CalEvent |
filterGetByG_T_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator,
boolean previous)
|
protected CalEvent |
filterGetByGroupId_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
List<CalEvent> |
findAll()
Returns all the cal events. |
List<CalEvent> |
findAll(int start,
int end)
Returns a range of all the cal events. |
List<CalEvent> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events. |
CalEvent |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where companyId = ?. |
CalEvent |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where companyId = ?. |
CalEvent[] |
findByCompanyId_PrevAndNext(long eventId,
long companyId,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where companyId = ?. |
List<CalEvent> |
findByCompanyId(long companyId)
Returns all the cal events where companyId = ?. |
List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the cal events where companyId = ?. |
List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where companyId = ?. |
CalEvent |
findByG_R_First(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and repeating = ?. |
CalEvent |
findByG_R_Last(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and repeating = ?. |
CalEvent[] |
findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where groupId = ? and repeating = ?. |
List<CalEvent> |
findByG_R(long groupId,
boolean repeating)
Returns all the cal events where groupId = ? and repeating = ?. |
List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end)
Returns a range of all the cal events where groupId = ? and repeating = ?. |
List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ? and repeating = ?. |
CalEvent |
findByG_T_First(long groupId,
String type,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and type = ?. |
CalEvent |
findByG_T_Last(long groupId,
String type,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and type = ?. |
CalEvent[] |
findByG_T_PrevAndNext(long eventId,
long groupId,
String type,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ?. |
CalEvent |
findByG_T_R_First(long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?. |
CalEvent |
findByG_T_R_Last(long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?. |
CalEvent[] |
findByG_T_R_PrevAndNext(long eventId,
long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String[] types,
boolean repeating)
Returns all the cal events where groupId = ? and type = any ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end)
Returns a range of all the cal events where groupId = ? and type = any ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ? and type = any ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String type,
boolean repeating)
Returns all the cal events where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end)
Returns a range of all the cal events where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
findByG_T(long groupId,
String type)
Returns all the cal events where groupId = ? and type = ?. |
List<CalEvent> |
findByG_T(long groupId,
String[] types)
Returns all the cal events where groupId = ? and type = any ?. |
List<CalEvent> |
findByG_T(long groupId,
String[] types,
int start,
int end)
Returns a range of all the cal events where groupId = ? and type = any ?. |
List<CalEvent> |
findByG_T(long groupId,
String[] types,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ? and type = any ?. |
List<CalEvent> |
findByG_T(long groupId,
String type,
int start,
int end)
Returns a range of all the cal events where groupId = ? and type = ?. |
List<CalEvent> |
findByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ? and type = ?. |
CalEvent |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where groupId = ?. |
CalEvent |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where groupId = ?. |
CalEvent[] |
findByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where groupId = ?. |
List<CalEvent> |
findByGroupId(long groupId)
Returns all the cal events where groupId = ?. |
List<CalEvent> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the cal events where groupId = ?. |
List<CalEvent> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where groupId = ?. |
CalEvent |
findByNotRemindBy_First(int remindBy,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where remindBy ≠ ?. |
CalEvent |
findByNotRemindBy_Last(int remindBy,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where remindBy ≠ ?. |
CalEvent[] |
findByNotRemindBy_PrevAndNext(long eventId,
int remindBy,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where remindBy ≠ ?. |
List<CalEvent> |
findByNotRemindBy(int remindBy)
Returns all the cal events where remindBy ≠ ?. |
List<CalEvent> |
findByNotRemindBy(int remindBy,
int start,
int end)
Returns a range of all the cal events where remindBy ≠ ?. |
List<CalEvent> |
findByNotRemindBy(int remindBy,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where remindBy ≠ ?. |
CalEvent |
findByPrimaryKey(long eventId)
Returns the cal event with the primary key or throws a NoSuchEventException if it could not be found. |
CalEvent |
findByPrimaryKey(Serializable primaryKey)
Returns the cal event with the primary key or throws a NoSuchModelException if it could not be found. |
CalEvent |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where uuid = ? and companyId = ?. |
CalEvent |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where uuid = ? and companyId = ?. |
CalEvent[] |
findByUuid_C_PrevAndNext(long eventId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where uuid = ? and companyId = ?. |
List<CalEvent> |
findByUuid_C(String uuid,
long companyId)
Returns all the cal events where uuid = ? and companyId = ?. |
List<CalEvent> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the cal events where uuid = ? and companyId = ?. |
List<CalEvent> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where uuid = ? and companyId = ?. |
CalEvent |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first cal event in the ordered set where uuid = ?. |
CalEvent |
findByUUID_G(String uuid,
long groupId)
Returns the cal event where uuid = ? and groupId = ? or throws a NoSuchEventException if it could not be found. |
CalEvent |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last cal event in the ordered set where uuid = ?. |
CalEvent[] |
findByUuid_PrevAndNext(long eventId,
String uuid,
OrderByComparator orderByComparator)
Returns the cal events before and after the current cal event in the ordered set where uuid = ?. |
List<CalEvent> |
findByUuid(String uuid)
Returns all the cal events where uuid = ?. |
List<CalEvent> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the cal events where uuid = ?. |
List<CalEvent> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the cal events where uuid = ?. |
protected Set<String> |
getBadColumnNames()
|
protected CalEvent |
getByCompanyId_PrevAndNext(Session session,
CalEvent calEvent,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected CalEvent |
getByG_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
boolean repeating,
OrderByComparator orderByComparator,
boolean previous)
|
protected CalEvent |
getByG_T_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
OrderByComparator orderByComparator,
boolean previous)
|
protected CalEvent |
getByG_T_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator,
boolean previous)
|
protected CalEvent |
getByGroupId_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected CalEvent |
getByNotRemindBy_PrevAndNext(Session session,
CalEvent calEvent,
int remindBy,
OrderByComparator orderByComparator,
boolean previous)
|
protected CalEvent |
getByUuid_C_PrevAndNext(Session session,
CalEvent calEvent,
String uuid,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected CalEvent |
getByUuid_PrevAndNext(Session session,
CalEvent calEvent,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
CalEvent |
remove(long eventId)
Removes the cal event with the primary key from the database. |
CalEvent |
remove(Serializable primaryKey)
Removes the cal event with the primary key from the database. |
void |
removeAll()
Removes all the cal events from the database. |
void |
removeByCompanyId(long companyId)
Removes all the cal events where companyId = ? from the database. |
void |
removeByG_R(long groupId,
boolean repeating)
Removes all the cal events where groupId = ? and repeating = ? from the database. |
void |
removeByG_T_R(long groupId,
String type,
boolean repeating)
Removes all the cal events where groupId = ? and type = ? and repeating = ? from the database. |
void |
removeByG_T(long groupId,
String type)
Removes all the cal events where groupId = ? and type = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the cal events where groupId = ? from the database. |
void |
removeByNotRemindBy(int remindBy)
Removes all the cal events where remindBy ≠ ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the cal events where uuid = ? and companyId = ? from the database. |
CalEvent |
removeByUUID_G(String uuid,
long groupId)
Removes the cal event where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the cal events where uuid = ? from the database. |
protected CalEvent |
removeImpl(CalEvent calEvent)
Removes the model instance from the database. |
protected CalEvent |
toUnwrappedModel(CalEvent calEvent)
|
CalEvent |
updateImpl(CalEvent calEvent)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_NOTREMINDBY
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_NOTREMINDBY
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T
public static final FinderPath FINDER_PATH_COUNT_BY_G_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_R
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_R
public static final FinderPath FINDER_PATH_COUNT_BY_G_R
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_R
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_R
public static final FinderPath FINDER_PATH_COUNT_BY_G_T_R
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T_R
| Constructor Detail |
|---|
public CalEventPersistenceImpl()
| Method Detail |
|---|
public List<CalEvent> findByUuid(String uuid)
throws SystemException
findByUuid in interface CalEventPersistenceuuid - the uuid
SystemException - if a system exception occurred
public List<CalEvent> findByUuid(String uuid,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface CalEventPersistenceuuid - the uuidstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface CalEventPersistenceuuid - the uuidstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByUuid_First in interface CalEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_First in interface CalEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByUuid_Last in interface CalEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_Last in interface CalEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent[] findByUuid_PrevAndNext(long eventId,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByUuid_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent getByUuid_PrevAndNext(Session session,
CalEvent calEvent,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface CalEventPersistenceuuid - the uuid
SystemException - if a system exception occurred
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface CalEventPersistenceuuid - the uuid
SystemException - if a system exception occurred
public CalEvent findByUUID_G(String uuid,
long groupId)
throws NoSuchEventException,
SystemException
NoSuchEventException if it could not be found.
findByUUID_G in interface CalEventPersistenceuuid - the uuidgroupId - the group ID
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByUUID_G(String uuid,
long groupId)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface CalEventPersistenceuuid - the uuidgroupId - the group ID
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface CalEventPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cache
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent removeByUUID_G(String uuid,
long groupId)
throws NoSuchEventException,
SystemException
removeByUUID_G in interface CalEventPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
NoSuchEventException
public int countByUUID_G(String uuid,
long groupId)
throws SystemException
countByUUID_G in interface CalEventPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
public List<CalEvent> findByUuid_C(String uuid,
long companyId)
throws SystemException
findByUuid_C in interface CalEventPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public List<CalEvent> findByUuid_C(String uuid,
long companyId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByUuid_C_First in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_C_First in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByUuid_C_Last in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_C_Last in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent[] findByUuid_C_PrevAndNext(long eventId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByUuid_C_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent getByUuid_C_PrevAndNext(Session session,
CalEvent calEvent,
String uuid,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
throws SystemException
removeByUuid_C in interface CalEventPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public int countByUuid_C(String uuid,
long companyId)
throws SystemException
countByUuid_C in interface CalEventPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public List<CalEvent> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface CalEventPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public List<CalEvent> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface CalEventPersistencecompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface CalEventPersistencecompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByCompanyId_First in interface CalEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByCompanyId_First in interface CalEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByCompanyId_Last in interface CalEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByCompanyId_Last in interface CalEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent[] findByCompanyId_PrevAndNext(long eventId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByCompanyId_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent getByCompanyId_PrevAndNext(Session session,
CalEvent calEvent,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface CalEventPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface CalEventPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public List<CalEvent> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface CalEventPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<CalEvent> findByGroupId(long groupId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId in interface CalEventPersistencegroupId - the group IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId in interface CalEventPersistencegroupId - the group IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByGroupId_First in interface CalEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_First in interface CalEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByGroupId_Last in interface CalEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_Last in interface CalEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent[] findByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByGroupId_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent getByGroupId_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<CalEvent> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface CalEventPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<CalEvent> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId in interface CalEventPersistencegroupId - the group IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId in interface CalEventPersistencegroupId - the group IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent[] filterFindByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
filterFindByGroupId_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent filterGetByGroupId_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface CalEventPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface CalEventPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface CalEventPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<CalEvent> findByNotRemindBy(int remindBy)
throws SystemException
findByNotRemindBy in interface CalEventPersistenceremindBy - the remind by
SystemException - if a system exception occurred
public List<CalEvent> findByNotRemindBy(int remindBy,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByNotRemindBy in interface CalEventPersistenceremindBy - the remind bystart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> findByNotRemindBy(int remindBy,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByNotRemindBy in interface CalEventPersistenceremindBy - the remind bystart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent findByNotRemindBy_First(int remindBy,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByNotRemindBy_First in interface CalEventPersistenceremindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByNotRemindBy_First(int remindBy,
OrderByComparator orderByComparator)
throws SystemException
fetchByNotRemindBy_First in interface CalEventPersistenceremindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent findByNotRemindBy_Last(int remindBy,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByNotRemindBy_Last in interface CalEventPersistenceremindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByNotRemindBy_Last(int remindBy,
OrderByComparator orderByComparator)
throws SystemException
fetchByNotRemindBy_Last in interface CalEventPersistenceremindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent[] findByNotRemindBy_PrevAndNext(long eventId,
int remindBy,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByNotRemindBy_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventremindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent getByNotRemindBy_PrevAndNext(Session session,
CalEvent calEvent,
int remindBy,
OrderByComparator orderByComparator,
boolean previous)
public void removeByNotRemindBy(int remindBy)
throws SystemException
removeByNotRemindBy in interface CalEventPersistenceremindBy - the remind by
SystemException - if a system exception occurred
public int countByNotRemindBy(int remindBy)
throws SystemException
countByNotRemindBy in interface CalEventPersistenceremindBy - the remind by
SystemException - if a system exception occurred
public List<CalEvent> findByG_T(long groupId,
String type)
throws SystemException
findByG_T in interface CalEventPersistencegroupId - the group IDtype - the type
SystemException - if a system exception occurred
public List<CalEvent> findByG_T(long groupId,
String type,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_T in interface CalEventPersistencegroupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> findByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_T in interface CalEventPersistencegroupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent findByG_T_First(long groupId,
String type,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByG_T_First in interface CalEventPersistencegroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByG_T_First(long groupId,
String type,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_T_First in interface CalEventPersistencegroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent findByG_T_Last(long groupId,
String type,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByG_T_Last in interface CalEventPersistencegroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByG_T_Last(long groupId,
String type,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_T_Last in interface CalEventPersistencegroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent[] findByG_T_PrevAndNext(long eventId,
long groupId,
String type,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByG_T_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent getByG_T_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
OrderByComparator orderByComparator,
boolean previous)
public List<CalEvent> filterFindByG_T(long groupId,
String type)
throws SystemException
filterFindByG_T in interface CalEventPersistencegroupId - the group IDtype - the type
SystemException - if a system exception occurred
public List<CalEvent> filterFindByG_T(long groupId,
String type,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_T in interface CalEventPersistencegroupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> filterFindByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_T in interface CalEventPersistencegroupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent[] filterFindByG_T_PrevAndNext(long eventId,
long groupId,
String type,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
filterFindByG_T_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent filterGetByG_T_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
OrderByComparator orderByComparator,
boolean previous)
public List<CalEvent> filterFindByG_T(long groupId,
String[] types)
throws SystemException
filterFindByG_T in interface CalEventPersistencegroupId - the group IDtypes - the types
SystemException - if a system exception occurred
public List<CalEvent> filterFindByG_T(long groupId,
String[] types,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_T in interface CalEventPersistencegroupId - the group IDtypes - the typesstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> filterFindByG_T(long groupId,
String[] types,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_T in interface CalEventPersistencegroupId - the group IDtypes - the typesstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public List<CalEvent> findByG_T(long groupId,
String[] types)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_T in interface CalEventPersistencegroupId - the group IDtypes - the types
SystemException - if a system exception occurred
public List<CalEvent> findByG_T(long groupId,
String[] types,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_T in interface CalEventPersistencegroupId - the group IDtypes - the typesstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> findByG_T(long groupId,
String[] types,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_T in interface CalEventPersistencegroupId - the group IDtypes - the typesstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeByG_T(long groupId,
String type)
throws SystemException
removeByG_T in interface CalEventPersistencegroupId - the group IDtype - the type
SystemException - if a system exception occurred
public int countByG_T(long groupId,
String type)
throws SystemException
countByG_T in interface CalEventPersistencegroupId - the group IDtype - the type
SystemException - if a system exception occurred
public int countByG_T(long groupId,
String[] types)
throws SystemException
countByG_T in interface CalEventPersistencegroupId - the group IDtypes - the types
SystemException - if a system exception occurred
public int filterCountByG_T(long groupId,
String type)
throws SystemException
filterCountByG_T in interface CalEventPersistencegroupId - the group IDtype - the type
SystemException - if a system exception occurred
public int filterCountByG_T(long groupId,
String[] types)
throws SystemException
filterCountByG_T in interface CalEventPersistencegroupId - the group IDtypes - the types
SystemException - if a system exception occurred
public List<CalEvent> findByG_R(long groupId,
boolean repeating)
throws SystemException
findByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeating
SystemException - if a system exception occurred
public List<CalEvent> findByG_R(long groupId,
boolean repeating,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> findByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent findByG_R_First(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByG_R_First in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByG_R_First(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_R_First in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent findByG_R_Last(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByG_R_Last in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByG_R_Last(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_R_Last in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent[] findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByG_R_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent getByG_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
boolean repeating,
OrderByComparator orderByComparator,
boolean previous)
public List<CalEvent> filterFindByG_R(long groupId,
boolean repeating)
throws SystemException
filterFindByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeating
SystemException - if a system exception occurred
public List<CalEvent> filterFindByG_R(long groupId,
boolean repeating,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> filterFindByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent[] filterFindByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
filterFindByG_R_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent filterGetByG_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
boolean repeating,
OrderByComparator orderByComparator,
boolean previous)
public void removeByG_R(long groupId,
boolean repeating)
throws SystemException
removeByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeating
SystemException - if a system exception occurred
public int countByG_R(long groupId,
boolean repeating)
throws SystemException
countByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeating
SystemException - if a system exception occurred
public int filterCountByG_R(long groupId,
boolean repeating)
throws SystemException
filterCountByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeating
SystemException - if a system exception occurred
public List<CalEvent> findByG_T_R(long groupId,
String type,
boolean repeating)
throws SystemException
findByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeating
SystemException - if a system exception occurred
public List<CalEvent> findByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> findByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent findByG_T_R_First(long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByG_T_R_First in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByG_T_R_First(long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_T_R_First in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent findByG_T_R_Last(long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByG_T_R_Last in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent fetchByG_T_R_Last(long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_T_R_Last in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
SystemException - if a system exception occurred
public CalEvent[] findByG_T_R_PrevAndNext(long eventId,
long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
findByG_T_R_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent getByG_T_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator,
boolean previous)
public List<CalEvent> filterFindByG_T_R(long groupId,
String type,
boolean repeating)
throws SystemException
filterFindByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeating
SystemException - if a system exception occurred
public List<CalEvent> filterFindByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> filterFindByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public CalEvent[] filterFindByG_T_R_PrevAndNext(long eventId,
long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator)
throws NoSuchEventException,
SystemException
filterFindByG_T_R_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent filterGetByG_T_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
boolean repeating,
OrderByComparator orderByComparator,
boolean previous)
public List<CalEvent> filterFindByG_T_R(long groupId,
String[] types,
boolean repeating)
throws SystemException
filterFindByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeating
SystemException - if a system exception occurred
public List<CalEvent> filterFindByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> filterFindByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public List<CalEvent> findByG_T_R(long groupId,
String[] types,
boolean repeating)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeating
SystemException - if a system exception occurred
public List<CalEvent> findByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> findByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeByG_T_R(long groupId,
String type,
boolean repeating)
throws SystemException
removeByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeating
SystemException - if a system exception occurred
public int countByG_T_R(long groupId,
String type,
boolean repeating)
throws SystemException
countByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeating
SystemException - if a system exception occurred
public int countByG_T_R(long groupId,
String[] types,
boolean repeating)
throws SystemException
countByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeating
SystemException - if a system exception occurred
public int filterCountByG_T_R(long groupId,
String type,
boolean repeating)
throws SystemException
filterCountByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeating
SystemException - if a system exception occurred
public int filterCountByG_T_R(long groupId,
String[] types,
boolean repeating)
throws SystemException
filterCountByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeating
SystemException - if a system exception occurredpublic void cacheResult(CalEvent calEvent)
cacheResult in interface CalEventPersistencecalEvent - the cal eventpublic void cacheResult(List<CalEvent> calEvents)
cacheResult in interface CalEventPersistencecalEvents - the cal eventspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<CalEvent>clearCache in class BasePersistenceImpl<CalEvent>public void clearCache(CalEvent calEvent)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<CalEvent>clearCache in class BasePersistenceImpl<CalEvent>calEvent - the instance of this model to clear the cache forpublic void clearCache(List<CalEvent> calEvents)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<CalEvent>clearCache in class BasePersistenceImpl<CalEvent>calEvents - the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(CalEvent calEvent)
protected void clearUniqueFindersCache(CalEvent calEvent)
public CalEvent create(long eventId)
create in interface CalEventPersistenceeventId - the primary key for the new cal event
public CalEvent remove(long eventId)
throws NoSuchEventException,
SystemException
remove in interface CalEventPersistenceeventId - the primary key of the cal event
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
public CalEvent remove(Serializable primaryKey)
throws NoSuchEventException,
SystemException
remove in interface BasePersistence<CalEvent>remove in class BasePersistenceImpl<CalEvent>primaryKey - the primary key of the cal event
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
protected CalEvent removeImpl(CalEvent calEvent)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<CalEvent>calEvent - the model instance to remove
SystemException - if a system exception occurred
public CalEvent updateImpl(CalEvent calEvent)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface CalEventPersistenceupdateImpl in class BasePersistenceImpl<CalEvent>calEvent - the model instance to update
SystemException - if a system exception occurredprotected CalEvent toUnwrappedModel(CalEvent calEvent)
public CalEvent findByPrimaryKey(Serializable primaryKey)
throws NoSuchEventException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<CalEvent>findByPrimaryKey in class BasePersistenceImpl<CalEvent>primaryKey - the primary key of the cal event
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
public CalEvent findByPrimaryKey(long eventId)
throws NoSuchEventException,
SystemException
NoSuchEventException if it could not be found.
findByPrimaryKey in interface CalEventPersistenceeventId - the primary key of the cal event
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
public CalEvent fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<CalEvent>fetchByPrimaryKey in class BasePersistenceImpl<CalEvent>primaryKey - the primary key of the cal event
null if a cal event with the primary key could not be found
SystemException - if a system exception occurred
public CalEvent fetchByPrimaryKey(long eventId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface CalEventPersistenceeventId - the primary key of the cal event
null if a cal event with the primary key could not be found
SystemException - if a system exception occurred
public List<CalEvent> findAll()
throws SystemException
findAll in interface CalEventPersistenceSystemException - if a system exception occurred
public List<CalEvent> findAll(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface CalEventPersistencestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
SystemException - if a system exception occurred
public List<CalEvent> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from CalEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface CalEventPersistencestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeAll()
throws SystemException
removeAll in interface CalEventPersistenceSystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface CalEventPersistenceSystemException - if a system exception occurredprotected Set<String> getBadColumnNames()
getBadColumnNames in class BasePersistenceImpl<CalEvent>public void afterPropertiesSet()
public void destroy()
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||