|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CalEventPersistence
The persistence interface for the cal event service.
Never modify this interface directly. Modify service.xml and rerun ServiceBuilder to regnerate this interface.
CalEventPersistenceImpl,
CalEventUtil| Method Summary | |
|---|---|
void |
cacheResult(CalEvent calEvent)
Caches the cal event in the entity cache if it is enabled. |
void |
cacheResult(List<CalEvent> calEvents)
Caches the cal events in the entity cache if it is enabled. |
int |
countAll()
Counts all the cal events. |
int |
countByCompanyId(long companyId)
Counts all the cal events where companyId = ?. |
int |
countByG_R(long groupId,
boolean repeating)
Counts all the cal events where groupId = ? and repeating = ?. |
int |
countByG_T(long groupId,
String type)
Counts all the cal events where groupId = ? and type = ?. |
int |
countByGroupId(long groupId)
Counts all the cal events where groupId = ?. |
int |
countByNotRemindBy(int remindBy)
Counts all the cal events where remindBy ≠ ?. |
int |
countByUUID_G(String uuid,
long groupId)
Counts all the cal events where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Counts all the cal events where uuid = ?. |
CalEvent |
create(long eventId)
Creates a new cal event with the primary key. |
CalEvent |
fetchByPrimaryKey(long eventId)
Finds the cal event with the primary key or returns null if it could not be found. |
CalEvent |
fetchByUUID_G(String uuid,
long groupId)
Finds 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)
Finds the cal event where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
int |
filterCountByG_R(long groupId,
boolean repeating)
Filters by the user's permissions and counts all the cal events where groupId = ? and repeating = ?. |
int |
filterCountByG_T(long groupId,
String type)
Filters by the user's permissions and counts all the cal events where groupId = ? and type = ?. |
int |
filterCountByGroupId(long groupId)
Filters by the user's permissions and counts all the cal events where groupId = ?. |
List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating)
Filters by the user's permissions and finds all the cal events where groupId = ? and repeating = ?. |
List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating,
int start,
int end)
Filters by the user's permissions and finds a range of all the cal events where groupId = ? and repeating = ?. |
List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the cal events where groupId = ? and repeating = ?. |
List<CalEvent> |
filterFindByG_T(long groupId,
String type)
Filters by the user's permissions and finds all the cal events where groupId = ? and type = ?. |
List<CalEvent> |
filterFindByG_T(long groupId,
String type,
int start,
int end)
Filters by the user's permissions and finds a range of all the cal events where groupId = ? and type = ?. |
List<CalEvent> |
filterFindByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the cal events where groupId = ? and type = ?. |
List<CalEvent> |
filterFindByGroupId(long groupId)
Filters by the user's permissions and finds all the cal events where groupId = ?. |
List<CalEvent> |
filterFindByGroupId(long groupId,
int start,
int end)
Filters by the user's permissions and finds a range of all the cal events where groupId = ?. |
List<CalEvent> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the cal events where groupId = ?. |
List<CalEvent> |
findAll()
Finds all the cal events. |
List<CalEvent> |
findAll(int start,
int end)
Finds a range of all the cal events. |
List<CalEvent> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the cal events. |
CalEvent |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first cal event in the ordered set where companyId = ?. |
CalEvent |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last cal event in the ordered set where companyId = ?. |
CalEvent[] |
findByCompanyId_PrevAndNext(long eventId,
long companyId,
OrderByComparator orderByComparator)
Finds the cal events before and after the current cal event in the ordered set where companyId = ?. |
List<CalEvent> |
findByCompanyId(long companyId)
Finds all the cal events where companyId = ?. |
List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the cal events where companyId = ?. |
List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the cal events where companyId = ?. |
CalEvent |
findByG_R_First(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Finds the first cal event in the ordered set where groupId = ? and repeating = ?. |
CalEvent |
findByG_R_Last(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Finds the last cal event in the ordered set where groupId = ? and repeating = ?. |
CalEvent[] |
findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator orderByComparator)
Finds 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)
Finds all the cal events where groupId = ? and repeating = ?. |
List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end)
Finds 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)
Finds an ordered range of all the cal events where groupId = ? and repeating = ?. |
CalEvent |
findByG_T_First(long groupId,
String type,
OrderByComparator orderByComparator)
Finds the first cal event in the ordered set where groupId = ? and type = ?. |
CalEvent |
findByG_T_Last(long groupId,
String type,
OrderByComparator orderByComparator)
Finds the last cal event in the ordered set where groupId = ? and type = ?. |
CalEvent[] |
findByG_T_PrevAndNext(long eventId,
long groupId,
String type,
OrderByComparator orderByComparator)
Finds the cal events before and after the current cal event in the ordered set where groupId = ? and type = ?. |
List<CalEvent> |
findByG_T(long groupId,
String type)
Finds all the cal events where groupId = ? and type = ?. |
List<CalEvent> |
findByG_T(long groupId,
String type,
int start,
int end)
Finds 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)
Finds an ordered range of all the cal events where groupId = ? and type = ?. |
CalEvent |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first cal event in the ordered set where groupId = ?. |
CalEvent |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last cal event in the ordered set where groupId = ?. |
CalEvent[] |
findByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator orderByComparator)
Finds the cal events before and after the current cal event in the ordered set where groupId = ?. |
List<CalEvent> |
findByGroupId(long groupId)
Finds all the cal events where groupId = ?. |
List<CalEvent> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the cal events where groupId = ?. |
List<CalEvent> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the cal events where groupId = ?. |
CalEvent |
findByNotRemindBy_First(int remindBy,
OrderByComparator orderByComparator)
Finds the first cal event in the ordered set where remindBy ≠ ?. |
CalEvent |
findByNotRemindBy_Last(int remindBy,
OrderByComparator orderByComparator)
Finds the last cal event in the ordered set where remindBy ≠ ?. |
CalEvent[] |
findByNotRemindBy_PrevAndNext(long eventId,
int remindBy,
OrderByComparator orderByComparator)
Finds the cal events before and after the current cal event in the ordered set where remindBy ≠ ?. |
List<CalEvent> |
findByNotRemindBy(int remindBy)
Finds all the cal events where remindBy ≠ ?. |
List<CalEvent> |
findByNotRemindBy(int remindBy,
int start,
int end)
Finds a range of all the cal events where remindBy ≠ ?. |
List<CalEvent> |
findByNotRemindBy(int remindBy,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the cal events where remindBy ≠ ?. |
CalEvent |
findByPrimaryKey(long eventId)
Finds the cal event with the primary key or throws a NoSuchEventException if it could not be found. |
CalEvent |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Finds the first cal event in the ordered set where uuid = ?. |
CalEvent |
findByUUID_G(String uuid,
long groupId)
Finds the cal event where uuid = ? and groupId = ? or throws a NoSuchEventException if it could not be found. |
CalEvent |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Finds the last cal event in the ordered set where uuid = ?. |
CalEvent[] |
findByUuid_PrevAndNext(long eventId,
String uuid,
OrderByComparator orderByComparator)
Finds the cal events before and after the current cal event in the ordered set where uuid = ?. |
List<CalEvent> |
findByUuid(String uuid)
Finds all the cal events where uuid = ?. |
List<CalEvent> |
findByUuid(String uuid,
int start,
int end)
Finds a range of all the cal events where uuid = ?. |
List<CalEvent> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the cal events where uuid = ?. |
CalEvent |
remove(long eventId)
Removes the cal event with the primary key from the database. |
void |
removeAll()
Removes all the cal events from the database. |
void |
removeByCompanyId(long companyId)
Removes all the cal events where companyId = ? from the database. |
void |
removeByG_R(long groupId,
boolean repeating)
Removes all the cal events where groupId = ? and repeating = ? from the database. |
void |
removeByG_T(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_G(String uuid,
long groupId)
Removes the cal event where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the cal events where uuid = ? from the database. |
CalEvent |
updateImpl(CalEvent calEvent,
boolean merge)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
| Method Detail |
|---|
void cacheResult(CalEvent calEvent)
calEvent - the cal event to cachevoid cacheResult(List<CalEvent> calEvents)
calEvents - the cal events to cacheCalEvent create(long eventId)
eventId - the primary key for the new cal event
CalEvent remove(long eventId)
throws SystemException,
NoSuchEventException
eventId - the primary key of the cal event to remove
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
CalEvent updateImpl(CalEvent calEvent,
boolean merge)
throws SystemException
SystemException
CalEvent findByPrimaryKey(long eventId)
throws SystemException,
NoSuchEventException
NoSuchEventException if it could not be found.
eventId - the primary key of the cal event to find
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
CalEvent fetchByPrimaryKey(long eventId)
throws SystemException
null if it could not be found.
eventId - the primary key of the cal event to find
null if a cal event with the primary key could not be found
SystemException - if a system exception occurred
List<CalEvent> findByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
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.
uuid - the uuid to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)
SystemException - if a system exception occurred
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.
uuid - the uuid to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
CalEvent findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
uuid - the uuid to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
uuid - the uuid to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent[] findByUuid_PrevAndNext(long eventId,
String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
eventId - the primary key of the current cal eventuuid - the uuid to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
CalEvent findByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchEventException
NoSuchEventException if it could not be found.
uuid - the uuid to search withgroupId - the group id to search with
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent fetchByUUID_G(String uuid,
long groupId)
throws SystemException
null if it could not be found. Uses the finder cache.
uuid - the uuid to search withgroupId - the group id to search with
null if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
uuid - the uuid to search withgroupId - the group id to search with
null if a matching cal event could not be found
SystemException - if a system exception occurred
List<CalEvent> findByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
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.
companyId - the company id to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)
SystemException - if a system exception occurred
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.
companyId - the company id to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
CalEvent findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
companyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
companyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent[] findByCompanyId_PrevAndNext(long eventId,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
eventId - the primary key of the current cal eventcompanyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
List<CalEvent> findByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
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.
groupId - the group id to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)
SystemException - if a system exception occurred
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.
groupId - the group id to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
CalEvent findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent[] findByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
eventId - the primary key of the current cal eventgroupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
List<CalEvent> filterFindByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
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.
groupId - the group id to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)
SystemException - if a system exception occurred
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.
groupId - the group id to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
List<CalEvent> findByNotRemindBy(int remindBy)
throws SystemException
remindBy - the remind by to search with
SystemException - if a system exception occurred
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.
remindBy - the remind by to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)
SystemException - if a system exception occurred
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.
remindBy - the remind by to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
CalEvent findByNotRemindBy_First(int remindBy,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
remindBy - the remind by to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent findByNotRemindBy_Last(int remindBy,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
remindBy - the remind by to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent[] findByNotRemindBy_PrevAndNext(long eventId,
int remindBy,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
eventId - the primary key of the current cal eventremindBy - the remind by to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
List<CalEvent> findByG_T(long groupId,
String type)
throws SystemException
groupId - the group id to search withtype - the type to search with
SystemException - if a system exception occurred
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.
groupId - the group id to search withtype - the type to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)
SystemException - if a system exception occurred
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.
groupId - the group id to search withtype - the type to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
CalEvent findByG_T_First(long groupId,
String type,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
groupId - the group id to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent findByG_T_Last(long groupId,
String type,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
groupId - the group id to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent[] findByG_T_PrevAndNext(long eventId,
long groupId,
String type,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
eventId - the primary key of the current cal eventgroupId - the group id to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
List<CalEvent> filterFindByG_T(long groupId,
String type)
throws SystemException
groupId - the group id to search withtype - the type to search with
SystemException - if a system exception occurred
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.
groupId - the group id to search withtype - the type to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)
SystemException - if a system exception occurred
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.
groupId - the group id to search withtype - the type to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
List<CalEvent> findByG_R(long groupId,
boolean repeating)
throws SystemException
groupId - the group id to search withrepeating - the repeating to search with
SystemException - if a system exception occurred
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.
groupId - the group id to search withrepeating - the repeating to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)
SystemException - if a system exception occurred
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.
groupId - the group id to search withrepeating - the repeating to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
CalEvent findByG_R_First(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
groupId - the group id to search withrepeating - the repeating to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent findByG_R_Last(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
groupId - the group id to search withrepeating - the repeating to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a matching cal event could not be found
SystemException - if a system exception occurred
CalEvent[] findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
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.
eventId - the primary key of the current cal eventgroupId - the group id to search withrepeating - the repeating to search withorderByComparator - the comparator to order the set by
NoSuchEventException - if a cal event with the primary key could not be found
SystemException - if a system exception occurred
List<CalEvent> filterFindByG_R(long groupId,
boolean repeating)
throws SystemException
groupId - the group id to search withrepeating - the repeating to search with
SystemException - if a system exception occurred
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.
groupId - the group id to search withrepeating - the repeating to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)
SystemException - if a system exception occurred
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.
groupId - the group id to search withrepeating - the repeating to search withstart - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
List<CalEvent> findAll()
throws SystemException
SystemException - if a system exception occurred
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.
start - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)
SystemException - if a system exception occurred
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.
start - the lower bound of the range of cal events to returnend - the upper bound of the range of cal events to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
void removeByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
void removeByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchEventException
uuid - the uuid to search withgroupId - the group id to search with
SystemException - if a system exception occurred
NoSuchEventException
void removeByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
void removeByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
void removeByNotRemindBy(int remindBy)
throws SystemException
remindBy - the remind by to search with
SystemException - if a system exception occurred
void removeByG_T(long groupId,
String type)
throws SystemException
groupId - the group id to search withtype - the type to search with
SystemException - if a system exception occurred
void removeByG_R(long groupId,
boolean repeating)
throws SystemException
groupId - the group id to search withrepeating - the repeating to search with
SystemException - if a system exception occurred
void removeAll()
throws SystemException
SystemException - if a system exception occurred
int countByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
int countByUUID_G(String uuid,
long groupId)
throws SystemException
uuid - the uuid to search withgroupId - the group id to search with
SystemException - if a system exception occurred
int countByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
int countByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
int countByNotRemindBy(int remindBy)
throws SystemException
remindBy - the remind by to search with
SystemException - if a system exception occurred
int countByG_T(long groupId,
String type)
throws SystemException
groupId - the group id to search withtype - the type to search with
SystemException - if a system exception occurred
int filterCountByG_T(long groupId,
String type)
throws SystemException
groupId - the group id to search withtype - the type to search with
SystemException - if a system exception occurred
int countByG_R(long groupId,
boolean repeating)
throws SystemException
groupId - the group id to search withrepeating - the repeating to search with
SystemException - if a system exception occurred
int filterCountByG_R(long groupId,
boolean repeating)
throws SystemException
groupId - the group id to search withrepeating - the repeating to search with
SystemException - if a system exception occurred
int countAll()
throws SystemException
SystemException - if a system exception occurred
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||