com.liferay.portlet.calendar.service.persistence
Class CalEventPersistenceImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.portlet.calendar.service.persistence.CalEventPersistenceImpl
- All Implemented Interfaces:
- CalEventPersistence, org.springframework.beans.factory.InitializingBean
- public class CalEventPersistenceImpl
- extends BasePersistence
- implements CalEventPersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
int |
countAll()
|
int |
countByG_R(long groupId,
boolean repeating)
|
int |
countByG_T(long groupId,
java.lang.String type)
|
int |
countByGroupId(long groupId)
|
com.liferay.portlet.calendar.model.CalEvent |
create(long eventId)
|
com.liferay.portlet.calendar.model.CalEvent |
fetchByPrimaryKey(long eventId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.calendar.model.CalEvent |
findByG_R_First(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.calendar.model.CalEvent |
findByG_R_Last(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.calendar.model.CalEvent[] |
findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByG_R(long groupId,
boolean repeating)
|
java.util.List |
findByG_R(long groupId,
boolean repeating,
int begin,
int end)
|
java.util.List |
findByG_R(long groupId,
boolean repeating,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.calendar.model.CalEvent |
findByG_T_First(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.calendar.model.CalEvent |
findByG_T_Last(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.calendar.model.CalEvent[] |
findByG_T_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByG_T(long groupId,
java.lang.String type)
|
java.util.List |
findByG_T(long groupId,
java.lang.String type,
int begin,
int end)
|
java.util.List |
findByG_T(long groupId,
java.lang.String type,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.calendar.model.CalEvent |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.calendar.model.CalEvent |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.calendar.model.CalEvent[] |
findByGroupId_PrevAndNext(long eventId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByGroupId(long groupId)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.calendar.model.CalEvent |
findByPrimaryKey(long eventId)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
protected void |
initDao()
|
com.liferay.portlet.calendar.model.CalEvent |
remove(com.liferay.portlet.calendar.model.CalEvent calEvent)
|
com.liferay.portlet.calendar.model.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)
|
com.liferay.portlet.calendar.model.CalEvent |
update(com.liferay.portlet.calendar.model.CalEvent calEvent)
|
com.liferay.portlet.calendar.model.CalEvent |
update(com.liferay.portlet.calendar.model.CalEvent calEvent,
boolean merge)
|
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalEventPersistenceImpl
public CalEventPersistenceImpl()
create
public com.liferay.portlet.calendar.model.CalEvent create(long eventId)
- Specified by:
create
in interface CalEventPersistence
remove
public com.liferay.portlet.calendar.model.CalEvent remove(long eventId)
throws com.liferay.portlet.calendar.NoSuchEventException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface CalEventPersistence
- Throws:
com.liferay.portlet.calendar.NoSuchEventException
com.liferay.portal.SystemException
remove
public com.liferay.portlet.calendar.model.CalEvent remove(com.liferay.portlet.calendar.model.CalEvent calEvent)
throws com.liferay.portal.SystemException
- Specified by:
remove
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.calendar.model.CalEvent update(com.liferay.portlet.calendar.model.CalEvent calEvent)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.calendar.model.CalEvent update(com.liferay.portlet.calendar.model.CalEvent calEvent,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.calendar.model.CalEvent findByPrimaryKey(long eventId)
throws com.liferay.portlet.calendar.NoSuchEventException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface CalEventPersistence
- Throws:
com.liferay.portlet.calendar.NoSuchEventException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portlet.calendar.model.CalEvent fetchByPrimaryKey(long eventId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
findByGroupId
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByGroupId
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByGroupId
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public com.liferay.portlet.calendar.model.CalEvent findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.calendar.NoSuchEventException,
com.liferay.portal.SystemException
- Specified by:
findByGroupId_First
in interface CalEventPersistence
- Throws:
com.liferay.portlet.calendar.NoSuchEventException
com.liferay.portal.SystemException
findByGroupId_Last
public com.liferay.portlet.calendar.model.CalEvent findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.calendar.NoSuchEventException,
com.liferay.portal.SystemException
- Specified by:
findByGroupId_Last
in interface CalEventPersistence
- Throws:
com.liferay.portlet.calendar.NoSuchEventException
com.liferay.portal.SystemException
findByGroupId_PrevAndNext
public com.liferay.portlet.calendar.model.CalEvent[] findByGroupId_PrevAndNext(long eventId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.calendar.NoSuchEventException,
com.liferay.portal.SystemException
- Specified by:
findByGroupId_PrevAndNext
in interface CalEventPersistence
- Throws:
com.liferay.portlet.calendar.NoSuchEventException
com.liferay.portal.SystemException
findByG_T
public java.util.List findByG_T(long groupId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Specified by:
findByG_T
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findByG_T
public java.util.List findByG_T(long groupId,
java.lang.String type,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByG_T
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findByG_T
public java.util.List findByG_T(long groupId,
java.lang.String type,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByG_T
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findByG_T_First
public com.liferay.portlet.calendar.model.CalEvent findByG_T_First(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.calendar.NoSuchEventException,
com.liferay.portal.SystemException
- Specified by:
findByG_T_First
in interface CalEventPersistence
- Throws:
com.liferay.portlet.calendar.NoSuchEventException
com.liferay.portal.SystemException
findByG_T_Last
public com.liferay.portlet.calendar.model.CalEvent findByG_T_Last(long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.calendar.NoSuchEventException,
com.liferay.portal.SystemException
- Specified by:
findByG_T_Last
in interface CalEventPersistence
- Throws:
com.liferay.portlet.calendar.NoSuchEventException
com.liferay.portal.SystemException
findByG_T_PrevAndNext
public com.liferay.portlet.calendar.model.CalEvent[] findByG_T_PrevAndNext(long eventId,
long groupId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.calendar.NoSuchEventException,
com.liferay.portal.SystemException
- Specified by:
findByG_T_PrevAndNext
in interface CalEventPersistence
- Throws:
com.liferay.portlet.calendar.NoSuchEventException
com.liferay.portal.SystemException
findByG_R
public java.util.List findByG_R(long groupId,
boolean repeating)
throws com.liferay.portal.SystemException
- Specified by:
findByG_R
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findByG_R
public java.util.List findByG_R(long groupId,
boolean repeating,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByG_R
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findByG_R
public java.util.List findByG_R(long groupId,
boolean repeating,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByG_R
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findByG_R_First
public com.liferay.portlet.calendar.model.CalEvent findByG_R_First(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.calendar.NoSuchEventException,
com.liferay.portal.SystemException
- Specified by:
findByG_R_First
in interface CalEventPersistence
- Throws:
com.liferay.portlet.calendar.NoSuchEventException
com.liferay.portal.SystemException
findByG_R_Last
public com.liferay.portlet.calendar.model.CalEvent findByG_R_Last(long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.calendar.NoSuchEventException,
com.liferay.portal.SystemException
- Specified by:
findByG_R_Last
in interface CalEventPersistence
- Throws:
com.liferay.portlet.calendar.NoSuchEventException
com.liferay.portal.SystemException
findByG_R_PrevAndNext
public com.liferay.portlet.calendar.model.CalEvent[] findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.calendar.NoSuchEventException,
com.liferay.portal.SystemException
- Specified by:
findByG_R_PrevAndNext
in interface CalEventPersistence
- Throws:
com.liferay.portlet.calendar.NoSuchEventException
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
removeByGroupId
public void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
removeByGroupId
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
removeByG_T
public void removeByG_T(long groupId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Specified by:
removeByG_T
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
removeByG_R
public void removeByG_R(long groupId,
boolean repeating)
throws com.liferay.portal.SystemException
- Specified by:
removeByG_R
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
countByGroupId
public int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
countByGroupId
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
countByG_T
public int countByG_T(long groupId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Specified by:
countByG_T
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
countByG_R
public int countByG_R(long groupId,
boolean repeating)
throws com.liferay.portal.SystemException
- Specified by:
countByG_R
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface CalEventPersistence
- Throws:
com.liferay.portal.SystemException
initDao
protected void initDao()