com.liferay.portlet.wiki.service.persistence
Class WikiPageUtil
java.lang.Object
com.liferay.portlet.wiki.service.persistence.WikiPageUtil
- public class WikiPageUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByN_H(long nodeId,
boolean head)
|
static int |
countByN_T_H(long nodeId,
java.lang.String title,
boolean head)
|
static int |
countByN_T_V(long nodeId,
java.lang.String title,
double version)
|
static int |
countByN_T(long nodeId,
java.lang.String title)
|
static int |
countByNodeId(long nodeId)
|
static com.liferay.portlet.wiki.model.WikiPage |
create(long pageId)
|
static com.liferay.portlet.wiki.model.WikiPage |
fetchByN_T_V(long nodeId,
java.lang.String title,
double version)
|
static com.liferay.portlet.wiki.model.WikiPage |
fetchByPrimaryKey(long pageId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.wiki.model.WikiPage |
findByN_H_First(long nodeId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.wiki.model.WikiPage |
findByN_H_Last(long nodeId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.wiki.model.WikiPage[] |
findByN_H_PrevAndNext(long pageId,
long nodeId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByN_H(long nodeId,
boolean head)
|
static java.util.List |
findByN_H(long nodeId,
boolean head,
int begin,
int end)
|
static java.util.List |
findByN_H(long nodeId,
boolean head,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.wiki.model.WikiPage |
findByN_T_First(long nodeId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static 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)
|
static 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)
|
static 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)
|
static java.util.List |
findByN_T_H(long nodeId,
java.lang.String title,
boolean head)
|
static java.util.List |
findByN_T_H(long nodeId,
java.lang.String title,
boolean head,
int begin,
int end)
|
static 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)
|
static com.liferay.portlet.wiki.model.WikiPage |
findByN_T_Last(long nodeId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.wiki.model.WikiPage[] |
findByN_T_PrevAndNext(long pageId,
long nodeId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.wiki.model.WikiPage |
findByN_T_V(long nodeId,
java.lang.String title,
double version)
|
static java.util.List |
findByN_T(long nodeId,
java.lang.String title)
|
static java.util.List |
findByN_T(long nodeId,
java.lang.String title,
int begin,
int end)
|
static java.util.List |
findByN_T(long nodeId,
java.lang.String title,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.wiki.model.WikiPage |
findByNodeId_First(long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.wiki.model.WikiPage |
findByNodeId_Last(long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.wiki.model.WikiPage[] |
findByNodeId_PrevAndNext(long pageId,
long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByNodeId(long nodeId)
|
static java.util.List |
findByNodeId(long nodeId,
int begin,
int end)
|
static java.util.List |
findByNodeId(long nodeId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.wiki.model.WikiPage |
findByPrimaryKey(long pageId)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static WikiPagePersistence |
getPersistence()
|
static com.liferay.portlet.wiki.model.WikiPage |
remove(long pageId)
|
static com.liferay.portlet.wiki.model.WikiPage |
remove(com.liferay.portlet.wiki.model.WikiPage wikiPage)
|
static void |
removeAll()
|
static void |
removeByN_H(long nodeId,
boolean head)
|
static void |
removeByN_T_H(long nodeId,
java.lang.String title,
boolean head)
|
static void |
removeByN_T_V(long nodeId,
java.lang.String title,
double version)
|
static void |
removeByN_T(long nodeId,
java.lang.String title)
|
static void |
removeByNodeId(long nodeId)
|
void |
setPersistence(WikiPagePersistence persistence)
|
static com.liferay.portlet.wiki.model.WikiPage |
update(com.liferay.portlet.wiki.model.WikiPage wikiPage)
|
static com.liferay.portlet.wiki.model.WikiPage |
update(com.liferay.portlet.wiki.model.WikiPage wikiPage,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiPageUtil
public WikiPageUtil()
create
public static com.liferay.portlet.wiki.model.WikiPage create(long pageId)
remove
public static com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
remove
public static com.liferay.portlet.wiki.model.WikiPage remove(com.liferay.portlet.wiki.model.WikiPage wikiPage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.wiki.model.WikiPage update(com.liferay.portlet.wiki.model.WikiPage wikiPage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.wiki.model.WikiPage update(com.liferay.portlet.wiki.model.WikiPage wikiPage,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
fetchByPrimaryKey
public static com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(long pageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByNodeId
public static java.util.List findByNodeId(long nodeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByNodeId
public static java.util.List findByNodeId(long nodeId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByNodeId
public static java.util.List findByNodeId(long nodeId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByNodeId_First
public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findByNodeId_Last
public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findByNodeId_PrevAndNext
public static com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(long pageId,
long nodeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findByN_T
public static java.util.List findByN_T(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByN_T
public static java.util.List findByN_T(long nodeId,
java.lang.String title,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByN_T
public static 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
- Throws:
com.liferay.portal.SystemException
findByN_T_First
public static 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.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findByN_T_Last
public static 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.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findByN_T_PrevAndNext
public static 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.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findByN_H
public static java.util.List findByN_H(long nodeId,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByN_H
public static java.util.List findByN_H(long nodeId,
boolean head,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByN_H
public static 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
- Throws:
com.liferay.portal.SystemException
findByN_H_First
public static com.liferay.portlet.wiki.model.WikiPage findByN_H_First(long nodeId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findByN_H_Last
public static com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId,
boolean head,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findByN_H_PrevAndNext
public static 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.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findByN_T_V
public static com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
fetchByN_T_V
public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByN_T_H
public static java.util.List findByN_T_H(long nodeId,
java.lang.String title,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByN_T_H
public static java.util.List findByN_T_H(long nodeId,
java.lang.String title,
boolean head,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByN_T_H
public static 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
- Throws:
com.liferay.portal.SystemException
findByN_T_H_First
public static 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.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findByN_T_H_Last
public static 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.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findByN_T_H_PrevAndNext
public static 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.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByNodeId
public static void removeByNodeId(long nodeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByN_T
public static void removeByN_T(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByN_H
public static void removeByN_H(long nodeId,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByN_T_V
public static void removeByN_T_V(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portal.SystemException,
com.liferay.portlet.wiki.NoSuchPageException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException
removeByN_T_H
public static void removeByN_T_H(long nodeId,
java.lang.String title,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByNodeId
public static int countByNodeId(long nodeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByN_T
public static int countByN_T(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByN_H
public static int countByN_H(long nodeId,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByN_T_V
public static int countByN_T_V(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByN_T_H
public static int countByN_T_H(long nodeId,
java.lang.String title,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static WikiPagePersistence getPersistence()
setPersistence
public void setPersistence(WikiPagePersistence persistence)