Liferay 6.0.5

com.liferay.portlet.wiki.service.persistence
Class WikiPageUtil

java.lang.Object
  extended by com.liferay.portlet.wiki.service.persistence.WikiPageUtil

public class WikiPageUtil
extends Object

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

See Also:
WikiPagePersistence, WikiPagePersistenceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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

WikiPageUtil

public WikiPageUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(WikiPage wikiPage)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<WikiPage> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<WikiPage> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                  int start,
                                                  int end)
                                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<WikiPage> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                  int start,
                                                  int end,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

remove

public static WikiPage remove(WikiPage wikiPage)
                       throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static WikiPage update(WikiPage wikiPage,
                              boolean merge)
                       throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

update

public static WikiPage update(WikiPage wikiPage,
                              boolean merge,
                              ServiceContext serviceContext)
                       throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)

cacheResult

public static void cacheResult(WikiPage wikiPage)
Caches the wiki page in the entity cache if it is enabled.

Parameters:
wikiPage - the wiki page to cache

cacheResult

public static void cacheResult(List<WikiPage> wikiPages)
Caches the wiki pages in the entity cache if it is enabled.

Parameters:
wikiPages - the wiki pages to cache

create

public static WikiPage create(long pageId)
Creates a new wiki page with the primary key. Does not add the wiki page to the database.

Parameters:
pageId - the primary key for the new wiki page
Returns:
the new wiki page

remove

public static WikiPage remove(long pageId)
                       throws SystemException,
                              NoSuchPageException
Removes the wiki page with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
pageId - the primary key of the wiki page to remove
Returns:
the wiki page that was removed
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

public static WikiPage updateImpl(WikiPage wikiPage,
                                  boolean merge)
                           throws SystemException
Throws:
SystemException

findByPrimaryKey

public static WikiPage findByPrimaryKey(long pageId)
                                 throws SystemException,
                                        NoSuchPageException
Finds the wiki page with the primary key or throws a NoSuchPageException if it could not be found.

Parameters:
pageId - the primary key of the wiki page to find
Returns:
the wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public static WikiPage fetchByPrimaryKey(long pageId)
                                  throws SystemException
Finds the wiki page with the primary key or returns null if it could not be found.

Parameters:
pageId - the primary key of the wiki page to find
Returns:
the wiki page, or null if a wiki page with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<WikiPage> findByUuid(String uuid)
                                 throws SystemException
Finds all the wiki pages where uuid = ?.

Parameters:
uuid - the uuid to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<WikiPage> findByUuid(String uuid,
                                        int start,
                                        int end)
                                 throws SystemException
Finds a range of all the wiki pages where uuid = ?.

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.

Parameters:
uuid - the uuid to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<WikiPage> findByUuid(String uuid,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Finds an ordered range of all the wiki pages where uuid = ?.

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.

Parameters:
uuid - the uuid to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByUuid_First

public static WikiPage findByUuid_First(String uuid,
                                        OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchPageException
Finds the first wiki page in the ordered set where uuid = ?.

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.

Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByUuid_Last

public static WikiPage findByUuid_Last(String uuid,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchPageException
Finds the last wiki page in the ordered set where uuid = ?.

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.

Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public static WikiPage[] findByUuid_PrevAndNext(long pageId,
                                                String uuid,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where uuid = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByUUID_G

public static WikiPage findByUUID_G(String uuid,
                                    long groupId)
                             throws SystemException,
                                    NoSuchPageException
Finds the wiki page where uuid = ? and groupId = ? or throws a NoSuchPageException if it could not be found.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public static WikiPage fetchByUUID_G(String uuid,
                                     long groupId)
                              throws SystemException
Finds the wiki page where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public static WikiPage fetchByUUID_G(String uuid,
                                     long groupId,
                                     boolean retrieveFromCache)
                              throws SystemException
Finds the wiki page where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByNodeId

public static List<WikiPage> findByNodeId(long nodeId)
                                   throws SystemException
Finds all the wiki pages where nodeId = ?.

Parameters:
nodeId - the node id to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByNodeId

public static List<WikiPage> findByNodeId(long nodeId,
                                          int start,
                                          int end)
                                   throws SystemException
Finds a range of all the wiki pages where nodeId = ?.

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.

Parameters:
nodeId - the node id to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByNodeId

public static List<WikiPage> findByNodeId(long nodeId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Finds an ordered range of all the wiki pages where nodeId = ?.

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.

Parameters:
nodeId - the node id to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByNodeId_First

public static WikiPage findByNodeId_First(long nodeId,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchPageException
Finds the first wiki page in the ordered set where nodeId = ?.

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.

Parameters:
nodeId - the node id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByNodeId_Last

public static WikiPage findByNodeId_Last(long nodeId,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchPageException
Finds the last wiki page in the ordered set where nodeId = ?.

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.

Parameters:
nodeId - the node id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByNodeId_PrevAndNext

public static WikiPage[] findByNodeId_PrevAndNext(long pageId,
                                                  long nodeId,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByFormat

public static List<WikiPage> findByFormat(String format)
                                   throws SystemException
Finds all the wiki pages where format = ?.

Parameters:
format - the format to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByFormat

public static List<WikiPage> findByFormat(String format,
                                          int start,
                                          int end)
                                   throws SystemException
Finds a range of all the wiki pages where format = ?.

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.

Parameters:
format - the format to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByFormat

public static List<WikiPage> findByFormat(String format,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Finds an ordered range of all the wiki pages where format = ?.

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.

Parameters:
format - the format to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByFormat_First

public static WikiPage findByFormat_First(String format,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchPageException
Finds the first wiki page in the ordered set where format = ?.

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.

Parameters:
format - the format to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByFormat_Last

public static WikiPage findByFormat_Last(String format,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchPageException
Finds the last wiki page in the ordered set where format = ?.

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.

Parameters:
format - the format to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByFormat_PrevAndNext

public static WikiPage[] findByFormat_PrevAndNext(long pageId,
                                                  String format,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where format = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
format - the format to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByR_N

public static List<WikiPage> findByR_N(long resourcePrimKey,
                                       long nodeId)
                                throws SystemException
Finds all the wiki pages where resourcePrimKey = ? and nodeId = ?.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N

public static List<WikiPage> findByR_N(long resourcePrimKey,
                                       long nodeId,
                                       int start,
                                       int end)
                                throws SystemException
Finds a range of all the wiki pages where resourcePrimKey = ? and nodeId = ?.

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.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N

public static List<WikiPage> findByR_N(long resourcePrimKey,
                                       long nodeId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Finds an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?.

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.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N_First

public static WikiPage findByR_N_First(long resourcePrimKey,
                                       long nodeId,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchPageException
Finds the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.

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.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByR_N_Last

public static WikiPage findByR_N_Last(long resourcePrimKey,
                                      long nodeId,
                                      OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchPageException
Finds the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.

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.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByR_N_PrevAndNext

public static WikiPage[] findByR_N_PrevAndNext(long pageId,
                                               long resourcePrimKey,
                                               long nodeId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByN_T

public static List<WikiPage> findByN_T(long nodeId,
                                       String title)
                                throws SystemException
Finds all the wiki pages where nodeId = ? and title = ?.

Parameters:
nodeId - the node id to search with
title - the title to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T

public static List<WikiPage> findByN_T(long nodeId,
                                       String title,
                                       int start,
                                       int end)
                                throws SystemException
Finds a range of all the wiki pages where nodeId = ? and title = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T

public static List<WikiPage> findByN_T(long nodeId,
                                       String title,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Finds an ordered range of all the wiki pages where nodeId = ? and title = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_First

public static WikiPage findByN_T_First(long nodeId,
                                       String title,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchPageException
Finds the first wiki page in the ordered set where nodeId = ? and title = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_T_Last

public static WikiPage findByN_T_Last(long nodeId,
                                      String title,
                                      OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchPageException
Finds the last wiki page in the ordered set where nodeId = ? and title = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_T_PrevAndNext

public static WikiPage[] findByN_T_PrevAndNext(long pageId,
                                               long nodeId,
                                               String title,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node id to search with
title - the title to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByN_H

public static List<WikiPage> findByN_H(long nodeId,
                                       boolean head)
                                throws SystemException
Finds all the wiki pages where nodeId = ? and head = ?.

Parameters:
nodeId - the node id to search with
head - the head to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H

public static List<WikiPage> findByN_H(long nodeId,
                                       boolean head,
                                       int start,
                                       int end)
                                throws SystemException
Finds a range of all the wiki pages where nodeId = ? and head = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H

public static List<WikiPage> findByN_H(long nodeId,
                                       boolean head,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Finds an ordered range of all the wiki pages where nodeId = ? and head = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_First

public static WikiPage findByN_H_First(long nodeId,
                                       boolean head,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchPageException
Finds the first wiki page in the ordered set where nodeId = ? and head = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_H_Last

public static WikiPage findByN_H_Last(long nodeId,
                                      boolean head,
                                      OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchPageException
Finds the last wiki page in the ordered set where nodeId = ? and head = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_H_PrevAndNext

public static WikiPage[] findByN_H_PrevAndNext(long pageId,
                                               long nodeId,
                                               boolean head,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node id to search with
head - the head to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByN_P

public static List<WikiPage> findByN_P(long nodeId,
                                       String parentTitle)
                                throws SystemException
Finds all the wiki pages where nodeId = ? and parentTitle = ?.

Parameters:
nodeId - the node id to search with
parentTitle - the parent title to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_P

public static List<WikiPage> findByN_P(long nodeId,
                                       String parentTitle,
                                       int start,
                                       int end)
                                throws SystemException
Finds a range of all the wiki pages where nodeId = ? and parentTitle = ?.

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.

Parameters:
nodeId - the node id to search with
parentTitle - the parent title to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_P

public static List<WikiPage> findByN_P(long nodeId,
                                       String parentTitle,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Finds an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?.

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.

Parameters:
nodeId - the node id to search with
parentTitle - the parent title to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_P_First

public static WikiPage findByN_P_First(long nodeId,
                                       String parentTitle,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchPageException
Finds the first wiki page in the ordered set where nodeId = ? and parentTitle = ?.

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.

Parameters:
nodeId - the node id to search with
parentTitle - the parent title to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_P_Last

public static WikiPage findByN_P_Last(long nodeId,
                                      String parentTitle,
                                      OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchPageException
Finds the last wiki page in the ordered set where nodeId = ? and parentTitle = ?.

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.

Parameters:
nodeId - the node id to search with
parentTitle - the parent title to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_P_PrevAndNext

public static WikiPage[] findByN_P_PrevAndNext(long pageId,
                                               long nodeId,
                                               String parentTitle,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node id to search with
parentTitle - the parent title to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByN_R

public static List<WikiPage> findByN_R(long nodeId,
                                       String redirectTitle)
                                throws SystemException
Finds all the wiki pages where nodeId = ? and redirectTitle = ?.

Parameters:
nodeId - the node id to search with
redirectTitle - the redirect title to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_R

public static List<WikiPage> findByN_R(long nodeId,
                                       String redirectTitle,
                                       int start,
                                       int end)
                                throws SystemException
Finds a range of all the wiki pages where nodeId = ? and redirectTitle = ?.

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.

Parameters:
nodeId - the node id to search with
redirectTitle - the redirect title to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_R

public static List<WikiPage> findByN_R(long nodeId,
                                       String redirectTitle,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Finds an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?.

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.

Parameters:
nodeId - the node id to search with
redirectTitle - the redirect title to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_R_First

public static WikiPage findByN_R_First(long nodeId,
                                       String redirectTitle,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchPageException
Finds the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?.

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.

Parameters:
nodeId - the node id to search with
redirectTitle - the redirect title to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_R_Last

public static WikiPage findByN_R_Last(long nodeId,
                                      String redirectTitle,
                                      OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchPageException
Finds the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?.

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.

Parameters:
nodeId - the node id to search with
redirectTitle - the redirect title to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_R_PrevAndNext

public static WikiPage[] findByN_R_PrevAndNext(long pageId,
                                               long nodeId,
                                               String redirectTitle,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node id to search with
redirectTitle - the redirect title to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByN_S

public static List<WikiPage> findByN_S(long nodeId,
                                       int status)
                                throws SystemException
Finds all the wiki pages where nodeId = ? and status = ?.

Parameters:
nodeId - the node id to search with
status - the status to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_S

public static List<WikiPage> findByN_S(long nodeId,
                                       int status,
                                       int start,
                                       int end)
                                throws SystemException
Finds a range of all the wiki pages where nodeId = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_S

public static List<WikiPage> findByN_S(long nodeId,
                                       int status,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Finds an ordered range of all the wiki pages where nodeId = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_S_First

public static WikiPage findByN_S_First(long nodeId,
                                       int status,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchPageException
Finds the first wiki page in the ordered set where nodeId = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_S_Last

public static WikiPage findByN_S_Last(long nodeId,
                                      int status,
                                      OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchPageException
Finds the last wiki page in the ordered set where nodeId = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_S_PrevAndNext

public static WikiPage[] findByN_S_PrevAndNext(long pageId,
                                               long nodeId,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByR_N_V

public static WikiPage findByR_N_V(long resourcePrimKey,
                                   long nodeId,
                                   double version)
                            throws SystemException,
                                   NoSuchPageException
Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or throws a NoSuchPageException if it could not be found.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
version - the version to search with
Returns:
the matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByR_N_V

public static WikiPage fetchByR_N_V(long resourcePrimKey,
                                    long nodeId,
                                    double version)
                             throws SystemException
Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
version - the version to search with
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

fetchByR_N_V

public static WikiPage fetchByR_N_V(long resourcePrimKey,
                                    long nodeId,
                                    double version,
                                    boolean retrieveFromCache)
                             throws SystemException
Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
version - the version to search with
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByR_N_S

public static List<WikiPage> findByR_N_S(long resourcePrimKey,
                                         long nodeId,
                                         int status)
                                  throws SystemException
Finds all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
status - the status to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N_S

public static List<WikiPage> findByR_N_S(long resourcePrimKey,
                                         long nodeId,
                                         int status,
                                         int start,
                                         int end)
                                  throws SystemException
Finds a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.

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.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N_S

public static List<WikiPage> findByR_N_S(long resourcePrimKey,
                                         long nodeId,
                                         int status,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Finds an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.

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.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N_S_First

public static WikiPage findByR_N_S_First(long resourcePrimKey,
                                         long nodeId,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchPageException
Finds the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.

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.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByR_N_S_Last

public static WikiPage findByR_N_S_Last(long resourcePrimKey,
                                        long nodeId,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchPageException
Finds the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.

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.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByR_N_S_PrevAndNext

public static WikiPage[] findByR_N_S_PrevAndNext(long pageId,
                                                 long resourcePrimKey,
                                                 long nodeId,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByU_N_S

public static List<WikiPage> findByU_N_S(long userId,
                                         long nodeId,
                                         int status)
                                  throws SystemException
Finds all the wiki pages where userId = ? and nodeId = ? and status = ?.

Parameters:
userId - the user id to search with
nodeId - the node id to search with
status - the status to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByU_N_S

public static List<WikiPage> findByU_N_S(long userId,
                                         long nodeId,
                                         int status,
                                         int start,
                                         int end)
                                  throws SystemException
Finds a range of all the wiki pages where userId = ? and nodeId = ? and status = ?.

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.

Parameters:
userId - the user id to search with
nodeId - the node id to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByU_N_S

public static List<WikiPage> findByU_N_S(long userId,
                                         long nodeId,
                                         int status,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Finds an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?.

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.

Parameters:
userId - the user id to search with
nodeId - the node id to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByU_N_S_First

public static WikiPage findByU_N_S_First(long userId,
                                         long nodeId,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchPageException
Finds the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.

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.

Parameters:
userId - the user id to search with
nodeId - the node id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByU_N_S_Last

public static WikiPage findByU_N_S_Last(long userId,
                                        long nodeId,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchPageException
Finds the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.

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.

Parameters:
userId - the user id to search with
nodeId - the node id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByU_N_S_PrevAndNext

public static WikiPage[] findByU_N_S_PrevAndNext(long pageId,
                                                 long userId,
                                                 long nodeId,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
userId - the user id to search with
nodeId - the node id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByN_T_V

public static WikiPage findByN_T_V(long nodeId,
                                   String title,
                                   double version)
                            throws SystemException,
                                   NoSuchPageException
Finds the wiki page where nodeId = ? and title = ? and version = ? or throws a NoSuchPageException if it could not be found.

Parameters:
nodeId - the node id to search with
title - the title to search with
version - the version to search with
Returns:
the matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_T_V

public static WikiPage fetchByN_T_V(long nodeId,
                                    String title,
                                    double version)
                             throws SystemException
Finds the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
nodeId - the node id to search with
title - the title to search with
version - the version to search with
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

fetchByN_T_V

public static WikiPage fetchByN_T_V(long nodeId,
                                    String title,
                                    double version,
                                    boolean retrieveFromCache)
                             throws SystemException
Finds the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
nodeId - the node id to search with
title - the title to search with
version - the version to search with
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_T_H

public static List<WikiPage> findByN_T_H(long nodeId,
                                         String title,
                                         boolean head)
                                  throws SystemException
Finds all the wiki pages where nodeId = ? and title = ? and head = ?.

Parameters:
nodeId - the node id to search with
title - the title to search with
head - the head to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_H

public static List<WikiPage> findByN_T_H(long nodeId,
                                         String title,
                                         boolean head,
                                         int start,
                                         int end)
                                  throws SystemException
Finds a range of all the wiki pages where nodeId = ? and title = ? and head = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
head - the head to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_H

public static List<WikiPage> findByN_T_H(long nodeId,
                                         String title,
                                         boolean head,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Finds an ordered range of all the wiki pages where nodeId = ? and title = ? and head = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
head - the head to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_H_First

public static WikiPage findByN_T_H_First(long nodeId,
                                         String title,
                                         boolean head,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchPageException
Finds the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
head - the head to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_T_H_Last

public static WikiPage findByN_T_H_Last(long nodeId,
                                        String title,
                                        boolean head,
                                        OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchPageException
Finds the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
head - the head to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_T_H_PrevAndNext

public static WikiPage[] findByN_T_H_PrevAndNext(long pageId,
                                                 long nodeId,
                                                 String title,
                                                 boolean head,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and head = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node id to search with
title - the title to search with
head - the head to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByN_T_S

public static List<WikiPage> findByN_T_S(long nodeId,
                                         String title,
                                         int status)
                                  throws SystemException
Finds all the wiki pages where nodeId = ? and title = ? and status = ?.

Parameters:
nodeId - the node id to search with
title - the title to search with
status - the status to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_S

public static List<WikiPage> findByN_T_S(long nodeId,
                                         String title,
                                         int status,
                                         int start,
                                         int end)
                                  throws SystemException
Finds a range of all the wiki pages where nodeId = ? and title = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_S

public static List<WikiPage> findByN_T_S(long nodeId,
                                         String title,
                                         int status,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Finds an ordered range of all the wiki pages where nodeId = ? and title = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_S_First

public static WikiPage findByN_T_S_First(long nodeId,
                                         String title,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchPageException
Finds the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_T_S_Last

public static WikiPage findByN_T_S_Last(long nodeId,
                                        String title,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchPageException
Finds the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
title - the title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_T_S_PrevAndNext

public static WikiPage[] findByN_T_S_PrevAndNext(long pageId,
                                                 long nodeId,
                                                 String title,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node id to search with
title - the title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByN_H_P

public static List<WikiPage> findByN_H_P(long nodeId,
                                         boolean head,
                                         String parentTitle)
                                  throws SystemException
Finds all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_P

public static List<WikiPage> findByN_H_P(long nodeId,
                                         boolean head,
                                         String parentTitle,
                                         int start,
                                         int end)
                                  throws SystemException
Finds a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_P

public static List<WikiPage> findByN_H_P(long nodeId,
                                         boolean head,
                                         String parentTitle,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_P_First

public static WikiPage findByN_H_P_First(long nodeId,
                                         boolean head,
                                         String parentTitle,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchPageException
Finds the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_H_P_Last

public static WikiPage findByN_H_P_Last(long nodeId,
                                        boolean head,
                                        String parentTitle,
                                        OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchPageException
Finds the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_H_P_PrevAndNext

public static WikiPage[] findByN_H_P_PrevAndNext(long pageId,
                                                 long nodeId,
                                                 boolean head,
                                                 String parentTitle,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByN_H_S

public static List<WikiPage> findByN_H_S(long nodeId,
                                         boolean head,
                                         int status)
                                  throws SystemException
Finds all the wiki pages where nodeId = ? and head = ? and status = ?.

Parameters:
nodeId - the node id to search with
head - the head to search with
status - the status to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_S

public static List<WikiPage> findByN_H_S(long nodeId,
                                         boolean head,
                                         int status,
                                         int start,
                                         int end)
                                  throws SystemException
Finds a range of all the wiki pages where nodeId = ? and head = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_S

public static List<WikiPage> findByN_H_S(long nodeId,
                                         boolean head,
                                         int status,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_S_First

public static WikiPage findByN_H_S_First(long nodeId,
                                         boolean head,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchPageException
Finds the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_H_S_Last

public static WikiPage findByN_H_S_Last(long nodeId,
                                        boolean head,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchPageException
Finds the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_H_S_PrevAndNext

public static WikiPage[] findByN_H_S_PrevAndNext(long pageId,
                                                 long nodeId,
                                                 boolean head,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node id to search with
head - the head to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByN_H_P_S

public static List<WikiPage> findByN_H_P_S(long nodeId,
                                           boolean head,
                                           String parentTitle,
                                           int status)
                                    throws SystemException
Finds all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
status - the status to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_P_S

public static List<WikiPage> findByN_H_P_S(long nodeId,
                                           boolean head,
                                           String parentTitle,
                                           int status,
                                           int start,
                                           int end)
                                    throws SystemException
Finds a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_P_S

public static List<WikiPage> findByN_H_P_S(long nodeId,
                                           boolean head,
                                           String parentTitle,
                                           int status,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
status - the status to search with
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_P_S_First

public static WikiPage findByN_H_P_S_First(long nodeId,
                                           boolean head,
                                           String parentTitle,
                                           int status,
                                           OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchPageException
Finds the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_H_P_S_Last

public static WikiPage findByN_H_P_S_Last(long nodeId,
                                          boolean head,
                                          String parentTitle,
                                          int status,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchPageException
Finds the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.

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.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

findByN_H_P_S_PrevAndNext

public static WikiPage[] findByN_H_P_S_PrevAndNext(long pageId,
                                                   long nodeId,
                                                   boolean head,
                                                   String parentTitle,
                                                   int status,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchPageException
Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.

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.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findAll

public static List<WikiPage> findAll()
                              throws SystemException
Finds all the wiki pages.

Returns:
the wiki pages
Throws:
SystemException - if a system exception occurred

findAll

public static List<WikiPage> findAll(int start,
                                     int end)
                              throws SystemException
Finds a range of all the wiki pages.

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.

Parameters:
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
Returns:
the range of wiki pages
Throws:
SystemException - if a system exception occurred

findAll

public static List<WikiPage> findAll(int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Finds an ordered range of all the wiki pages.

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.

Parameters:
start - the lower bound of the range of wiki pages to return
end - the upper bound of the range of wiki pages to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of wiki pages
Throws:
SystemException - if a system exception occurred

removeByUuid

public static void removeByUuid(String uuid)
                         throws SystemException
Removes all the wiki pages where uuid = ? from the database.

Parameters:
uuid - the uuid to search with
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public static void removeByUUID_G(String uuid,
                                  long groupId)
                           throws SystemException,
                                  NoSuchPageException
Removes the wiki page where uuid = ? and groupId = ? from the database.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred
NoSuchPageException

removeByNodeId

public static void removeByNodeId(long nodeId)
                           throws SystemException
Removes all the wiki pages where nodeId = ? from the database.

Parameters:
nodeId - the node id to search with
Throws:
SystemException - if a system exception occurred

removeByFormat

public static void removeByFormat(String format)
                           throws SystemException
Removes all the wiki pages where format = ? from the database.

Parameters:
format - the format to search with
Throws:
SystemException - if a system exception occurred

removeByR_N

public static void removeByR_N(long resourcePrimKey,
                               long nodeId)
                        throws SystemException
Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? from the database.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
Throws:
SystemException - if a system exception occurred

removeByN_T

public static void removeByN_T(long nodeId,
                               String title)
                        throws SystemException
Removes all the wiki pages where nodeId = ? and title = ? from the database.

Parameters:
nodeId - the node id to search with
title - the title to search with
Throws:
SystemException - if a system exception occurred

removeByN_H

public static void removeByN_H(long nodeId,
                               boolean head)
                        throws SystemException
Removes all the wiki pages where nodeId = ? and head = ? from the database.

Parameters:
nodeId - the node id to search with
head - the head to search with
Throws:
SystemException - if a system exception occurred

removeByN_P

public static void removeByN_P(long nodeId,
                               String parentTitle)
                        throws SystemException
Removes all the wiki pages where nodeId = ? and parentTitle = ? from the database.

Parameters:
nodeId - the node id to search with
parentTitle - the parent title to search with
Throws:
SystemException - if a system exception occurred

removeByN_R

public static void removeByN_R(long nodeId,
                               String redirectTitle)
                        throws SystemException
Removes all the wiki pages where nodeId = ? and redirectTitle = ? from the database.

Parameters:
nodeId - the node id to search with
redirectTitle - the redirect title to search with
Throws:
SystemException - if a system exception occurred

removeByN_S

public static void removeByN_S(long nodeId,
                               int status)
                        throws SystemException
Removes all the wiki pages where nodeId = ? and status = ? from the database.

Parameters:
nodeId - the node id to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeByR_N_V

public static void removeByR_N_V(long resourcePrimKey,
                                 long nodeId,
                                 double version)
                          throws SystemException,
                                 NoSuchPageException
Removes the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? from the database.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
version - the version to search with
Throws:
SystemException - if a system exception occurred
NoSuchPageException

removeByR_N_S

public static void removeByR_N_S(long resourcePrimKey,
                                 long nodeId,
                                 int status)
                          throws SystemException
Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ? from the database.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeByU_N_S

public static void removeByU_N_S(long userId,
                                 long nodeId,
                                 int status)
                          throws SystemException
Removes all the wiki pages where userId = ? and nodeId = ? and status = ? from the database.

Parameters:
userId - the user id to search with
nodeId - the node id to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeByN_T_V

public static void removeByN_T_V(long nodeId,
                                 String title,
                                 double version)
                          throws SystemException,
                                 NoSuchPageException
Removes the wiki page where nodeId = ? and title = ? and version = ? from the database.

Parameters:
nodeId - the node id to search with
title - the title to search with
version - the version to search with
Throws:
SystemException - if a system exception occurred
NoSuchPageException

removeByN_T_H

public static void removeByN_T_H(long nodeId,
                                 String title,
                                 boolean head)
                          throws SystemException
Removes all the wiki pages where nodeId = ? and title = ? and head = ? from the database.

Parameters:
nodeId - the node id to search with
title - the title to search with
head - the head to search with
Throws:
SystemException - if a system exception occurred

removeByN_T_S

public static void removeByN_T_S(long nodeId,
                                 String title,
                                 int status)
                          throws SystemException
Removes all the wiki pages where nodeId = ? and title = ? and status = ? from the database.

Parameters:
nodeId - the node id to search with
title - the title to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeByN_H_P

public static void removeByN_H_P(long nodeId,
                                 boolean head,
                                 String parentTitle)
                          throws SystemException
Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? from the database.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
Throws:
SystemException - if a system exception occurred

removeByN_H_S

public static void removeByN_H_S(long nodeId,
                                 boolean head,
                                 int status)
                          throws SystemException
Removes all the wiki pages where nodeId = ? and head = ? and status = ? from the database.

Parameters:
nodeId - the node id to search with
head - the head to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeByN_H_P_S

public static void removeByN_H_P_S(long nodeId,
                                   boolean head,
                                   String parentTitle,
                                   int status)
                            throws SystemException
Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ? from the database.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeAll

public static void removeAll()
                      throws SystemException
Removes all the wiki pages from the database.

Throws:
SystemException - if a system exception occurred

countByUuid

public static int countByUuid(String uuid)
                       throws SystemException
Counts all the wiki pages where uuid = ?.

Parameters:
uuid - the uuid to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByUUID_G

public static int countByUUID_G(String uuid,
                                long groupId)
                         throws SystemException
Counts all the wiki pages where uuid = ? and groupId = ?.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByNodeId

public static int countByNodeId(long nodeId)
                         throws SystemException
Counts all the wiki pages where nodeId = ?.

Parameters:
nodeId - the node id to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByFormat

public static int countByFormat(String format)
                         throws SystemException
Counts all the wiki pages where format = ?.

Parameters:
format - the format to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByR_N

public static int countByR_N(long resourcePrimKey,
                             long nodeId)
                      throws SystemException
Counts all the wiki pages where resourcePrimKey = ? and nodeId = ?.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByN_T

public static int countByN_T(long nodeId,
                             String title)
                      throws SystemException
Counts all the wiki pages where nodeId = ? and title = ?.

Parameters:
nodeId - the node id to search with
title - the title to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByN_H

public static int countByN_H(long nodeId,
                             boolean head)
                      throws SystemException
Counts all the wiki pages where nodeId = ? and head = ?.

Parameters:
nodeId - the node id to search with
head - the head to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByN_P

public static int countByN_P(long nodeId,
                             String parentTitle)
                      throws SystemException
Counts all the wiki pages where nodeId = ? and parentTitle = ?.

Parameters:
nodeId - the node id to search with
parentTitle - the parent title to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByN_R

public static int countByN_R(long nodeId,
                             String redirectTitle)
                      throws SystemException
Counts all the wiki pages where nodeId = ? and redirectTitle = ?.

Parameters:
nodeId - the node id to search with
redirectTitle - the redirect title to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByN_S

public static int countByN_S(long nodeId,
                             int status)
                      throws SystemException
Counts all the wiki pages where nodeId = ? and status = ?.

Parameters:
nodeId - the node id to search with
status - the status to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByR_N_V

public static int countByR_N_V(long resourcePrimKey,
                               long nodeId,
                               double version)
                        throws SystemException
Counts all the wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
version - the version to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByR_N_S

public static int countByR_N_S(long resourcePrimKey,
                               long nodeId,
                               int status)
                        throws SystemException
Counts all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
status - the status to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByU_N_S

public static int countByU_N_S(long userId,
                               long nodeId,
                               int status)
                        throws SystemException
Counts all the wiki pages where userId = ? and nodeId = ? and status = ?.

Parameters:
userId - the user id to search with
nodeId - the node id to search with
status - the status to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByN_T_V

public static int countByN_T_V(long nodeId,
                               String title,
                               double version)
                        throws SystemException
Counts all the wiki pages where nodeId = ? and title = ? and version = ?.

Parameters:
nodeId - the node id to search with
title - the title to search with
version - the version to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByN_T_H

public static int countByN_T_H(long nodeId,
                               String title,
                               boolean head)
                        throws SystemException
Counts all the wiki pages where nodeId = ? and title = ? and head = ?.

Parameters:
nodeId - the node id to search with
title - the title to search with
head - the head to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByN_T_S

public static int countByN_T_S(long nodeId,
                               String title,
                               int status)
                        throws SystemException
Counts all the wiki pages where nodeId = ? and title = ? and status = ?.

Parameters:
nodeId - the node id to search with
title - the title to search with
status - the status to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByN_H_P

public static int countByN_H_P(long nodeId,
                               boolean head,
                               String parentTitle)
                        throws SystemException
Counts all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByN_H_S

public static int countByN_H_S(long nodeId,
                               boolean head,
                               int status)
                        throws SystemException
Counts all the wiki pages where nodeId = ? and head = ? and status = ?.

Parameters:
nodeId - the node id to search with
head - the head to search with
status - the status to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countByN_H_P_S

public static int countByN_H_P_S(long nodeId,
                                 boolean head,
                                 String parentTitle,
                                 int status)
                          throws SystemException
Counts all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.

Parameters:
nodeId - the node id to search with
head - the head to search with
parentTitle - the parent title to search with
status - the status to search with
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

countAll

public static int countAll()
                    throws SystemException
Counts all the wiki pages.

Returns:
the number of wiki pages
Throws:
SystemException - if a system exception occurred

getPersistence

public static WikiPagePersistence getPersistence()

setPersistence

public void setPersistence(WikiPagePersistence persistence)

Liferay 6.0.5