|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.wiki.service.persistence.WikiPageUtil
public class WikiPageUtil
The persistence utility for the wiki page service. This utility wraps WikiPagePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Never modify this class directly. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
WikiPagePersistence
,
WikiPagePersistenceImpl
Constructor Summary | |
---|---|
WikiPageUtil()
|
Method Summary | |
---|---|
static void |
cacheResult(List<WikiPage> wikiPages)
Caches the wiki pages in the entity cache if it is enabled. |
static void |
cacheResult(WikiPage wikiPage)
Caches the wiki page in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(WikiPage wikiPage)
|
static int |
countAll()
Counts all the wiki pages. |
static int |
countByFormat(String format)
Counts all the wiki pages where format = ?. |
static int |
countByN_H_P_S(long nodeId,
boolean head,
String parentTitle,
int status)
Counts all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
static int |
countByN_H_P(long nodeId,
boolean head,
String parentTitle)
Counts all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. |
static int |
countByN_H_S(long nodeId,
boolean head,
int status)
Counts all the wiki pages where nodeId = ? and head = ? and status = ?. |
static int |
countByN_H(long nodeId,
boolean head)
Counts all the wiki pages where nodeId = ? and head = ?. |
static int |
countByN_P(long nodeId,
String parentTitle)
Counts all the wiki pages where nodeId = ? and parentTitle = ?. |
static int |
countByN_R(long nodeId,
String redirectTitle)
Counts all the wiki pages where nodeId = ? and redirectTitle = ?. |
static int |
countByN_S(long nodeId,
int status)
Counts all the wiki pages where nodeId = ? and status = ?. |
static int |
countByN_T_H(long nodeId,
String title,
boolean head)
Counts all the wiki pages where nodeId = ? and title = ? and head = ?. |
static int |
countByN_T_S(long nodeId,
String title,
int status)
Counts all the wiki pages where nodeId = ? and title = ? and status = ?. |
static int |
countByN_T_V(long nodeId,
String title,
double version)
Counts all the wiki pages where nodeId = ? and title = ? and version = ?. |
static int |
countByN_T(long nodeId,
String title)
Counts all the wiki pages where nodeId = ? and title = ?. |
static int |
countByNodeId(long nodeId)
Counts all the wiki pages where nodeId = ?. |
static int |
countByR_N_S(long resourcePrimKey,
long nodeId,
int status)
Counts all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. |
static int |
countByR_N_V(long resourcePrimKey,
long nodeId,
double version)
Counts all the wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?. |
static int |
countByR_N(long resourcePrimKey,
long nodeId)
Counts all the wiki pages where resourcePrimKey = ? and nodeId = ?. |
static int |
countByU_N_S(long userId,
long nodeId,
int status)
Counts all the wiki pages where userId = ? and nodeId = ? and status = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Counts all the wiki pages where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Counts all the wiki pages where uuid = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static WikiPage |
create(long pageId)
Creates a new wiki page with the primary key. |
static WikiPage |
fetchByN_T_V(long nodeId,
String title,
double version)
Finds the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found. |
static WikiPage |
fetchByN_T_V(long nodeId,
String title,
double version,
boolean retrieveFromCache)
Finds the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found, optionally using the finder cache. |
static WikiPage |
fetchByPrimaryKey(long pageId)
Finds the wiki page with the primary key or returns null if it could not be found. |
static WikiPage |
fetchByR_N_V(long resourcePrimKey,
long nodeId,
double version)
Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found. |
static WikiPage |
fetchByR_N_V(long resourcePrimKey,
long nodeId,
double version,
boolean retrieveFromCache)
Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found, optionally using the finder cache. |
static WikiPage |
fetchByUUID_G(String uuid,
long groupId)
Finds the wiki page where uuid = ? and groupId = ? or returns null if it could not be found. |
static WikiPage |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Finds the wiki page where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
static List<WikiPage> |
findAll()
Finds all the wiki pages. |
static List<WikiPage> |
findAll(int start,
int end)
Finds a range of all the wiki pages. |
static List<WikiPage> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages. |
static WikiPage |
findByFormat_First(String format,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where format = ?. |
static WikiPage |
findByFormat_Last(String format,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where format = ?. |
static WikiPage[] |
findByFormat_PrevAndNext(long pageId,
String format,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where format = ?. |
static List<WikiPage> |
findByFormat(String format)
Finds all the wiki pages where format = ?. |
static List<WikiPage> |
findByFormat(String format,
int start,
int end)
Finds a range of all the wiki pages where format = ?. |
static List<WikiPage> |
findByFormat(String format,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where format = ?. |
static WikiPage |
findByN_H_First(long nodeId,
boolean head,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where nodeId = ? and head = ?. |
static WikiPage |
findByN_H_Last(long nodeId,
boolean head,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where nodeId = ? and head = ?. |
static WikiPage |
findByN_H_P_First(long nodeId,
boolean head,
String parentTitle,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. |
static WikiPage |
findByN_H_P_Last(long nodeId,
boolean head,
String parentTitle,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. |
static WikiPage[] |
findByN_H_P_PrevAndNext(long pageId,
long nodeId,
boolean head,
String parentTitle,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. |
static WikiPage |
findByN_H_P_S_First(long nodeId,
boolean head,
String parentTitle,
int status,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
static WikiPage |
findByN_H_P_S_Last(long nodeId,
boolean head,
String parentTitle,
int status,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
static WikiPage[] |
findByN_H_P_S_PrevAndNext(long pageId,
long nodeId,
boolean head,
String parentTitle,
int status,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
static List<WikiPage> |
findByN_H_P_S(long nodeId,
boolean head,
String parentTitle,
int status)
Finds all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
static List<WikiPage> |
findByN_H_P_S(long nodeId,
boolean head,
String parentTitle,
int status,
int start,
int end)
Finds a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
static List<WikiPage> |
findByN_H_P_S(long nodeId,
boolean head,
String parentTitle,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
static List<WikiPage> |
findByN_H_P(long nodeId,
boolean head,
String parentTitle)
Finds all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. |
static List<WikiPage> |
findByN_H_P(long nodeId,
boolean head,
String parentTitle,
int start,
int end)
Finds a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. |
static List<WikiPage> |
findByN_H_P(long nodeId,
boolean head,
String parentTitle,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. |
static WikiPage[] |
findByN_H_PrevAndNext(long pageId,
long nodeId,
boolean head,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?. |
static WikiPage |
findByN_H_S_First(long nodeId,
boolean head,
int status,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?. |
static WikiPage |
findByN_H_S_Last(long nodeId,
boolean head,
int status,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?. |
static WikiPage[] |
findByN_H_S_PrevAndNext(long pageId,
long nodeId,
boolean head,
int status,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?. |
static List<WikiPage> |
findByN_H_S(long nodeId,
boolean head,
int status)
Finds all the wiki pages where nodeId = ? and head = ? and status = ?. |
static List<WikiPage> |
findByN_H_S(long nodeId,
boolean head,
int status,
int start,
int end)
Finds a range of all the wiki pages where nodeId = ? and head = ? and status = ?. |
static List<WikiPage> |
findByN_H_S(long nodeId,
boolean head,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?. |
static List<WikiPage> |
findByN_H(long nodeId,
boolean head)
Finds all the wiki pages where nodeId = ? and head = ?. |
static List<WikiPage> |
findByN_H(long nodeId,
boolean head,
int start,
int end)
Finds a range of all the wiki pages where nodeId = ? and head = ?. |
static List<WikiPage> |
findByN_H(long nodeId,
boolean head,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where nodeId = ? and head = ?. |
static WikiPage |
findByN_P_First(long nodeId,
String parentTitle,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where nodeId = ? and parentTitle = ?. |
static WikiPage |
findByN_P_Last(long nodeId,
String parentTitle,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where nodeId = ? and parentTitle = ?. |
static WikiPage[] |
findByN_P_PrevAndNext(long pageId,
long nodeId,
String parentTitle,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?. |
static List<WikiPage> |
findByN_P(long nodeId,
String parentTitle)
Finds all the wiki pages where nodeId = ? and parentTitle = ?. |
static List<WikiPage> |
findByN_P(long nodeId,
String parentTitle,
int start,
int end)
Finds a range of all the wiki pages where nodeId = ? and parentTitle = ?. |
static List<WikiPage> |
findByN_P(long nodeId,
String parentTitle,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?. |
static WikiPage |
findByN_R_First(long nodeId,
String redirectTitle,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?. |
static WikiPage |
findByN_R_Last(long nodeId,
String redirectTitle,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?. |
static WikiPage[] |
findByN_R_PrevAndNext(long pageId,
long nodeId,
String redirectTitle,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?. |
static List<WikiPage> |
findByN_R(long nodeId,
String redirectTitle)
Finds all the wiki pages where nodeId = ? and redirectTitle = ?. |
static List<WikiPage> |
findByN_R(long nodeId,
String redirectTitle,
int start,
int end)
Finds a range of all the wiki pages where nodeId = ? and redirectTitle = ?. |
static List<WikiPage> |
findByN_R(long nodeId,
String redirectTitle,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?. |
static WikiPage |
findByN_S_First(long nodeId,
int status,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where nodeId = ? and status = ?. |
static WikiPage |
findByN_S_Last(long nodeId,
int status,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where nodeId = ? and status = ?. |
static WikiPage[] |
findByN_S_PrevAndNext(long pageId,
long nodeId,
int status,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?. |
static List<WikiPage> |
findByN_S(long nodeId,
int status)
Finds all the wiki pages where nodeId = ? and status = ?. |
static List<WikiPage> |
findByN_S(long nodeId,
int status,
int start,
int end)
Finds a range of all the wiki pages where nodeId = ? and status = ?. |
static List<WikiPage> |
findByN_S(long nodeId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where nodeId = ? and status = ?. |
static WikiPage |
findByN_T_First(long nodeId,
String title,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where nodeId = ? and title = ?. |
static WikiPage |
findByN_T_H_First(long nodeId,
String title,
boolean head,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?. |
static WikiPage |
findByN_T_H_Last(long nodeId,
String title,
boolean head,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?. |
static WikiPage[] |
findByN_T_H_PrevAndNext(long pageId,
long nodeId,
String title,
boolean head,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and head = ?. |
static List<WikiPage> |
findByN_T_H(long nodeId,
String title,
boolean head)
Finds all the wiki pages where nodeId = ? and title = ? and head = ?. |
static List<WikiPage> |
findByN_T_H(long nodeId,
String title,
boolean head,
int start,
int end)
Finds a range of all the wiki pages where nodeId = ? and title = ? and head = ?. |
static List<WikiPage> |
findByN_T_H(long nodeId,
String title,
boolean head,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where nodeId = ? and title = ? and head = ?. |
static WikiPage |
findByN_T_Last(long nodeId,
String title,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where nodeId = ? and title = ?. |
static WikiPage[] |
findByN_T_PrevAndNext(long pageId,
long nodeId,
String title,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?. |
static WikiPage |
findByN_T_S_First(long nodeId,
String title,
int status,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?. |
static WikiPage |
findByN_T_S_Last(long nodeId,
String title,
int status,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?. |
static WikiPage[] |
findByN_T_S_PrevAndNext(long pageId,
long nodeId,
String title,
int status,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?. |
static List<WikiPage> |
findByN_T_S(long nodeId,
String title,
int status)
Finds all the wiki pages where nodeId = ? and title = ? and status = ?. |
static List<WikiPage> |
findByN_T_S(long nodeId,
String title,
int status,
int start,
int end)
Finds a range of all the wiki pages where nodeId = ? and title = ? and status = ?. |
static List<WikiPage> |
findByN_T_S(long nodeId,
String title,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where nodeId = ? and title = ? and status = ?. |
static WikiPage |
findByN_T_V(long nodeId,
String title,
double version)
Finds the wiki page where nodeId = ? and title = ? and version = ? or throws a NoSuchPageException if it could not be found. |
static List<WikiPage> |
findByN_T(long nodeId,
String title)
Finds all the wiki pages where nodeId = ? and title = ?. |
static List<WikiPage> |
findByN_T(long nodeId,
String title,
int start,
int end)
Finds a range of all the wiki pages where nodeId = ? and title = ?. |
static List<WikiPage> |
findByN_T(long nodeId,
String title,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where nodeId = ? and title = ?. |
static WikiPage |
findByNodeId_First(long nodeId,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where nodeId = ?. |
static WikiPage |
findByNodeId_Last(long nodeId,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where nodeId = ?. |
static WikiPage[] |
findByNodeId_PrevAndNext(long pageId,
long nodeId,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ?. |
static List<WikiPage> |
findByNodeId(long nodeId)
Finds all the wiki pages where nodeId = ?. |
static List<WikiPage> |
findByNodeId(long nodeId,
int start,
int end)
Finds a range of all the wiki pages where nodeId = ?. |
static List<WikiPage> |
findByNodeId(long nodeId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where nodeId = ?. |
static WikiPage |
findByPrimaryKey(long pageId)
Finds the wiki page with the primary key or throws a NoSuchPageException if it could not be found. |
static WikiPage |
findByR_N_First(long resourcePrimKey,
long nodeId,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. |
static WikiPage |
findByR_N_Last(long resourcePrimKey,
long nodeId,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. |
static WikiPage[] |
findByR_N_PrevAndNext(long pageId,
long resourcePrimKey,
long nodeId,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. |
static WikiPage |
findByR_N_S_First(long resourcePrimKey,
long nodeId,
int status,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. |
static WikiPage |
findByR_N_S_Last(long resourcePrimKey,
long nodeId,
int status,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. |
static WikiPage[] |
findByR_N_S_PrevAndNext(long pageId,
long resourcePrimKey,
long nodeId,
int status,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. |
static List<WikiPage> |
findByR_N_S(long resourcePrimKey,
long nodeId,
int status)
Finds all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. |
static List<WikiPage> |
findByR_N_S(long resourcePrimKey,
long nodeId,
int status,
int start,
int end)
Finds a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. |
static List<WikiPage> |
findByR_N_S(long resourcePrimKey,
long nodeId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. |
static WikiPage |
findByR_N_V(long resourcePrimKey,
long nodeId,
double version)
Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or throws a NoSuchPageException if it could not be found. |
static List<WikiPage> |
findByR_N(long resourcePrimKey,
long nodeId)
Finds all the wiki pages where resourcePrimKey = ? and nodeId = ?. |
static List<WikiPage> |
findByR_N(long resourcePrimKey,
long nodeId,
int start,
int end)
Finds a range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. |
static List<WikiPage> |
findByR_N(long resourcePrimKey,
long nodeId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. |
static WikiPage |
findByU_N_S_First(long userId,
long nodeId,
int status,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. |
static WikiPage |
findByU_N_S_Last(long userId,
long nodeId,
int status,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. |
static WikiPage[] |
findByU_N_S_PrevAndNext(long pageId,
long userId,
long nodeId,
int status,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. |
static List<WikiPage> |
findByU_N_S(long userId,
long nodeId,
int status)
Finds all the wiki pages where userId = ? and nodeId = ? and status = ?. |
static List<WikiPage> |
findByU_N_S(long userId,
long nodeId,
int status,
int start,
int end)
Finds a range of all the wiki pages where userId = ? and nodeId = ? and status = ?. |
static List<WikiPage> |
findByU_N_S(long userId,
long nodeId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?. |
static WikiPage |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Finds the first wiki page in the ordered set where uuid = ?. |
static WikiPage |
findByUUID_G(String uuid,
long groupId)
Finds the wiki page where uuid = ? and groupId = ? or throws a NoSuchPageException if it could not be found. |
static WikiPage |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Finds the last wiki page in the ordered set where uuid = ?. |
static WikiPage[] |
findByUuid_PrevAndNext(long pageId,
String uuid,
OrderByComparator orderByComparator)
Finds the wiki pages before and after the current wiki page in the ordered set where uuid = ?. |
static List<WikiPage> |
findByUuid(String uuid)
Finds all the wiki pages where uuid = ?. |
static List<WikiPage> |
findByUuid(String uuid,
int start,
int end)
Finds a range of all the wiki pages where uuid = ?. |
static List<WikiPage> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the wiki pages where uuid = ?. |
static List<WikiPage> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<WikiPage> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<WikiPage> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static WikiPagePersistence |
getPersistence()
|
static WikiPage |
remove(long pageId)
Removes the wiki page with the primary key from the database. |
static WikiPage |
remove(WikiPage wikiPage)
|
static void |
removeAll()
Removes all the wiki pages from the database. |
static void |
removeByFormat(String format)
Removes all the wiki pages where format = ? from the database. |
static void |
removeByN_H_P_S(long nodeId,
boolean head,
String parentTitle,
int status)
Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ? from the database. |
static void |
removeByN_H_P(long nodeId,
boolean head,
String parentTitle)
Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? from the database. |
static void |
removeByN_H_S(long nodeId,
boolean head,
int status)
Removes all the wiki pages where nodeId = ? and head = ? and status = ? from the database. |
static void |
removeByN_H(long nodeId,
boolean head)
Removes all the wiki pages where nodeId = ? and head = ? from the database. |
static void |
removeByN_P(long nodeId,
String parentTitle)
Removes all the wiki pages where nodeId = ? and parentTitle = ? from the database. |
static void |
removeByN_R(long nodeId,
String redirectTitle)
Removes all the wiki pages where nodeId = ? and redirectTitle = ? from the database. |
static void |
removeByN_S(long nodeId,
int status)
Removes all the wiki pages where nodeId = ? and status = ? from the database. |
static void |
removeByN_T_H(long nodeId,
String title,
boolean head)
Removes all the wiki pages where nodeId = ? and title = ? and head = ? from the database. |
static void |
removeByN_T_S(long nodeId,
String title,
int status)
Removes all the wiki pages where nodeId = ? and title = ? and status = ? from the database. |
static void |
removeByN_T_V(long nodeId,
String title,
double version)
Removes the wiki page where nodeId = ? and title = ? and version = ? from the database. |
static void |
removeByN_T(long nodeId,
String title)
Removes all the wiki pages where nodeId = ? and title = ? from the database. |
static void |
removeByNodeId(long nodeId)
Removes all the wiki pages where nodeId = ? from the database. |
static void |
removeByR_N_S(long resourcePrimKey,
long nodeId,
int status)
Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ? from the database. |
static void |
removeByR_N_V(long resourcePrimKey,
long nodeId,
double version)
Removes the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? from the database. |
static void |
removeByR_N(long resourcePrimKey,
long nodeId)
Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? from the database. |
static void |
removeByU_N_S(long userId,
long nodeId,
int status)
Removes all the wiki pages where userId = ? and nodeId = ? and status = ? from the database. |
static void |
removeByUUID_G(String uuid,
long groupId)
Removes the wiki page where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the wiki pages where uuid = ? from the database. |
void |
setPersistence(WikiPagePersistence persistence)
|
static WikiPage |
update(WikiPage wikiPage,
boolean merge)
|
static WikiPage |
update(WikiPage wikiPage,
boolean merge,
ServiceContext serviceContext)
|
static WikiPage |
updateImpl(WikiPage wikiPage,
boolean merge)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WikiPageUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(WikiPage wikiPage)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<WikiPage> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<WikiPage> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<WikiPage> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static WikiPage remove(WikiPage wikiPage) throws SystemException
SystemException
BasePersistence.remove(com.liferay.portal.model.BaseModel)
public static WikiPage update(WikiPage wikiPage, boolean merge) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static WikiPage update(WikiPage wikiPage, boolean merge, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
public static void cacheResult(WikiPage wikiPage)
wikiPage
- the wiki page to cachepublic static void cacheResult(List<WikiPage> wikiPages)
wikiPages
- the wiki pages to cachepublic static WikiPage create(long pageId)
pageId
- the primary key for the new wiki page
public static WikiPage remove(long pageId) throws SystemException, NoSuchPageException
pageId
- the primary key of the wiki page to remove
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static WikiPage updateImpl(WikiPage wikiPage, boolean merge) throws SystemException
SystemException
public static WikiPage findByPrimaryKey(long pageId) throws SystemException, NoSuchPageException
NoSuchPageException
if it could not be found.
pageId
- the primary key of the wiki page to find
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static WikiPage fetchByPrimaryKey(long pageId) throws SystemException
null
if it could not be found.
pageId
- the primary key of the wiki page to find
null
if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
uuid
- the uuid to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
uuid
- the uuid to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByUuid_PrevAndNext(long pageId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pageuuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchPageException
NoSuchPageException
if it could not be found.
uuid
- the uuid to search withgroupId
- the group id to search with
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByNodeId(long nodeId) throws SystemException
nodeId
- the node id to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByNodeId(long nodeId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByNodeId(long nodeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByNodeId_First(long nodeId, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByNodeId_Last(long nodeId, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByNodeId_PrevAndNext(long pageId, long nodeId, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByFormat(String format) throws SystemException
format
- the format to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByFormat(String format, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
format
- the format to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByFormat(String format, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
format
- the format to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByFormat_First(String format, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
format
- the format to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByFormat_Last(String format, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
format
- the format to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByFormat_PrevAndNext(long pageId, String format, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pageformat
- the format to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByR_N(long resourcePrimKey, long nodeId) throws SystemException
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByR_N(long resourcePrimKey, long nodeId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByR_N(long resourcePrimKey, long nodeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByR_N_First(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByR_N_Last(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByR_N_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pageresourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_T(long nodeId, String title) throws SystemException
nodeId
- the node id to search withtitle
- the title to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_T(long nodeId, String title, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_T(long nodeId, String title, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByN_T_First(long nodeId, String title, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByN_T_Last(long nodeId, String title, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByN_T_PrevAndNext(long pageId, long nodeId, String title, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withtitle
- the title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H(long nodeId, boolean head) throws SystemException
nodeId
- the node id to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H(long nodeId, boolean head, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H(long nodeId, boolean head, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByN_H_First(long nodeId, boolean head, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByN_H_Last(long nodeId, boolean head, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByN_H_PrevAndNext(long pageId, long nodeId, boolean head, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_P(long nodeId, String parentTitle) throws SystemException
nodeId
- the node id to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_P(long nodeId, String parentTitle, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withparentTitle
- the parent title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_P(long nodeId, String parentTitle, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withparentTitle
- the parent title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByN_P_First(long nodeId, String parentTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByN_P_Last(long nodeId, String parentTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByN_P_PrevAndNext(long pageId, long nodeId, String parentTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_R(long nodeId, String redirectTitle) throws SystemException
nodeId
- the node id to search withredirectTitle
- the redirect title to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_R(long nodeId, String redirectTitle, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withredirectTitle
- the redirect title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_R(long nodeId, String redirectTitle, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withredirectTitle
- the redirect title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByN_R_First(long nodeId, String redirectTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withredirectTitle
- the redirect title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByN_R_Last(long nodeId, String redirectTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withredirectTitle
- the redirect title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByN_R_PrevAndNext(long pageId, long nodeId, String redirectTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withredirectTitle
- the redirect title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_S(long nodeId, int status) throws SystemException
nodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_S(long nodeId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_S(long nodeId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByN_S_First(long nodeId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByN_S_Last(long nodeId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByN_S_PrevAndNext(long pageId, long nodeId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByR_N_V(long resourcePrimKey, long nodeId, double version) throws SystemException, NoSuchPageException
NoSuchPageException
if it could not be found.
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withversion
- the version to search with
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage fetchByR_N_V(long resourcePrimKey, long nodeId, double version) throws SystemException
null
if it could not be found. Uses the finder cache.
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withversion
- the version to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage fetchByR_N_V(long resourcePrimKey, long nodeId, double version, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withversion
- the version to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status) throws SystemException
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByR_N_S_First(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByR_N_S_Last(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByR_N_S_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pageresourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByU_N_S(long userId, long nodeId, int status) throws SystemException
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByU_N_S(long userId, long nodeId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByU_N_S(long userId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByU_N_S_First(long userId, long nodeId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByU_N_S_Last(long userId, long nodeId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByU_N_S_PrevAndNext(long pageId, long userId, long nodeId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pageuserId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByN_T_V(long nodeId, String title, double version) throws SystemException, NoSuchPageException
NoSuchPageException
if it could not be found.
nodeId
- the node id to search withtitle
- the title to search withversion
- the version to search with
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage fetchByN_T_V(long nodeId, String title, double version) throws SystemException
null
if it could not be found. Uses the finder cache.
nodeId
- the node id to search withtitle
- the title to search withversion
- the version to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage fetchByN_T_V(long nodeId, String title, double version, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
nodeId
- the node id to search withtitle
- the title to search withversion
- the version to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_T_H(long nodeId, String title, boolean head) throws SystemException
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_T_H(long nodeId, String title, boolean head, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_T_H(long nodeId, String title, boolean head, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByN_T_H_First(long nodeId, String title, boolean head, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByN_T_H_Last(long nodeId, String title, boolean head, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByN_T_H_PrevAndNext(long pageId, long nodeId, String title, boolean head, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withtitle
- the title to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_T_S(long nodeId, String title, int status) throws SystemException
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_T_S(long nodeId, String title, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_T_S(long nodeId, String title, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByN_T_S_First(long nodeId, String title, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByN_T_S_Last(long nodeId, String title, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByN_T_S_PrevAndNext(long pageId, long nodeId, String title, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle) throws SystemException
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByN_H_P_First(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByN_H_P_Last(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByN_H_P_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H_S(long nodeId, boolean head, int status) throws SystemException
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H_S(long nodeId, boolean head, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H_S(long nodeId, boolean head, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByN_H_S_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByN_H_S_Last(long nodeId, boolean head, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByN_H_S_PrevAndNext(long pageId, long nodeId, boolean head, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withhead
- the head to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status) throws SystemException
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static WikiPage findByN_H_P_S_First(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage findByN_H_P_S_Last(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic static WikiPage[] findByN_H_P_S_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchPageException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<WikiPage> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<WikiPage> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
start
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<WikiPage> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
start
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static void removeByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic static void removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchPageException
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurred
NoSuchPageException
public static void removeByNodeId(long nodeId) throws SystemException
nodeId
- the node id to search with
SystemException
- if a system exception occurredpublic static void removeByFormat(String format) throws SystemException
format
- the format to search with
SystemException
- if a system exception occurredpublic static void removeByR_N(long resourcePrimKey, long nodeId) throws SystemException
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search with
SystemException
- if a system exception occurredpublic static void removeByN_T(long nodeId, String title) throws SystemException
nodeId
- the node id to search withtitle
- the title to search with
SystemException
- if a system exception occurredpublic static void removeByN_H(long nodeId, boolean head) throws SystemException
nodeId
- the node id to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic static void removeByN_P(long nodeId, String parentTitle) throws SystemException
nodeId
- the node id to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic static void removeByN_R(long nodeId, String redirectTitle) throws SystemException
nodeId
- the node id to search withredirectTitle
- the redirect title to search with
SystemException
- if a system exception occurredpublic static void removeByN_S(long nodeId, int status) throws SystemException
nodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByR_N_V(long resourcePrimKey, long nodeId, double version) throws SystemException, NoSuchPageException
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withversion
- the version to search with
SystemException
- if a system exception occurred
NoSuchPageException
public static void removeByR_N_S(long resourcePrimKey, long nodeId, int status) throws SystemException
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByU_N_S(long userId, long nodeId, int status) throws SystemException
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByN_T_V(long nodeId, String title, double version) throws SystemException, NoSuchPageException
nodeId
- the node id to search withtitle
- the title to search withversion
- the version to search with
SystemException
- if a system exception occurred
NoSuchPageException
public static void removeByN_T_H(long nodeId, String title, boolean head) throws SystemException
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic static void removeByN_T_S(long nodeId, String title, int status) throws SystemException
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByN_H_P(long nodeId, boolean head, String parentTitle) throws SystemException
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic static void removeByN_H_S(long nodeId, boolean head, int status) throws SystemException
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByN_H_P_S(long nodeId, boolean head, String parentTitle, int status) throws SystemException
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic static int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurredpublic static int countByNodeId(long nodeId) throws SystemException
nodeId
- the node id to search with
SystemException
- if a system exception occurredpublic static int countByFormat(String format) throws SystemException
format
- the format to search with
SystemException
- if a system exception occurredpublic static int countByR_N(long resourcePrimKey, long nodeId) throws SystemException
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search with
SystemException
- if a system exception occurredpublic static int countByN_T(long nodeId, String title) throws SystemException
nodeId
- the node id to search withtitle
- the title to search with
SystemException
- if a system exception occurredpublic static int countByN_H(long nodeId, boolean head) throws SystemException
nodeId
- the node id to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic static int countByN_P(long nodeId, String parentTitle) throws SystemException
nodeId
- the node id to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic static int countByN_R(long nodeId, String redirectTitle) throws SystemException
nodeId
- the node id to search withredirectTitle
- the redirect title to search with
SystemException
- if a system exception occurredpublic static int countByN_S(long nodeId, int status) throws SystemException
nodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByR_N_V(long resourcePrimKey, long nodeId, double version) throws SystemException
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withversion
- the version to search with
SystemException
- if a system exception occurredpublic static int countByR_N_S(long resourcePrimKey, long nodeId, int status) throws SystemException
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByU_N_S(long userId, long nodeId, int status) throws SystemException
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByN_T_V(long nodeId, String title, double version) throws SystemException
nodeId
- the node id to search withtitle
- the title to search withversion
- the version to search with
SystemException
- if a system exception occurredpublic static int countByN_T_H(long nodeId, String title, boolean head) throws SystemException
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic static int countByN_T_S(long nodeId, String title, int status) throws SystemException
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByN_H_P(long nodeId, boolean head, String parentTitle) throws SystemException
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic static int countByN_H_S(long nodeId, boolean head, int status) throws SystemException
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByN_H_P_S(long nodeId, boolean head, String parentTitle, int status) throws SystemException
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static WikiPagePersistence getPersistence()
public void setPersistence(WikiPagePersistence persistence)
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |