com.liferay.portlet.calendar.service.persistence
Class CalEventUtil
java.lang.Object
com.liferay.portlet.calendar.service.persistence.CalEventUtil
public class CalEventUtil
- extends Object
- See Also:
CalEventPersistence,
CalEventPersistenceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static void |
cacheResult(CalEvent calEvent)
|
static void |
cacheResult(List<CalEvent> calEvents)
|
static void |
clearCache()
|
static void |
clearCache(CalEvent calEvent)
|
static int |
countAll()
|
static int |
countByCompanyId(long companyId)
|
static int |
countByG_R(long groupId,
boolean repeating)
|
static int |
countByG_T(long groupId,
String type)
|
static int |
countByGroupId(long groupId)
|
static int |
countByNotRemindBy(int remindBy)
|
static int |
countByUUID_G(String uuid,
long groupId)
|
static int |
countByUuid(String uuid)
|
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static CalEvent |
create(long eventId)
|
static CalEvent |
fetchByPrimaryKey(long eventId)
|
static CalEvent |
fetchByUUID_G(String uuid,
long groupId)
|
static CalEvent |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
|
static int |
filterCountByG_R(long groupId,
boolean repeating)
|
static int |
filterCountByG_T(long groupId,
String type)
|
static int |
filterCountByGroupId(long groupId)
|
static List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating)
|
static List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating,
int start,
int end)
|
static List<CalEvent> |
filterFindByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
|
static List<CalEvent> |
filterFindByG_T(long groupId,
String type)
|
static List<CalEvent> |
filterFindByG_T(long groupId,
String type,
int start,
int end)
|
static List<CalEvent> |
filterFindByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator orderByComparator)
|
static List<CalEvent> |
filterFindByGroupId(long groupId)
|
static List<CalEvent> |
filterFindByGroupId(long groupId,
int start,
int end)
|
static List<CalEvent> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
static List<CalEvent> |
findAll()
|
static List<CalEvent> |
findAll(int start,
int end)
|
static List<CalEvent> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
static CalEvent |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
|
static CalEvent |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
|
static CalEvent[] |
findByCompanyId_PrevAndNext(long eventId,
long companyId,
OrderByComparator orderByComparator)
|
static List<CalEvent> |
findByCompanyId(long companyId)
|
static List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end)
|
static List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
|
static CalEvent |
findByG_R_First(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
|
static CalEvent |
findByG_R_Last(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
|
static CalEvent[] |
findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator orderByComparator)
|
static List<CalEvent> |
findByG_R(long groupId,
boolean repeating)
|
static List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end)
|
static List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
|
static CalEvent |
findByG_T_First(long groupId,
String type,
OrderByComparator orderByComparator)
|
static CalEvent |
findByG_T_Last(long groupId,
String type,
OrderByComparator orderByComparator)
|
static CalEvent[] |
findByG_T_PrevAndNext(long eventId,
long groupId,
String type,
OrderByComparator orderByComparator)
|
static List<CalEvent> |
findByG_T(long groupId,
String type)
|
static List<CalEvent> |
findByG_T(long groupId,
String type,
int start,
int end)
|
static List<CalEvent> |
findByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator orderByComparator)
|
static CalEvent |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
|
static CalEvent |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
|
static CalEvent[] |
findByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator orderByComparator)
|
static List<CalEvent> |
findByGroupId(long groupId)
|
static List<CalEvent> |
findByGroupId(long groupId,
int start,
int end)
|
static List<CalEvent> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
static CalEvent |
findByNotRemindBy_First(int remindBy,
OrderByComparator orderByComparator)
|
static CalEvent |
findByNotRemindBy_Last(int remindBy,
OrderByComparator orderByComparator)
|
static CalEvent[] |
findByNotRemindBy_PrevAndNext(long eventId,
int remindBy,
OrderByComparator orderByComparator)
|
static List<CalEvent> |
findByNotRemindBy(int remindBy)
|
static List<CalEvent> |
findByNotRemindBy(int remindBy,
int start,
int end)
|
static List<CalEvent> |
findByNotRemindBy(int remindBy,
int start,
int end,
OrderByComparator orderByComparator)
|
static CalEvent |
findByPrimaryKey(long eventId)
|
static CalEvent |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
|
static CalEvent |
findByUUID_G(String uuid,
long groupId)
|
static CalEvent |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
|
static CalEvent[] |
findByUuid_PrevAndNext(long eventId,
String uuid,
OrderByComparator orderByComparator)
|
static List<CalEvent> |
findByUuid(String uuid)
|
static List<CalEvent> |
findByUuid(String uuid,
int start,
int end)
|
static List<CalEvent> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
|
static List<CalEvent> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<CalEvent> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<CalEvent> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static CalEventPersistence |
getPersistence()
|
static CalEvent |
remove(CalEvent calEvent)
|
static CalEvent |
remove(long eventId)
|
static void |
removeAll()
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByG_R(long groupId,
boolean repeating)
|
static void |
removeByG_T(long groupId,
String type)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeByNotRemindBy(int remindBy)
|
static void |
removeByUUID_G(String uuid,
long groupId)
|
static void |
removeByUuid(String uuid)
|
void |
setPersistence(CalEventPersistence persistence)
|
static CalEvent |
update(CalEvent calEvent,
boolean merge)
|
static CalEvent |
update(CalEvent calEvent,
boolean merge,
ServiceContext serviceContext)
|
static CalEvent |
updateImpl(CalEvent calEvent,
boolean merge)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalEventUtil
public CalEventUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(CalEvent calEvent)
- See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
countWithDynamicQuery
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
findWithDynamicQuery
public static List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
remove
public static CalEvent remove(CalEvent calEvent)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static CalEvent update(CalEvent calEvent,
boolean merge)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
update
public static CalEvent update(CalEvent calEvent,
boolean merge,
ServiceContext serviceContext)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
cacheResult
public static void cacheResult(CalEvent calEvent)
cacheResult
public static void cacheResult(List<CalEvent> calEvents)
create
public static CalEvent create(long eventId)
remove
public static CalEvent remove(long eventId)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
updateImpl
public static CalEvent updateImpl(CalEvent calEvent,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
public static CalEvent findByPrimaryKey(long eventId)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
fetchByPrimaryKey
public static CalEvent fetchByPrimaryKey(long eventId)
throws SystemException
- Throws:
SystemException
findByUuid
public static List<CalEvent> findByUuid(String uuid)
throws SystemException
- Throws:
SystemException
findByUuid
public static List<CalEvent> findByUuid(String uuid,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByUuid
public static List<CalEvent> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByUuid_First
public static CalEvent findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByUuid_Last
public static CalEvent findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByUuid_PrevAndNext
public static CalEvent[] findByUuid_PrevAndNext(long eventId,
String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByUUID_G
public static CalEvent findByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
fetchByUUID_G
public static CalEvent fetchByUUID_G(String uuid,
long groupId)
throws SystemException
- Throws:
SystemException
fetchByUUID_G
public static CalEvent fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findByCompanyId
public static List<CalEvent> findByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
findByCompanyId
public static List<CalEvent> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByCompanyId
public static List<CalEvent> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByCompanyId_First
public static CalEvent findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByCompanyId_Last
public static CalEvent findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByCompanyId_PrevAndNext
public static CalEvent[] findByCompanyId_PrevAndNext(long eventId,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByGroupId
public static List<CalEvent> findByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
findByGroupId
public static List<CalEvent> findByGroupId(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByGroupId
public static List<CalEvent> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByGroupId_First
public static CalEvent findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByGroupId_Last
public static CalEvent findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByGroupId_PrevAndNext
public static CalEvent[] findByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
filterFindByGroupId
public static List<CalEvent> filterFindByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
filterFindByGroupId
public static List<CalEvent> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
filterFindByGroupId
public static List<CalEvent> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByNotRemindBy
public static List<CalEvent> findByNotRemindBy(int remindBy)
throws SystemException
- Throws:
SystemException
findByNotRemindBy
public static List<CalEvent> findByNotRemindBy(int remindBy,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByNotRemindBy
public static List<CalEvent> findByNotRemindBy(int remindBy,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByNotRemindBy_First
public static CalEvent findByNotRemindBy_First(int remindBy,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByNotRemindBy_Last
public static CalEvent findByNotRemindBy_Last(int remindBy,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByNotRemindBy_PrevAndNext
public static CalEvent[] findByNotRemindBy_PrevAndNext(long eventId,
int remindBy,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByG_T
public static List<CalEvent> findByG_T(long groupId,
String type)
throws SystemException
- Throws:
SystemException
findByG_T
public static List<CalEvent> findByG_T(long groupId,
String type,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByG_T
public static List<CalEvent> findByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByG_T_First
public static CalEvent findByG_T_First(long groupId,
String type,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByG_T_Last
public static CalEvent findByG_T_Last(long groupId,
String type,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByG_T_PrevAndNext
public static CalEvent[] findByG_T_PrevAndNext(long eventId,
long groupId,
String type,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
filterFindByG_T
public static List<CalEvent> filterFindByG_T(long groupId,
String type)
throws SystemException
- Throws:
SystemException
filterFindByG_T
public static List<CalEvent> filterFindByG_T(long groupId,
String type,
int start,
int end)
throws SystemException
- Throws:
SystemException
filterFindByG_T
public static List<CalEvent> filterFindByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByG_R
public static List<CalEvent> findByG_R(long groupId,
boolean repeating)
throws SystemException
- Throws:
SystemException
findByG_R
public static List<CalEvent> findByG_R(long groupId,
boolean repeating,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByG_R
public static List<CalEvent> findByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByG_R_First
public static CalEvent findByG_R_First(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByG_R_Last
public static CalEvent findByG_R_Last(long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
findByG_R_PrevAndNext
public static CalEvent[] findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
filterFindByG_R
public static List<CalEvent> filterFindByG_R(long groupId,
boolean repeating)
throws SystemException
- Throws:
SystemException
filterFindByG_R
public static List<CalEvent> filterFindByG_R(long groupId,
boolean repeating,
int start,
int end)
throws SystemException
- Throws:
SystemException
filterFindByG_R
public static List<CalEvent> filterFindByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findAll
public static List<CalEvent> findAll()
throws SystemException
- Throws:
SystemException
findAll
public static List<CalEvent> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
public static List<CalEvent> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByUuid
public static void removeByUuid(String uuid)
throws SystemException
- Throws:
SystemException
removeByUUID_G
public static void removeByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchEventException
- Throws:
SystemException
NoSuchEventException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
removeByGroupId
public static void removeByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
removeByNotRemindBy
public static void removeByNotRemindBy(int remindBy)
throws SystemException
- Throws:
SystemException
removeByG_T
public static void removeByG_T(long groupId,
String type)
throws SystemException
- Throws:
SystemException
removeByG_R
public static void removeByG_R(long groupId,
boolean repeating)
throws SystemException
- Throws:
SystemException
removeAll
public static void removeAll()
throws SystemException
- Throws:
SystemException
countByUuid
public static int countByUuid(String uuid)
throws SystemException
- Throws:
SystemException
countByUUID_G
public static int countByUUID_G(String uuid,
long groupId)
throws SystemException
- Throws:
SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
filterCountByGroupId
public static int filterCountByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
countByNotRemindBy
public static int countByNotRemindBy(int remindBy)
throws SystemException
- Throws:
SystemException
countByG_T
public static int countByG_T(long groupId,
String type)
throws SystemException
- Throws:
SystemException
filterCountByG_T
public static int filterCountByG_T(long groupId,
String type)
throws SystemException
- Throws:
SystemException
countByG_R
public static int countByG_R(long groupId,
boolean repeating)
throws SystemException
- Throws:
SystemException
filterCountByG_R
public static int filterCountByG_R(long groupId,
boolean repeating)
throws SystemException
- Throws:
SystemException
countAll
public static int countAll()
throws SystemException
- Throws:
SystemException
getPersistence
public static CalEventPersistence getPersistence()
setPersistence
public void setPersistence(CalEventPersistence persistence)