com.liferay.portlet.wiki.service.persistence
Class WikiPagePersistenceImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.portlet.wiki.service.persistence.WikiPagePersistenceImpl
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, WikiPagePersistence
- public class WikiPagePersistenceImpl
- extends BasePersistence
- implements WikiPagePersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
int |
countAll()
|
int |
countByN_H(long nodeId,
boolean head)
|
int |
countByN_T_H(long nodeId,
java.lang.String title,
boolean head)
|
int |
countByN_T_V(long nodeId,
java.lang.String title,
double version)
|
int |
countByN_T(long nodeId,
java.lang.String title)
|
int |
countByNodeId(long nodeId)
|
com.liferay.portlet.wiki.model.WikiPage |
create(long pageId)
|
com.liferay.portlet.wiki.model.WikiPage |
fetchByN_T_V(long nodeId,
java.lang.String title,
double version)
|
com.liferay.portlet.wiki.model.WikiPage |
fetchByPrimaryKey(long pageId)
|
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.wiki.model.WikiPage |
findByN_H_First(long nodeId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage |
findByN_H_Last(long nodeId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage[] |
findByN_H_PrevAndNext(long pageId,
long nodeId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByN_H(long nodeId,
boolean head)
|
java.util.List |
findByN_H(long nodeId,
boolean head,
int begin,
int end)
|
java.util.List |
findByN_H(long nodeId,
boolean head,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage |
findByN_T_First(long nodeId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage |
findByN_T_H_First(long nodeId,
java.lang.String title,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage |
findByN_T_H_Last(long nodeId,
java.lang.String title,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage[] |
findByN_T_H_PrevAndNext(long pageId,
long nodeId,
java.lang.String title,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByN_T_H(long nodeId,
java.lang.String title,
boolean head)
|
java.util.List |
findByN_T_H(long nodeId,
java.lang.String title,
boolean head,
int begin,
int end)
|
java.util.List |
findByN_T_H(long nodeId,
java.lang.String title,
boolean head,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage |
findByN_T_Last(long nodeId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage[] |
findByN_T_PrevAndNext(long pageId,
long nodeId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage |
findByN_T_V(long nodeId,
java.lang.String title,
double version)
|
java.util.List |
findByN_T(long nodeId,
java.lang.String title)
|
java.util.List |
findByN_T(long nodeId,
java.lang.String title,
int begin,
int end)
|
java.util.List |
findByN_T(long nodeId,
java.lang.String title,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage |
findByNodeId_First(long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage |
findByNodeId_Last(long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage[] |
findByNodeId_PrevAndNext(long pageId,
long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByNodeId(long nodeId)
|
java.util.List |
findByNodeId(long nodeId,
int begin,
int end)
|
java.util.List |
findByNodeId(long nodeId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.wiki.model.WikiPage |
findByPrimaryKey(long pageId)
|
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.wiki.model.WikiPage |
remove(long pageId)
|
com.liferay.portlet.wiki.model.WikiPage |
remove(com.liferay.portlet.wiki.model.WikiPage wikiPage)
|
void |
removeAll()
|
void |
removeByN_H(long nodeId,
boolean head)
|
void |
removeByN_T_H(long nodeId,
java.lang.String title,
boolean head)
|
void |
removeByN_T_V(long nodeId,
java.lang.String title,
double version)
|
void |
removeByN_T(long nodeId,
java.lang.String title)
|
void |
removeByNodeId(long nodeId)
|
com.liferay.portlet.wiki.model.WikiPage |
update(com.liferay.portlet.wiki.model.WikiPage wikiPage)
|
com.liferay.portlet.wiki.model.WikiPage |
update(com.liferay.portlet.wiki.model.WikiPage wikiPage,
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 |
WikiPagePersistenceImpl
public WikiPagePersistenceImpl()
create
public com.liferay.portlet.wiki.model.WikiPage create(long pageId)
- Specified by:
create
in interface WikiPagePersistence
remove
public com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
remove
public com.liferay.portlet.wiki.model.WikiPage remove(com.liferay.portlet.wiki.model.WikiPage wikiPage)
throws com.liferay.portal.SystemException
- Specified by:
remove
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.wiki.model.WikiPage update(com.liferay.portlet.wiki.model.WikiPage wikiPage)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.wiki.model.WikiPage update(com.liferay.portlet.wiki.model.WikiPage wikiPage,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(long pageId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByNodeId
public java.util.List findByNodeId(long nodeId)
throws com.liferay.portal.SystemException
- Specified by:
findByNodeId
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByNodeId
public java.util.List findByNodeId(long nodeId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByNodeId
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByNodeId
public java.util.List findByNodeId(long nodeId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByNodeId
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByNodeId_First
public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByNodeId_First
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
findByNodeId_Last
public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByNodeId_Last
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
findByNodeId_PrevAndNext
public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(long pageId,
long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByNodeId_PrevAndNext
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
findByN_T
public java.util.List findByN_T(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Specified by:
findByN_T
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByN_T
public java.util.List findByN_T(long nodeId,
java.lang.String title,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByN_T
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByN_T
public java.util.List findByN_T(long nodeId,
java.lang.String title,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByN_T
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByN_T_First
public com.liferay.portlet.wiki.model.WikiPage findByN_T_First(long nodeId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByN_T_First
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
findByN_T_Last
public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByN_T_Last
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
findByN_T_PrevAndNext
public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(long pageId,
long nodeId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByN_T_PrevAndNext
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
findByN_H
public java.util.List findByN_H(long nodeId,
boolean head)
throws com.liferay.portal.SystemException
- Specified by:
findByN_H
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByN_H
public java.util.List findByN_H(long nodeId,
boolean head,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByN_H
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByN_H
public java.util.List findByN_H(long nodeId,
boolean head,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByN_H
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByN_H_First
public com.liferay.portlet.wiki.model.WikiPage findByN_H_First(long nodeId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByN_H_First
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
findByN_H_Last
public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByN_H_Last
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
findByN_H_PrevAndNext
public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(long pageId,
long nodeId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByN_H_PrevAndNext
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
findByN_T_V
public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByN_T_V
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
fetchByN_T_V
public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portal.SystemException
- Specified by:
fetchByN_T_V
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByN_T_H
public java.util.List findByN_T_H(long nodeId,
java.lang.String title,
boolean head)
throws com.liferay.portal.SystemException
- Specified by:
findByN_T_H
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByN_T_H
public java.util.List findByN_T_H(long nodeId,
java.lang.String title,
boolean head,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByN_T_H
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByN_T_H
public java.util.List findByN_T_H(long nodeId,
java.lang.String title,
boolean head,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByN_T_H
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findByN_T_H_First
public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(long nodeId,
java.lang.String title,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByN_T_H_First
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
findByN_T_H_Last
public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(long nodeId,
java.lang.String title,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByN_T_H_Last
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
findByN_T_H_PrevAndNext
public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(long pageId,
long nodeId,
java.lang.String title,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
findByN_T_H_PrevAndNext
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
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 WikiPagePersistence
- 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 WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface WikiPagePersistence
- 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 WikiPagePersistence
- 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 WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
removeByNodeId
public void removeByNodeId(long nodeId)
throws com.liferay.portal.SystemException
- Specified by:
removeByNodeId
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
removeByN_T
public void removeByN_T(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Specified by:
removeByN_T
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
removeByN_H
public void removeByN_H(long nodeId,
boolean head)
throws com.liferay.portal.SystemException
- Specified by:
removeByN_H
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
removeByN_T_V
public void removeByN_T_V(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portlet.wiki.NoSuchPageException,
com.liferay.portal.SystemException
- Specified by:
removeByN_T_V
in interface WikiPagePersistence
- Throws:
com.liferay.portlet.wiki.NoSuchPageException
com.liferay.portal.SystemException
removeByN_T_H
public void removeByN_T_H(long nodeId,
java.lang.String title,
boolean head)
throws com.liferay.portal.SystemException
- Specified by:
removeByN_T_H
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
countByNodeId
public int countByNodeId(long nodeId)
throws com.liferay.portal.SystemException
- Specified by:
countByNodeId
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
countByN_T
public int countByN_T(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Specified by:
countByN_T
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
countByN_H
public int countByN_H(long nodeId,
boolean head)
throws com.liferay.portal.SystemException
- Specified by:
countByN_H
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
countByN_T_V
public int countByN_T_V(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portal.SystemException
- Specified by:
countByN_T_V
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
countByN_T_H
public int countByN_T_H(long nodeId,
java.lang.String title,
boolean head)
throws com.liferay.portal.SystemException
- Specified by:
countByN_T_H
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface WikiPagePersistence
- Throws:
com.liferay.portal.SystemException
initDao
protected void initDao()