com.liferay.portlet.calendar.service.persistence
Interface CalEventPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface CalEventPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByG_R(long groupId,
boolean repeating)
|
int |
countByG_T(long groupId,
java.lang.String type)
|
int |
countByGroupId(long groupId)
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
int |
countByUuid(java.lang.String uuid)
|
CalEvent |
create(long eventId)
|
CalEvent |
fetchByPrimaryKey(long eventId)
|
CalEvent |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
java.util.List<CalEvent> |
findAll()
|
java.util.List<CalEvent> |
findAll(int start,
int end)
|
java.util.List<CalEvent> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent |
findByG_R_First(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent |
findByG_R_Last(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent[] |
findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<CalEvent> |
findByG_R(long groupId,
boolean repeating)
|
java.util.List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end)
|
java.util.List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent |
findByG_T_First(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent |
findByG_T_Last(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent[] |
findByG_T_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String type)
|
java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String type,
int start,
int end)
|
java.util.List<CalEvent> |
findByG_T(long groupId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent[] |
findByGroupId_PrevAndNext(long eventId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<CalEvent> |
findByGroupId(long groupId)
|
java.util.List<CalEvent> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<CalEvent> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent |
findByPrimaryKey(long eventId)
|
CalEvent |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent |
findByUUID_G(java.lang.String uuid,
long groupId)
|
CalEvent |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
CalEvent[] |
findByUuid_PrevAndNext(long eventId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<CalEvent> |
findByUuid(java.lang.String uuid)
|
java.util.List<CalEvent> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<CalEvent> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
CalEvent |
remove(CalEvent calEvent)
|
CalEvent |
remove(long eventId)
|
void |
removeAll()
|
void |
removeByG_R(long groupId,
boolean repeating)
|
void |
removeByG_T(long groupId,
java.lang.String type)
|
void |
removeByGroupId(long groupId)
|
void |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
void |
removeByUuid(java.lang.String uuid)
|
CalEvent |
update(CalEvent calEvent)
Deprecated. Use update(CalEvent calEvent, boolean merge) . |
CalEvent |
update(CalEvent calEvent,
boolean merge)
Add, update, or merge, the entity. |
CalEvent |
updateImpl(CalEvent calEvent,
boolean merge)
|
create
CalEvent create(long eventId)
remove
CalEvent remove(long eventId)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
remove
CalEvent remove(CalEvent calEvent)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
CalEvent update(CalEvent calEvent)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(CalEvent calEvent, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
CalEvent update(CalEvent calEvent,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
calEvent
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when calEvent is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
CalEvent updateImpl(CalEvent calEvent,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent findByPrimaryKey(long eventId)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
fetchByPrimaryKey
CalEvent fetchByPrimaryKey(long eventId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByUuid_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByUuid_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent[] findByUuid_PrevAndNext(long eventId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByUUID_G
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
fetchByUUID_G
CalEvent fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByGroupId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByGroupId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent[] findByGroupId_PrevAndNext(long eventId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByG_T(long groupId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByG_T(long groupId,
java.lang.String type,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByG_T(long groupId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_T_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent findByG_T_First(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_T_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent findByG_T_Last(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_T_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent[] findByG_T_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_R
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByG_R(long groupId,
boolean repeating)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByG_R(long groupId,
boolean repeating,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findByG_R(long groupId,
boolean repeating,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent findByG_R_First(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_R_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent findByG_R_Last(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findByG_R_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
CalEvent[] findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CalEvent> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUUID_G
void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchEventException
- Throws:
com.liferay.portal.SystemException
NoSuchEventException
removeByGroupId
void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_T
void removeByG_T(long groupId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_R
void removeByG_R(long groupId,
boolean repeating)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUUID_G
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByG_T(long groupId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_R
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByG_R(long groupId,
boolean repeating)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException