Liferay 6.2-ce-ga5

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

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

@ProviderType
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.

Caching information and settings can be found in portal.properties

See Also:
WikiPagePersistence, WikiPagePersistenceImpl

Constructor Summary
WikiPageUtil()
           
 
Method Summary
static void cacheResult(List<WikiPage> wikiPages)
          Caches the wiki pages in the entity cache if it is enabled.
static void cacheResult(WikiPage wikiPage)
          Caches the wiki page in the entity cache if it is enabled.
static void clearCache()
           
static void clearCache(WikiPage wikiPage)
           
static int countAll()
          Returns the number of wiki pages.
static int countByFormat(String format)
          Returns the number of wiki pages where format = ?.
static int countByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status)
          Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static int countByG_N_H_S(long groupId, long nodeId, boolean head, int status)
          Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?.
static int countByG_N_H(long groupId, long nodeId, boolean head)
          Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ?.
static int countByG_N_S(long groupId, long nodeId, int status)
          Returns the number of wiki pages where groupId = ? and nodeId = ? and status = ?.
static int countByG_N_T_H(long groupId, long nodeId, String title, boolean head)
          Returns the number of wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?.
static int countByG_U_N_S(long groupId, long userId, long nodeId, int status)
          Returns the number of wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?.
static int countByN_H_NotS(long nodeId, boolean head, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and status ≠ ?.
static int countByN_H_P_NotS(long nodeId, boolean head, String parentTitle, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
static int countByN_H_P_S(long nodeId, boolean head, String parentTitle, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
static int countByN_H_P(long nodeId, boolean head, String parentTitle)
          Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ?.
static int countByN_H_R_NotS(long nodeId, boolean head, String redirectTitle, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
static int countByN_H_R_S(long nodeId, boolean head, String redirectTitle, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
static int countByN_H_R(long nodeId, boolean head, String redirectTitle)
          Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ?.
static int countByN_H_S(long nodeId, boolean head, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and status = ?.
static int countByN_H(long nodeId, boolean head)
          Returns the number of wiki pages where nodeId = ? and head = ?.
static int countByN_P(long nodeId, String parentTitle)
          Returns the number of wiki pages where nodeId = ? and parentTitle = ?.
static int countByN_R(long nodeId, String redirectTitle)
          Returns the number of wiki pages where nodeId = ? and redirectTitle = ?.
static int countByN_S(long nodeId, int status)
          Returns the number of wiki pages where nodeId = ? and status = ?.
static int countByN_T_H(long nodeId, String title, boolean head)
          Returns the number of wiki pages where nodeId = ? and title = ? and head = ?.
static int countByN_T_S(long nodeId, String title, int status)
          Returns the number of wiki pages where nodeId = ? and title = ? and status = ?.
static int countByN_T_V(long nodeId, String title, double version)
          Returns the number of wiki pages where nodeId = ? and title = ? and version = ?.
static int countByN_T(long nodeId, String title)
          Returns the number of wiki pages where nodeId = ? and title = ?.
static int countByNodeId(long nodeId)
          Returns the number of wiki pages where nodeId = ?.
static int countByR_N_H(long resourcePrimKey, long nodeId, boolean head)
          Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?.
static int countByR_N_S(long resourcePrimKey, long nodeId, int status)
          Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.
static int countByR_N_V(long resourcePrimKey, long nodeId, double version)
          Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?.
static int countByR_N(long resourcePrimKey, long nodeId)
          Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ?.
static int countByR_S(long resourcePrimKey, int status)
          Returns the number of wiki pages where resourcePrimKey = ? and status = ?.
static int countByResourcePrimKey(long resourcePrimKey)
          Returns the number of wiki pages where resourcePrimKey = ?.
static int countByU_N_S(long userId, long nodeId, int status)
          Returns the number of wiki pages where userId = ? and nodeId = ? and status = ?.
static int countByUuid_C(String uuid, long companyId)
          Returns the number of wiki pages where uuid = ? and companyId = ?.
static int countByUUID_G(String uuid, long groupId)
          Returns the number of wiki pages where uuid = ? and groupId = ?.
static int countByUuid(String uuid)
          Returns the number of wiki pages where uuid = ?.
static long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static WikiPage create(long pageId)
          Creates a new wiki page with the primary key.
static WikiPage fetchByFormat_First(String format, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where format = ?.
static WikiPage fetchByFormat_Last(String format, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where format = ?.
static WikiPage fetchByG_N_H_First(long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?.
static WikiPage fetchByG_N_H_Last(long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?.
static WikiPage fetchByG_N_H_P_S_First(long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static WikiPage fetchByG_N_H_P_S_Last(long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static WikiPage fetchByG_N_H_S_First(long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?.
static WikiPage fetchByG_N_H_S_Last(long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?.
static WikiPage fetchByG_N_S_First(long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?.
static WikiPage fetchByG_N_S_Last(long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?.
static WikiPage fetchByG_N_T_H_First(long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?.
static WikiPage fetchByG_N_T_H_Last(long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?.
static WikiPage fetchByG_U_N_S_First(long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?.
static WikiPage fetchByG_U_N_S_Last(long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?.
static WikiPage fetchByN_H_First(long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ?.
static WikiPage fetchByN_H_Last(long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ?.
static WikiPage fetchByN_H_NotS_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?.
static WikiPage fetchByN_H_NotS_Last(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?.
static WikiPage fetchByN_H_P_First(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
static WikiPage fetchByN_H_P_Last(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
static WikiPage fetchByN_H_P_NotS_First(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
static WikiPage fetchByN_H_P_NotS_Last(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
static WikiPage fetchByN_H_P_S_First(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
static WikiPage fetchByN_H_P_S_Last(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
static WikiPage fetchByN_H_R_First(long nodeId, boolean head, String redirectTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.
static WikiPage fetchByN_H_R_Last(long nodeId, boolean head, String redirectTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.
static WikiPage fetchByN_H_R_NotS_First(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
static WikiPage fetchByN_H_R_NotS_Last(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
static WikiPage fetchByN_H_R_S_First(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
static WikiPage fetchByN_H_R_S_Last(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
static WikiPage fetchByN_H_S_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
static WikiPage fetchByN_H_S_Last(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
static WikiPage fetchByN_P_First(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?.
static WikiPage fetchByN_P_Last(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?.
static WikiPage fetchByN_R_First(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
static WikiPage fetchByN_R_Last(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
static WikiPage fetchByN_S_First(long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and status = ?.
static WikiPage fetchByN_S_Last(long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and status = ?.
static WikiPage fetchByN_T_First(long nodeId, String title, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and title = ?.
static WikiPage fetchByN_T_H_First(long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?.
static WikiPage fetchByN_T_H_Last(long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?.
static WikiPage fetchByN_T_Last(long nodeId, String title, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and title = ?.
static WikiPage fetchByN_T_S_First(long nodeId, String title, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
static WikiPage fetchByN_T_S_Last(long nodeId, String title, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
static WikiPage fetchByN_T_V(long nodeId, String title, double version)
          Returns 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)
          Returns 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 fetchByNodeId_First(long nodeId, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ?.
static WikiPage fetchByNodeId_Last(long nodeId, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ?.
static WikiPage fetchByPrimaryKey(long pageId)
          Returns the wiki page with the primary key or returns null if it could not be found.
static WikiPage fetchByR_N_First(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
static WikiPage fetchByR_N_H_First(long resourcePrimKey, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?.
static WikiPage fetchByR_N_H_Last(long resourcePrimKey, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?.
static WikiPage fetchByR_N_Last(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
static WikiPage fetchByR_N_S_First(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
static WikiPage fetchByR_N_S_Last(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
static WikiPage fetchByR_N_V(long resourcePrimKey, long nodeId, double version)
          Returns 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)
          Returns 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 fetchByR_S_First(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and status = ?.
static WikiPage fetchByR_S_Last(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and status = ?.
static WikiPage fetchByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ?.
static WikiPage fetchByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ?.
static WikiPage fetchByU_N_S_First(long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
static WikiPage fetchByU_N_S_Last(long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
static WikiPage fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where uuid = ? and companyId = ?.
static WikiPage fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where uuid = ? and companyId = ?.
static WikiPage fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where uuid = ?.
static WikiPage fetchByUUID_G(String uuid, long groupId)
          Returns 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)
          Returns the wiki page where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
static WikiPage fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where uuid = ?.
static int filterCountByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static int filterCountByG_N_H_S(long groupId, long nodeId, boolean head, int status)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?.
static int filterCountByG_N_H(long groupId, long nodeId, boolean head)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?.
static int filterCountByG_N_S(long groupId, long nodeId, int status)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?.
static int filterCountByG_N_T_H(long groupId, long nodeId, String title, boolean head)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?.
static int filterCountByG_U_N_S(long groupId, long userId, long nodeId, int status)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?.
static WikiPage[] filterFindByG_N_H_P_S_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static List<WikiPage> filterFindByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status)
          Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static List<WikiPage> filterFindByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static List<WikiPage> filterFindByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static WikiPage[] filterFindByG_N_H_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?.
static WikiPage[] filterFindByG_N_H_S_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?.
static List<WikiPage> filterFindByG_N_H_S(long groupId, long nodeId, boolean head, int status)
          Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?.
static List<WikiPage> filterFindByG_N_H_S(long groupId, long nodeId, boolean head, int status, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?.
static List<WikiPage> filterFindByG_N_H_S(long groupId, long nodeId, boolean head, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ? and status = ?.
static List<WikiPage> filterFindByG_N_H(long groupId, long nodeId, boolean head)
          Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?.
static List<WikiPage> filterFindByG_N_H(long groupId, long nodeId, boolean head, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?.
static List<WikiPage> filterFindByG_N_H(long groupId, long nodeId, boolean head, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ?.
static WikiPage[] filterFindByG_N_S_PrevAndNext(long pageId, long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?.
static List<WikiPage> filterFindByG_N_S(long groupId, long nodeId, int status)
          Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?.
static List<WikiPage> filterFindByG_N_S(long groupId, long nodeId, int status, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?.
static List<WikiPage> filterFindByG_N_S(long groupId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and status = ?.
static WikiPage[] filterFindByG_N_T_H_PrevAndNext(long pageId, long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?.
static List<WikiPage> filterFindByG_N_T_H(long groupId, long nodeId, String title, boolean head)
          Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?.
static List<WikiPage> filterFindByG_N_T_H(long groupId, long nodeId, String title, boolean head, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?.
static List<WikiPage> filterFindByG_N_T_H(long groupId, long nodeId, String title, boolean head, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and title = ? and head = ?.
static WikiPage[] filterFindByG_U_N_S_PrevAndNext(long pageId, long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?.
static List<WikiPage> filterFindByG_U_N_S(long groupId, long userId, long nodeId, int status)
          Returns all the wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?.
static List<WikiPage> filterFindByG_U_N_S(long groupId, long userId, long nodeId, int status, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?.
static List<WikiPage> filterFindByG_U_N_S(long groupId, long userId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and userId = ? and nodeId = ? and status = ?.
static List<WikiPage> findAll()
          Returns all the wiki pages.
static List<WikiPage> findAll(int start, int end)
          Returns a range of all the wiki pages.
static List<WikiPage> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages.
static WikiPage findByFormat_First(String format, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where format = ?.
static WikiPage findByFormat_Last(String format, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where format = ?.
static WikiPage[] findByFormat_PrevAndNext(long pageId, String format, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where format = ?.
static List<WikiPage> findByFormat(String format)
          Returns all the wiki pages where format = ?.
static List<WikiPage> findByFormat(String format, int start, int end)
          Returns a range of all the wiki pages where format = ?.
static List<WikiPage> findByFormat(String format, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where format = ?.
static WikiPage findByG_N_H_First(long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?.
static WikiPage findByG_N_H_Last(long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?.
static WikiPage findByG_N_H_P_S_First(long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static WikiPage findByG_N_H_P_S_Last(long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static WikiPage[] findByG_N_H_P_S_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static List<WikiPage> findByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status)
          Returns all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static List<WikiPage> findByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static List<WikiPage> findByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
static WikiPage[] findByG_N_H_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?.
static WikiPage findByG_N_H_S_First(long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?.
static WikiPage findByG_N_H_S_Last(long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?.
static WikiPage[] findByG_N_H_S_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?.
static List<WikiPage> findByG_N_H_S(long groupId, long nodeId, boolean head, int status)
          Returns all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?.
static List<WikiPage> findByG_N_H_S(long groupId, long nodeId, boolean head, int status, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?.
static List<WikiPage> findByG_N_H_S(long groupId, long nodeId, boolean head, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?.
static List<WikiPage> findByG_N_H(long groupId, long nodeId, boolean head)
          Returns all the wiki pages where groupId = ? and nodeId = ? and head = ?.
static List<WikiPage> findByG_N_H(long groupId, long nodeId, boolean head, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ?.
static List<WikiPage> findByG_N_H(long groupId, long nodeId, boolean head, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ?.
static WikiPage findByG_N_S_First(long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?.
static WikiPage findByG_N_S_Last(long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?.
static WikiPage[] findByG_N_S_PrevAndNext(long pageId, long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?.
static List<WikiPage> findByG_N_S(long groupId, long nodeId, int status)
          Returns all the wiki pages where groupId = ? and nodeId = ? and status = ?.
static List<WikiPage> findByG_N_S(long groupId, long nodeId, int status, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and nodeId = ? and status = ?.
static List<WikiPage> findByG_N_S(long groupId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and status = ?.
static WikiPage findByG_N_T_H_First(long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?.
static WikiPage findByG_N_T_H_Last(long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?.
static WikiPage[] findByG_N_T_H_PrevAndNext(long pageId, long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?.
static List<WikiPage> findByG_N_T_H(long groupId, long nodeId, String title, boolean head)
          Returns all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?.
static List<WikiPage> findByG_N_T_H(long groupId, long nodeId, String title, boolean head, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?.
static List<WikiPage> findByG_N_T_H(long groupId, long nodeId, String title, boolean head, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?.
static WikiPage findByG_U_N_S_First(long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?.
static WikiPage findByG_U_N_S_Last(long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?.
static WikiPage[] findByG_U_N_S_PrevAndNext(long pageId, long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?.
static List<WikiPage> findByG_U_N_S(long groupId, long userId, long nodeId, int status)
          Returns all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?.
static List<WikiPage> findByG_U_N_S(long groupId, long userId, long nodeId, int status, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?.
static List<WikiPage> findByG_U_N_S(long groupId, long userId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?.
static WikiPage findByN_H_First(long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ?.
static WikiPage findByN_H_Last(long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ?.
static WikiPage findByN_H_NotS_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?.
static WikiPage findByN_H_NotS_Last(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?.
static WikiPage[] findByN_H_NotS_PrevAndNext(long pageId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns 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_NotS(long nodeId, boolean head, int status)
          Returns all the wiki pages where nodeId = ? and head = ? and status ≠ ?.
static List<WikiPage> findByN_H_NotS(long nodeId, boolean head, int status, int start, int end)
          Returns a range of all the wiki pages where nodeId = ? and head = ? and status ≠ ?.
static List<WikiPage> findByN_H_NotS(long nodeId, boolean head, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status ≠ ?.
static WikiPage findByN_H_P_First(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Returns 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)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
static WikiPage findByN_H_P_NotS_First(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
static WikiPage findByN_H_P_NotS_Last(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
static WikiPage[] findByN_H_P_NotS_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns 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_NotS(long nodeId, boolean head, String parentTitle, int status)
          Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
static List<WikiPage> findByN_H_P_NotS(long nodeId, boolean head, String parentTitle, int status, int start, int end)
          Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
static List<WikiPage> findByN_H_P_NotS(long nodeId, boolean head, String parentTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
static WikiPage[] findByN_H_P_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?.
static WikiPage findByN_H_R_First(long nodeId, boolean head, String redirectTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.
static WikiPage findByN_H_R_Last(long nodeId, boolean head, String redirectTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.
static WikiPage findByN_H_R_NotS_First(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
static WikiPage findByN_H_R_NotS_Last(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
static WikiPage[] findByN_H_R_NotS_PrevAndNext(long pageId, long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
static List<WikiPage> findByN_H_R_NotS(long nodeId, boolean head, String redirectTitle, int status)
          Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
static List<WikiPage> findByN_H_R_NotS(long nodeId, boolean head, String redirectTitle, int status, int start, int end)
          Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
static List<WikiPage> findByN_H_R_NotS(long nodeId, boolean head, String redirectTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
static WikiPage[] findByN_H_R_PrevAndNext(long pageId, long nodeId, boolean head, String redirectTitle, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.
static WikiPage findByN_H_R_S_First(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
static WikiPage findByN_H_R_S_Last(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
static WikiPage[] findByN_H_R_S_PrevAndNext(long pageId, long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
static List<WikiPage> findByN_H_R_S(long nodeId, boolean head, String redirectTitle, int status)
          Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
static List<WikiPage> findByN_H_R_S(long nodeId, boolean head, String redirectTitle, int status, int start, int end)
          Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
static List<WikiPage> findByN_H_R_S(long nodeId, boolean head, String redirectTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
static List<WikiPage> findByN_H_R(long nodeId, boolean head, String redirectTitle)
          Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ?.
static List<WikiPage> findByN_H_R(long nodeId, boolean head, String redirectTitle, int start, int end)
          Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ?.
static List<WikiPage> findByN_H_R(long nodeId, boolean head, String redirectTitle, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ?.
static WikiPage findByN_H_S_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?.
static List<WikiPage> findByN_H(long nodeId, boolean head)
          Returns all the wiki pages where nodeId = ? and head = ?.
static List<WikiPage> findByN_H(long nodeId, boolean head, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ?.
static WikiPage findByN_P_First(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?.
static WikiPage findByN_P_Last(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Returns 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)
          Returns 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)
          Returns all the wiki pages where nodeId = ? and parentTitle = ?.
static List<WikiPage> findByN_P(long nodeId, String parentTitle, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?.
static WikiPage findByN_R_First(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
static WikiPage findByN_R_Last(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Returns 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)
          Returns 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)
          Returns all the wiki pages where nodeId = ? and redirectTitle = ?.
static List<WikiPage> findByN_R(long nodeId, String redirectTitle, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?.
static WikiPage findByN_S_First(long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and status = ?.
static WikiPage findByN_S_Last(long nodeId, int status, OrderByComparator orderByComparator)
          Returns 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)
          Returns 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)
          Returns all the wiki pages where nodeId = ? and status = ?.
static List<WikiPage> findByN_S(long nodeId, int status, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and status = ?.
static WikiPage findByN_T_First(long nodeId, String title, OrderByComparator orderByComparator)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns all the wiki pages where nodeId = ? and title = ?.
static List<WikiPage> findByN_T(long nodeId, String title, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and title = ?.
static WikiPage findByNodeId_First(long nodeId, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ?.
static WikiPage findByNodeId_Last(long nodeId, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ?.
static WikiPage[] findByNodeId_PrevAndNext(long pageId, long nodeId, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ?.
static List<WikiPage> findByNodeId(long nodeId)
          Returns all the wiki pages where nodeId = ?.
static List<WikiPage> findByNodeId(long nodeId, int start, int end)
          Returns a range of all the wiki pages where nodeId = ?.
static List<WikiPage> findByNodeId(long nodeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ?.
static WikiPage findByPrimaryKey(long pageId)
          Returns 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)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
static WikiPage findByR_N_H_First(long resourcePrimKey, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?.
static WikiPage findByR_N_H_Last(long resourcePrimKey, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?.
static WikiPage[] findByR_N_H_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?.
static List<WikiPage> findByR_N_H(long resourcePrimKey, long nodeId, boolean head)
          Returns all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?.
static List<WikiPage> findByR_N_H(long resourcePrimKey, long nodeId, boolean head, int start, int end)
          Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?.
static List<WikiPage> findByR_N_H(long resourcePrimKey, long nodeId, boolean head, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?.
static WikiPage findByR_N_Last(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns all the wiki pages where resourcePrimKey = ? and nodeId = ?.
static List<WikiPage> findByR_N(long resourcePrimKey, long nodeId, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?.
static WikiPage findByR_S_First(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and status = ?.
static WikiPage findByR_S_Last(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and status = ?.
static WikiPage[] findByR_S_PrevAndNext(long pageId, long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and status = ?.
static List<WikiPage> findByR_S(long resourcePrimKey, int status)
          Returns all the wiki pages where resourcePrimKey = ? and status = ?.
static List<WikiPage> findByR_S(long resourcePrimKey, int status, int start, int end)
          Returns a range of all the wiki pages where resourcePrimKey = ? and status = ?.
static List<WikiPage> findByR_S(long resourcePrimKey, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where resourcePrimKey = ? and status = ?.
static WikiPage findByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ?.
static WikiPage findByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ?.
static WikiPage[] findByResourcePrimKey_PrevAndNext(long pageId, long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ?.
static List<WikiPage> findByResourcePrimKey(long resourcePrimKey)
          Returns all the wiki pages where resourcePrimKey = ?.
static List<WikiPage> findByResourcePrimKey(long resourcePrimKey, int start, int end)
          Returns a range of all the wiki pages where resourcePrimKey = ?.
static List<WikiPage> findByResourcePrimKey(long resourcePrimKey, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where resourcePrimKey = ?.
static WikiPage findByU_N_S_First(long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?.
static WikiPage findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where uuid = ? and companyId = ?.
static WikiPage findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where uuid = ? and companyId = ?.
static WikiPage[] findByUuid_C_PrevAndNext(long pageId, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ? and companyId = ?.
static List<WikiPage> findByUuid_C(String uuid, long companyId)
          Returns all the wiki pages where uuid = ? and companyId = ?.
static List<WikiPage> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the wiki pages where uuid = ? and companyId = ?.
static List<WikiPage> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where uuid = ? and companyId = ?.
static WikiPage findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where uuid = ?.
static WikiPage findByUUID_G(String uuid, long groupId)
          Returns 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)
          Returns the last wiki page in the ordered set where uuid = ?.
static WikiPage[] findByUuid_PrevAndNext(long pageId, String uuid, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ?.
static List<WikiPage> findByUuid(String uuid)
          Returns all the wiki pages where uuid = ?.
static List<WikiPage> findByUuid(String uuid, int start, int end)
          Returns a range of all the wiki pages where uuid = ?.
static List<WikiPage> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns 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 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 removeByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status)
          Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ? from the database.
static void removeByG_N_H_S(long groupId, long nodeId, boolean head, int status)
          Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ? from the database.
static void removeByG_N_H(long groupId, long nodeId, boolean head)
          Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? from the database.
static void removeByG_N_S(long groupId, long nodeId, int status)
          Removes all the wiki pages where groupId = ? and nodeId = ? and status = ? from the database.
static void removeByG_N_T_H(long groupId, long nodeId, String title, boolean head)
          Removes all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ? from the database.
static void removeByG_U_N_S(long groupId, long userId, long nodeId, int status)
          Removes all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ? from the database.
static void removeByN_H_NotS(long nodeId, boolean head, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and status ≠ ? from the database.
static void removeByN_H_P_NotS(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_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_R_NotS(long nodeId, boolean head, String redirectTitle, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ? from the database.
static void removeByN_H_R_S(long nodeId, boolean head, String redirectTitle, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ? from the database.
static void removeByN_H_R(long nodeId, boolean head, String redirectTitle)
          Removes all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? 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 WikiPage 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_H(long resourcePrimKey, long nodeId, boolean head)
          Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ? 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 WikiPage 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 removeByR_S(long resourcePrimKey, int status)
          Removes all the wiki pages where resourcePrimKey = ? and status = ? from the database.
static void removeByResourcePrimKey(long resourcePrimKey)
          Removes all the wiki pages where resourcePrimKey = ? 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_C(String uuid, long companyId)
          Removes all the wiki pages where uuid = ? and companyId = ? from the database.
static WikiPage 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)
          Deprecated. As of 6.2.0
static WikiPage update(WikiPage wikiPage)
           
static WikiPage update(WikiPage wikiPage, ServiceContext serviceContext)
           
static WikiPage updateImpl(WikiPage wikiPage)
           
 
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 static 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)

update

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

update

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

findByUuid

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

Parameters:
uuid - the uuid
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where uuid = ?.

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

fetchByUuid_First

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

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

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

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

fetchByUuid_Last

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

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
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

removeByUuid

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

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

countByUuid

public static int countByUuid(String uuid)
                       throws SystemException
Returns the number of wiki pages where uuid = ?.

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

findByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
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
Returns the wiki page where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
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
Returns 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
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

removeByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the wiki page that was removed
Throws:
SystemException - if a system exception occurred
NoSuchPageException

countByUUID_G

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

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

findByUuid_C

public static List<WikiPage> findByUuid_C(String uuid,
                                          long companyId)
                                   throws SystemException
Returns all the wiki pages where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByUuid_C

public static List<WikiPage> findByUuid_C(String uuid,
                                          long companyId,
                                          int start,
                                          int end)
                                   throws SystemException
Returns a range of all the wiki pages where uuid = ? and companyId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByUuid_C

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

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUuid_C_First

public static WikiPage findByUuid_C_First(String uuid,
                                          long companyId,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchPageException
Returns the first wiki page in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByUuid_C_First

public static WikiPage fetchByUuid_C_First(String uuid,
                                           long companyId,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns the first wiki page in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_Last

public static WikiPage findByUuid_C_Last(String uuid,
                                         long companyId,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchPageException
Returns the last wiki page in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByUuid_C_Last

public static WikiPage fetchByUuid_C_Last(String uuid,
                                          long companyId,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns the last wiki page in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
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

removeByUuid_C

public static void removeByUuid_C(String uuid,
                                  long companyId)
                           throws SystemException
Removes all the wiki pages where uuid = ? and companyId = ? from the database.

Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

public static int countByUuid_C(String uuid,
                                long companyId)
                         throws SystemException
Returns the number of wiki pages where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

public static List<WikiPage> findByResourcePrimKey(long resourcePrimKey)
                                            throws SystemException
Returns all the wiki pages where resourcePrimKey = ?.

Parameters:
resourcePrimKey - the resource prim key
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

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

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByResourcePrimKey

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

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByResourcePrimKey_First

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

Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByResourcePrimKey_First

public static WikiPage fetchByResourcePrimKey_First(long resourcePrimKey,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Returns the first wiki page in the ordered set where resourcePrimKey = ?.

Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey_Last

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

Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByResourcePrimKey_Last

public static WikiPage fetchByResourcePrimKey_Last(long resourcePrimKey,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns the last wiki page in the ordered set where resourcePrimKey = ?.

Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
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

removeByResourcePrimKey

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

Parameters:
resourcePrimKey - the resource prim key
Throws:
SystemException - if a system exception occurred

countByResourcePrimKey

public static int countByResourcePrimKey(long resourcePrimKey)
                                  throws SystemException
Returns the number of wiki pages where resourcePrimKey = ?.

Parameters:
resourcePrimKey - the resource prim key
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByNodeId

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

Parameters:
nodeId - the node ID
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where nodeId = ?.

Parameters:
nodeId - the node ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByNodeId_First

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

Parameters:
nodeId - the node ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByNodeId_Last

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

Parameters:
nodeId - the node ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByNodeId_Last

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

Parameters:
nodeId - the node ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByNodeId_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
orderByComparator - the comparator to order the set by (optionally null)
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

removeByNodeId

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

Parameters:
nodeId - the node ID
Throws:
SystemException - if a system exception occurred

countByNodeId

public static int countByNodeId(long nodeId)
                         throws SystemException
Returns the number of wiki pages where nodeId = ?.

Parameters:
nodeId - the node ID
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByFormat

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

Parameters:
format - the format
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
format - the format
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
format - the format
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where format = ?.

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

fetchByFormat_First

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

Parameters:
format - the format
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByFormat_Last

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

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

fetchByFormat_Last

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

Parameters:
format - the format
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByFormat_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
format - the format
orderByComparator - the comparator to order the set by (optionally null)
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

removeByFormat

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

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

countByFormat

public static int countByFormat(String format)
                         throws SystemException
Returns the number of wiki pages where format = ?.

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

findByR_N

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

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.

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

fetchByR_N_First

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

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByR_N_Last

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

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

fetchByR_N_Last

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

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.

Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key
nodeId - the node ID
orderByComparator - the comparator to order the set by (optionally null)
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

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
nodeId - the node ID
Throws:
SystemException - if a system exception occurred

countByR_N

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

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

findByR_S

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

Parameters:
resourcePrimKey - the resource prim key
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_S

public static List<WikiPage> findByR_S(long resourcePrimKey,
                                       int status,
                                       int start,
                                       int end)
                                throws SystemException
Returns a range of all the wiki pages where resourcePrimKey = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_S

public static List<WikiPage> findByR_S(long resourcePrimKey,
                                       int status,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Returns an ordered range of all the wiki pages where resourcePrimKey = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_S_First

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

Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByR_S_First

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

Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByR_S_Last

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

Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByR_S_Last

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

Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByR_S_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

removeByR_S

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

Parameters:
resourcePrimKey - the resource prim key
status - the status
Throws:
SystemException - if a system exception occurred

countByR_S

public static int countByR_S(long resourcePrimKey,
                             int status)
                      throws SystemException
Returns the number of wiki pages where resourcePrimKey = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T

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

Parameters:
nodeId - the node ID
title - the title
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
title - the title
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
title - the title
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where nodeId = ? and title = ?.

Parameters:
nodeId - the node ID
title - the title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_T_First

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

Parameters:
nodeId - the node ID
title - the title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_T_Last

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

Parameters:
nodeId - the node ID
title - the title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_T_Last

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

Parameters:
nodeId - the node ID
title - the title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
title - the title
orderByComparator - the comparator to order the set by (optionally null)
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

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
title - the title
Throws:
SystemException - if a system exception occurred

countByN_T

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

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

findByN_H

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

Parameters:
nodeId - the node ID
head - the head
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
head - the head
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
head - the head
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where nodeId = ? and head = ?.

Parameters:
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_First

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

Parameters:
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_H_Last

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

Parameters:
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_Last

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

Parameters:
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
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

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
head - the head
Throws:
SystemException - if a system exception occurred

countByN_H

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

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

findByN_P

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

Parameters:
nodeId - the node ID
parentTitle - the parent title
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
parentTitle - the parent title
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
parentTitle - the parent title
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?.

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

fetchByN_P_First

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

Parameters:
nodeId - the node ID
parentTitle - the parent title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_P_Last

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

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

fetchByN_P_Last

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

Parameters:
nodeId - the node ID
parentTitle - the parent title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
parentTitle - the parent title
orderByComparator - the comparator to order the set by (optionally null)
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

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
parentTitle - the parent title
Throws:
SystemException - if a system exception occurred

countByN_P

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

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

findByN_R

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

Parameters:
nodeId - the node ID
redirectTitle - the redirect title
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
redirectTitle - the redirect title
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
redirectTitle - the redirect title
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?.

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

fetchByN_R_First

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

Parameters:
nodeId - the node ID
redirectTitle - the redirect title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_R_Last

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

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

fetchByN_R_Last

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

Parameters:
nodeId - the node ID
redirectTitle - the redirect title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
redirectTitle - the redirect title
orderByComparator - the comparator to order the set by (optionally null)
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

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
redirectTitle - the redirect title
Throws:
SystemException - if a system exception occurred

countByN_R

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

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

findByN_S

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

Parameters:
nodeId - the node ID
status - the status
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where nodeId = ? and status = ?.

Parameters:
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_S_First

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

Parameters:
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_S_Last

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

Parameters:
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_S_Last

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

Parameters:
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

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
status - the status
Throws:
SystemException - if a system exception occurred

countByN_S

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

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

findByR_N_V

public static WikiPage findByR_N_V(long resourcePrimKey,
                                   long nodeId,
                                   double version)
                            throws SystemException,
                                   NoSuchPageException
Returns 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
nodeId - the node ID
version - the version
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
Returns 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
nodeId - the node ID
version - the version
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
Returns 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
nodeId - the node ID
version - the version
retrieveFromCache - whether to use the finder cache
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

removeByR_N_V

public static WikiPage 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
nodeId - the node ID
version - the version
Returns:
the wiki page that was removed
Throws:
SystemException - if a system exception occurred
NoSuchPageException

countByR_N_V

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

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

findByR_N_H

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

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N_H

public static List<WikiPage> findByR_N_H(long resourcePrimKey,
                                         long nodeId,
                                         boolean head,
                                         int start,
                                         int end)
                                  throws SystemException
Returns a range of all the wiki pages where resourcePrimKey = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_N_H

public static List<WikiPage> findByR_N_H(long resourcePrimKey,
                                         long nodeId,
                                         boolean head,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the wiki pages where resourcePrimKey = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_N_H_First

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

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByR_N_H_First

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

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByR_N_H_Last

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

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByR_N_H_Last

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

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByR_N_H_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
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

removeByR_N_H

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

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
Throws:
SystemException - if a system exception occurred

countByR_N_H

public static int countByR_N_H(long resourcePrimKey,
                               long nodeId,
                               boolean head)
                        throws SystemException
Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?.

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
Returns:
the number 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)
                                  throws SystemException
Returns all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
status - the status
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.

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

fetchByR_N_S_First

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

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.

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

fetchByR_N_S_Last

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

Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.

Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

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
nodeId - the node ID
status - the status
Throws:
SystemException - if a system exception occurred

countByR_N_S

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

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

findByG_N_H

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_H

public static List<WikiPage> findByG_N_H(long groupId,
                                         long nodeId,
                                         boolean head,
                                         int start,
                                         int end)
                                  throws SystemException
Returns a range of all the wiki pages where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_H

public static List<WikiPage> findByG_N_H(long groupId,
                                         long nodeId,
                                         boolean head,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the wiki pages where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_H_First

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_N_H_First

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_H_Last

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_N_H_Last

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_H_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
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

filterFindByG_N_H

public static List<WikiPage> filterFindByG_N_H(long groupId,
                                               long nodeId,
                                               boolean head)
                                        throws SystemException
Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
Returns:
the matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_H

public static List<WikiPage> filterFindByG_N_H(long groupId,
                                               long nodeId,
                                               boolean head,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the wiki pages that the user has permission to view where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_H

public static List<WikiPage> filterFindByG_N_H(long groupId,
                                               long nodeId,
                                               boolean head,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_H_PrevAndNext

public static WikiPage[] filterFindByG_N_H_PrevAndNext(long pageId,
                                                       long groupId,
                                                       long nodeId,
                                                       boolean head,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchPageException
Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?.

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
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

removeByG_N_H

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
Throws:
SystemException - if a system exception occurred

countByG_N_H

public static int countByG_N_H(long groupId,
                               long nodeId,
                               boolean head)
                        throws SystemException
Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

filterCountByG_N_H

public static int filterCountByG_N_H(long groupId,
                                     long nodeId,
                                     boolean head)
                              throws SystemException
Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
Returns:
the number of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_N_S

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

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_S

public static List<WikiPage> findByG_N_S(long groupId,
                                         long nodeId,
                                         int status,
                                         int start,
                                         int end)
                                  throws SystemException
Returns a range of all the wiki pages where groupId = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_S

public static List<WikiPage> findByG_N_S(long groupId,
                                         long nodeId,
                                         int status,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the wiki pages where groupId = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_S_First

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

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_N_S_First

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

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_S_Last

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

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_N_S_Last

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

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_S_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

filterFindByG_N_S

public static List<WikiPage> filterFindByG_N_S(long groupId,
                                               long nodeId,
                                               int status)
                                        throws SystemException
Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
Returns:
the matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_S

public static List<WikiPage> filterFindByG_N_S(long groupId,
                                               long nodeId,
                                               int status,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the wiki pages that the user has permission to view where groupId = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_S

public static List<WikiPage> filterFindByG_N_S(long groupId,
                                               long nodeId,
                                               int status,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_S_PrevAndNext

public static WikiPage[] filterFindByG_N_S_PrevAndNext(long pageId,
                                                       long groupId,
                                                       long nodeId,
                                                       int status,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchPageException
Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?.

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

removeByG_N_S

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

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_N_S

public static int countByG_N_S(long groupId,
                               long nodeId,
                               int status)
                        throws SystemException
Returns the number of wiki pages where groupId = ? and nodeId = ? and status = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

filterCountByG_N_S

public static int filterCountByG_N_S(long groupId,
                                     long nodeId,
                                     int status)
                              throws SystemException
Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
Returns:
the number of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByU_N_S

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

Parameters:
userId - the user ID
nodeId - the node ID
status - the status
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
userId - the user ID
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
userId - the user ID
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.

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

fetchByU_N_S_First

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

Parameters:
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.

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

fetchByU_N_S_Last

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

Parameters:
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.

Parameters:
pageId - the primary key of the current wiki page
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

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
nodeId - the node ID
status - the status
Throws:
SystemException - if a system exception occurred

countByU_N_S

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

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

findByN_T_V

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

Parameters:
nodeId - the node ID
title - the title
version - the version
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
Returns 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
title - the title
version - the version
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
Returns 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
title - the title
version - the version
retrieveFromCache - whether to use the finder cache
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

removeByN_T_V

public static WikiPage 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
title - the title
version - the version
Returns:
the wiki page that was removed
Throws:
SystemException - if a system exception occurred
NoSuchPageException

countByN_T_V

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

Parameters:
nodeId - the node ID
title - the title
version - the version
Returns:
the number 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)
                                  throws SystemException
Returns all the wiki pages where nodeId = ? and title = ? and head = ?.

Parameters:
nodeId - the node ID
title - the title
head - the head
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
title - the title
head - the head
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
title - the title
head - the head
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?.

Parameters:
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_T_H_First

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

Parameters:
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?.

Parameters:
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_T_H_Last

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

Parameters:
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and head = ?.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
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

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
title - the title
head - the head
Throws:
SystemException - if a system exception occurred

countByN_T_H

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

Parameters:
nodeId - the node ID
title - the title
head - the head
Returns:
the number 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)
                                  throws SystemException
Returns all the wiki pages where nodeId = ? and title = ? and status = ?.

Parameters:
nodeId - the node ID
title - the title
status - the status
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
title - the title
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
title - the title
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?.

Parameters:
nodeId - the node ID
title - the title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_T_S_First

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

Parameters:
nodeId - the node ID
title - the title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?.

Parameters:
nodeId - the node ID
title - the title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_T_S_Last

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

Parameters:
nodeId - the node ID
title - the title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
title - the title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

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
title - the title
status - the status
Throws:
SystemException - if a system exception occurred

countByN_T_S

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

Parameters:
nodeId - the node ID
title - the title
status - the status
Returns:
the number 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)
                                  throws SystemException
Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.

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

fetchByN_H_P_First

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

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.

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

fetchByN_H_P_Last

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

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
parentTitle - the parent title
orderByComparator - the comparator to order the set by (optionally null)
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

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
head - the head
parentTitle - the parent title
Throws:
SystemException - if a system exception occurred

countByN_H_P

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

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

findByN_H_R

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_R

public static List<WikiPage> findByN_H_R(long nodeId,
                                         boolean head,
                                         String redirectTitle,
                                         int start,
                                         int end)
                                  throws SystemException
Returns a range of all the wiki pages where nodeId = ? and head = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_R

public static List<WikiPage> findByN_H_R(long nodeId,
                                         boolean head,
                                         String redirectTitle,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the wiki pages where nodeId = ? and head = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_R_First

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_R_First

public static WikiPage fetchByN_H_R_First(long nodeId,
                                          boolean head,
                                          String redirectTitle,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_H_R_Last

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_R_Last

public static WikiPage fetchByN_H_R_Last(long nodeId,
                                         boolean head,
                                         String redirectTitle,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_H_R_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
redirectTitle - the redirect title
orderByComparator - the comparator to order the set by (optionally null)
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

removeByN_H_R

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
Throws:
SystemException - if a system exception occurred

countByN_H_R

public static int countByN_H_R(long nodeId,
                               boolean head,
                               String redirectTitle)
                        throws SystemException
Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ?.

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
Returns:
the number 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)
                                  throws SystemException
Returns all the wiki pages where nodeId = ? and head = ? and status = ?.

Parameters:
nodeId - the node ID
head - the head
status - the status
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
head - the head
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
head - the head
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?.

Parameters:
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_S_First

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

Parameters:
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?.

Parameters:
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_S_Last

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

Parameters:
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

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
head - the head
status - the status
Throws:
SystemException - if a system exception occurred

countByN_H_S

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

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

findByN_H_NotS

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

Parameters:
nodeId - the node ID
head - the head
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_NotS

public static List<WikiPage> findByN_H_NotS(long nodeId,
                                            boolean head,
                                            int status,
                                            int start,
                                            int end)
                                     throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_NotS

public static List<WikiPage> findByN_H_NotS(long nodeId,
                                            boolean head,
                                            int status,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_NotS_First

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

Parameters:
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_NotS_First

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

Parameters:
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_H_NotS_Last

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

Parameters:
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_NotS_Last

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

Parameters:
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_H_NotS_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

removeByN_H_NotS

public static void removeByN_H_NotS(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
head - the head
status - the status
Throws:
SystemException - if a system exception occurred

countByN_H_NotS

public static int countByN_H_NotS(long nodeId,
                                  boolean head,
                                  int status)
                           throws SystemException
Returns the number of wiki pages where nodeId = ? and head = ? and status ≠ ?.

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

findByG_U_N_S

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

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_U_N_S

public static List<WikiPage> findByG_U_N_S(long groupId,
                                           long userId,
                                           long nodeId,
                                           int status,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the wiki pages where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_U_N_S

public static List<WikiPage> findByG_U_N_S(long groupId,
                                           long userId,
                                           long nodeId,
                                           int status,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the wiki pages where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_U_N_S_First

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

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_U_N_S_First

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

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_N_S_Last

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

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_U_N_S_Last

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

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_N_S_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

filterFindByG_U_N_S

public static List<WikiPage> filterFindByG_U_N_S(long groupId,
                                                 long userId,
                                                 long nodeId,
                                                 int status)
                                          throws SystemException
Returns all the wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?.

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
Returns:
the matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_N_S

public static List<WikiPage> filterFindByG_U_N_S(long groupId,
                                                 long userId,
                                                 long nodeId,
                                                 int status,
                                                 int start,
                                                 int end)
                                          throws SystemException
Returns a range of all the wiki pages that the user has permission to view where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_N_S

public static List<WikiPage> filterFindByG_U_N_S(long groupId,
                                                 long userId,
                                                 long nodeId,
                                                 int status,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_N_S_PrevAndNext

public static WikiPage[] filterFindByG_U_N_S_PrevAndNext(long pageId,
                                                         long groupId,
                                                         long userId,
                                                         long nodeId,
                                                         int status,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchPageException
Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?.

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

removeByG_U_N_S

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

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_U_N_S

public static int countByG_U_N_S(long groupId,
                                 long userId,
                                 long nodeId,
                                 int status)
                          throws SystemException
Returns the number of wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?.

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

filterCountByG_U_N_S

public static int filterCountByG_U_N_S(long groupId,
                                       long userId,
                                       long nodeId,
                                       int status)
                                throws SystemException
Returns the number of wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?.

Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
Returns:
the number of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_N_T_H

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

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_T_H

public static List<WikiPage> findByG_N_T_H(long groupId,
                                           long nodeId,
                                           String title,
                                           boolean head,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the wiki pages where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_T_H

public static List<WikiPage> findByG_N_T_H(long groupId,
                                           long nodeId,
                                           String title,
                                           boolean head,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the wiki pages where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_T_H_First

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

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_N_T_H_First

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

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_T_H_Last

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

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_N_T_H_Last

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

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_T_H_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
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

filterFindByG_N_T_H

public static List<WikiPage> filterFindByG_N_T_H(long groupId,
                                                 long nodeId,
                                                 String title,
                                                 boolean head)
                                          throws SystemException
Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
Returns:
the matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_T_H

public static List<WikiPage> filterFindByG_N_T_H(long groupId,
                                                 long nodeId,
                                                 String title,
                                                 boolean head,
                                                 int start,
                                                 int end)
                                          throws SystemException
Returns a range of all the wiki pages that the user has permission to view where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_T_H

public static List<WikiPage> filterFindByG_N_T_H(long groupId,
                                                 long nodeId,
                                                 String title,
                                                 boolean head,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_T_H_PrevAndNext

public static WikiPage[] filterFindByG_N_T_H_PrevAndNext(long pageId,
                                                         long groupId,
                                                         long nodeId,
                                                         String title,
                                                         boolean head,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchPageException
Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?.

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
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

removeByG_N_T_H

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

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
Throws:
SystemException - if a system exception occurred

countByG_N_T_H

public static int countByG_N_T_H(long groupId,
                                 long nodeId,
                                 String title,
                                 boolean head)
                          throws SystemException
Returns the number of wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

filterCountByG_N_T_H

public static int filterCountByG_N_T_H(long groupId,
                                       long nodeId,
                                       String title,
                                       boolean head)
                                throws SystemException
Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
Returns:
the number of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_N_H_S

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_H_S

public static List<WikiPage> findByG_N_H_S(long groupId,
                                           long nodeId,
                                           boolean head,
                                           int status,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the wiki pages where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_H_S

public static List<WikiPage> findByG_N_H_S(long groupId,
                                           long nodeId,
                                           boolean head,
                                           int status,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the wiki pages where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_H_S_First

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_N_H_S_First

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_H_S_Last

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_N_H_S_Last

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_H_S_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

filterFindByG_N_H_S

public static List<WikiPage> filterFindByG_N_H_S(long groupId,
                                                 long nodeId,
                                                 boolean head,
                                                 int status)
                                          throws SystemException
Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
Returns:
the matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_H_S

public static List<WikiPage> filterFindByG_N_H_S(long groupId,
                                                 long nodeId,
                                                 boolean head,
                                                 int status,
                                                 int start,
                                                 int end)
                                          throws SystemException
Returns a range of all the wiki pages that the user has permission to view where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_H_S

public static List<WikiPage> filterFindByG_N_H_S(long groupId,
                                                 long nodeId,
                                                 boolean head,
                                                 int status,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_H_S_PrevAndNext

public static WikiPage[] filterFindByG_N_H_S_PrevAndNext(long pageId,
                                                         long groupId,
                                                         long nodeId,
                                                         boolean head,
                                                         int status,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchPageException
Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?.

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

removeByG_N_H_S

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
Throws:
SystemException - if a system exception occurred

countByG_N_H_S

public static int countByG_N_H_S(long groupId,
                                 long nodeId,
                                 boolean head,
                                 int status)
                          throws SystemException
Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

filterCountByG_N_H_S

public static int filterCountByG_N_H_S(long groupId,
                                       long nodeId,
                                       boolean head,
                                       int status)
                                throws SystemException
Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
Returns:
the number of matching wiki pages that the user has permission to view
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)
                                    throws SystemException
Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
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
Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.

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

fetchByN_H_P_S_First

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

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.

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

fetchByN_H_P_S_Last

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

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
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
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

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
head - the head
parentTitle - the parent title
status - the status
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
Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.

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

findByN_H_P_NotS

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

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

findByN_H_P_NotS

public static List<WikiPage> findByN_H_P_NotS(long nodeId,
                                              boolean head,
                                              String parentTitle,
                                              int status,
                                              int start,
                                              int end)
                                       throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_P_NotS

public static List<WikiPage> findByN_H_P_NotS(long nodeId,
                                              boolean head,
                                              String parentTitle,
                                              int status,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_P_NotS_First

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

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

fetchByN_H_P_NotS_First

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

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_H_P_NotS_Last

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

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

fetchByN_H_P_NotS_Last

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

Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_H_P_NotS_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

removeByN_H_P_NotS

public static void removeByN_H_P_NotS(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
head - the head
parentTitle - the parent title
status - the status
Throws:
SystemException - if a system exception occurred

countByN_H_P_NotS

public static int countByN_H_P_NotS(long nodeId,
                                    boolean head,
                                    String parentTitle,
                                    int status)
                             throws SystemException
Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.

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

findByN_H_R_S

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_R_S

public static List<WikiPage> findByN_H_R_S(long nodeId,
                                           boolean head,
                                           String redirectTitle,
                                           int status,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_R_S

public static List<WikiPage> findByN_H_R_S(long nodeId,
                                           boolean head,
                                           String redirectTitle,
                                           int status,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_R_S_First

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_R_S_First

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_H_R_S_Last

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_R_S_Last

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_H_R_S_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

removeByN_H_R_S

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
Throws:
SystemException - if a system exception occurred

countByN_H_R_S

public static int countByN_H_R_S(long nodeId,
                                 boolean head,
                                 String redirectTitle,
                                 int status)
                          throws SystemException
Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?.

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_R_NotS

public static List<WikiPage> findByN_H_R_NotS(long nodeId,
                                              boolean head,
                                              String redirectTitle,
                                              int status)
                                       throws SystemException
Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_R_NotS

public static List<WikiPage> findByN_H_R_NotS(long nodeId,
                                              boolean head,
                                              String redirectTitle,
                                              int status,
                                              int start,
                                              int end)
                                       throws SystemException
Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_R_NotS

public static List<WikiPage> findByN_H_R_NotS(long nodeId,
                                              boolean head,
                                              String redirectTitle,
                                              int status,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_R_NotS_First

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_R_NotS_First

public static WikiPage fetchByN_H_R_NotS_First(long nodeId,
                                               boolean head,
                                               String redirectTitle,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_H_R_NotS_Last

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_H_R_NotS_Last

public static WikiPage fetchByN_H_R_NotS_Last(long nodeId,
                                              boolean head,
                                              String redirectTitle,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByN_H_R_NotS_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

removeByN_H_R_NotS

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

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
Throws:
SystemException - if a system exception occurred

countByN_H_R_NotS

public static int countByN_H_R_NotS(long nodeId,
                                    boolean head,
                                    String redirectTitle,
                                    int status)
                             throws SystemException
Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.

Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_H_P_S

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_H_P_S

public static List<WikiPage> findByG_N_H_P_S(long groupId,
                                             long nodeId,
                                             boolean head,
                                             String parentTitle,
                                             int status,
                                             int start,
                                             int end)
                                      throws SystemException
Returns a range of all the wiki pages where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_H_P_S

public static List<WikiPage> findByG_N_H_P_S(long groupId,
                                             long nodeId,
                                             boolean head,
                                             String parentTitle,
                                             int status,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the wiki pages where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_H_P_S_First

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_N_H_P_S_First

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_H_P_S_Last

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByG_N_H_P_S_Last

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_H_P_S_PrevAndNext

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

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

filterFindByG_N_H_P_S

public static List<WikiPage> filterFindByG_N_H_P_S(long groupId,
                                                   long nodeId,
                                                   boolean head,
                                                   String parentTitle,
                                                   int status)
                                            throws SystemException
Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
Returns:
the matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_H_P_S

public static List<WikiPage> filterFindByG_N_H_P_S(long groupId,
                                                   long nodeId,
                                                   boolean head,
                                                   String parentTitle,
                                                   int status,
                                                   int start,
                                                   int end)
                                            throws SystemException
Returns a range of all the wiki pages that the user has permission to view where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_H_P_S

public static List<WikiPage> filterFindByG_N_H_P_S(long groupId,
                                                   long nodeId,
                                                   boolean head,
                                                   String parentTitle,
                                                   int status,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_H_P_S_PrevAndNext

public static WikiPage[] filterFindByG_N_H_P_S_PrevAndNext(long pageId,
                                                           long groupId,
                                                           long nodeId,
                                                           boolean head,
                                                           String parentTitle,
                                                           int status,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchPageException
Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.

Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
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

removeByG_N_H_P_S

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

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
Throws:
SystemException - if a system exception occurred

countByG_N_H_P_S

public static int countByG_N_H_P_S(long groupId,
                                   long nodeId,
                                   boolean head,
                                   String parentTitle,
                                   int status)
                            throws SystemException
Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

filterCountByG_N_H_P_S

public static int filterCountByG_N_H_P_S(long groupId,
                                         long nodeId,
                                         boolean head,
                                         String parentTitle,
                                         int status)
                                  throws SystemException
Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.

Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
Returns:
the number of matching wiki pages that the user has permission to view
Throws:
SystemException - if a system exception occurred

cacheResult

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

Parameters:
wikiPage - the wiki page

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

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
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)
                           throws SystemException
Throws:
SystemException

findByPrimaryKey

public static WikiPage findByPrimaryKey(long pageId)
                                 throws SystemException,
                                        NoSuchPageException
Returns 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
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
Returns 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
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

findAll

public static List<WikiPage> findAll()
                              throws SystemException
Returns 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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (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
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of wiki pages
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

countAll

public static int countAll()
                    throws SystemException
Returns the number of 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)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5