Liferay 6.0.5

com.liferay.portlet.wiki.service.persistence
Interface WikiPagePersistence

All Superinterfaces:
BasePersistence<WikiPage>
All Known Implementing Classes:
WikiPagePersistenceImpl

public interface WikiPagePersistence
extends BasePersistence<WikiPage>

The persistence interface for the wiki page service.

Never modify or reference this interface directly. Always use WikiPageUtil to access the wiki page persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface.

Caching information and settings can be found in portal.properties

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

Method Summary
 void cacheResult(List<WikiPage> wikiPages)
          Caches the wiki pages in the entity cache if it is enabled.
 void cacheResult(WikiPage wikiPage)
          Caches the wiki page in the entity cache if it is enabled.
 int countAll()
          Counts all the wiki pages.
 int countByFormat(String format)
          Counts all the wiki pages where format = ?.
 int countByN_H_P_S(long nodeId, boolean head, String parentTitle, int status)
          Counts all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 int countByN_H_P(long nodeId, boolean head, String parentTitle)
          Counts all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.
 int countByN_H_S(long nodeId, boolean head, int status)
          Counts all the wiki pages where nodeId = ? and head = ? and status = ?.
 int countByN_H(long nodeId, boolean head)
          Counts all the wiki pages where nodeId = ? and head = ?.
 int countByN_P(long nodeId, String parentTitle)
          Counts all the wiki pages where nodeId = ? and parentTitle = ?.
 int countByN_R(long nodeId, String redirectTitle)
          Counts all the wiki pages where nodeId = ? and redirectTitle = ?.
 int countByN_S(long nodeId, int status)
          Counts all the wiki pages where nodeId = ? and status = ?.
 int countByN_T_H(long nodeId, String title, boolean head)
          Counts all the wiki pages where nodeId = ? and title = ? and head = ?.
 int countByN_T_S(long nodeId, String title, int status)
          Counts all the wiki pages where nodeId = ? and title = ? and status = ?.
 int countByN_T_V(long nodeId, String title, double version)
          Counts all the wiki pages where nodeId = ? and title = ? and version = ?.
 int countByN_T(long nodeId, String title)
          Counts all the wiki pages where nodeId = ? and title = ?.
 int countByNodeId(long nodeId)
          Counts all the wiki pages where nodeId = ?.
 int countByR_N_S(long resourcePrimKey, long nodeId, int status)
          Counts all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.
 int countByR_N_V(long resourcePrimKey, long nodeId, double version)
          Counts all the wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?.
 int countByR_N(long resourcePrimKey, long nodeId)
          Counts all the wiki pages where resourcePrimKey = ? and nodeId = ?.
 int countByU_N_S(long userId, long nodeId, int status)
          Counts all the wiki pages where userId = ? and nodeId = ? and status = ?.
 int countByUUID_G(String uuid, long groupId)
          Counts all the wiki pages where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Counts all the wiki pages where uuid = ?.
 WikiPage create(long pageId)
          Creates a new wiki page with the primary key.
 WikiPage fetchByN_T_V(long nodeId, String title, double version)
          Finds the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found.
 WikiPage fetchByN_T_V(long nodeId, String title, double version, boolean retrieveFromCache)
          Finds the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
 WikiPage fetchByPrimaryKey(long pageId)
          Finds the wiki page with the primary key or returns null if it could not be found.
 WikiPage fetchByR_N_V(long resourcePrimKey, long nodeId, double version)
          Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found.
 WikiPage fetchByR_N_V(long resourcePrimKey, long nodeId, double version, boolean retrieveFromCache)
          Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
 WikiPage fetchByUUID_G(String uuid, long groupId)
          Finds the wiki page where uuid = ? and groupId = ? or returns null if it could not be found.
 WikiPage fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Finds the wiki page where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 List<WikiPage> findAll()
          Finds all the wiki pages.
 List<WikiPage> findAll(int start, int end)
          Finds a range of all the wiki pages.
 List<WikiPage> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages.
 WikiPage findByFormat_First(String format, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where format = ?.
 WikiPage findByFormat_Last(String format, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where format = ?.
 WikiPage[] findByFormat_PrevAndNext(long pageId, String format, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where format = ?.
 List<WikiPage> findByFormat(String format)
          Finds all the wiki pages where format = ?.
 List<WikiPage> findByFormat(String format, int start, int end)
          Finds a range of all the wiki pages where format = ?.
 List<WikiPage> findByFormat(String format, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where format = ?.
 WikiPage findByN_H_First(long nodeId, boolean head, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and head = ?.
 WikiPage findByN_H_Last(long nodeId, boolean head, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and head = ?.
 WikiPage findByN_H_P_First(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage findByN_H_P_Last(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage[] findByN_H_P_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage findByN_H_P_S_First(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage findByN_H_P_S_Last(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage[] findByN_H_P_S_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status)
          Finds all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle)
          Finds all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.
 List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.
 List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage[] findByN_H_PrevAndNext(long pageId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?.
 WikiPage findByN_H_S_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
 WikiPage findByN_H_S_Last(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
 WikiPage[] findByN_H_S_PrevAndNext(long pageId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByN_H_S(long nodeId, boolean head, int status)
          Finds all the wiki pages where nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByN_H_S(long nodeId, boolean head, int status, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByN_H_S(long nodeId, boolean head, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByN_H(long nodeId, boolean head)
          Finds all the wiki pages where nodeId = ? and head = ?.
 List<WikiPage> findByN_H(long nodeId, boolean head, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and head = ?.
 List<WikiPage> findByN_H(long nodeId, boolean head, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and head = ?.
 WikiPage findByN_P_First(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and parentTitle = ?.
 WikiPage findByN_P_Last(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and parentTitle = ?.
 WikiPage[] findByN_P_PrevAndNext(long pageId, long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?.
 List<WikiPage> findByN_P(long nodeId, String parentTitle)
          Finds all the wiki pages where nodeId = ? and parentTitle = ?.
 List<WikiPage> findByN_P(long nodeId, String parentTitle, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and parentTitle = ?.
 List<WikiPage> findByN_P(long nodeId, String parentTitle, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?.
 WikiPage findByN_R_First(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
 WikiPage findByN_R_Last(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
 WikiPage[] findByN_R_PrevAndNext(long pageId, long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
 List<WikiPage> findByN_R(long nodeId, String redirectTitle)
          Finds all the wiki pages where nodeId = ? and redirectTitle = ?.
 List<WikiPage> findByN_R(long nodeId, String redirectTitle, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and redirectTitle = ?.
 List<WikiPage> findByN_R(long nodeId, String redirectTitle, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?.
 WikiPage findByN_S_First(long nodeId, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and status = ?.
 WikiPage findByN_S_Last(long nodeId, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and status = ?.
 WikiPage[] findByN_S_PrevAndNext(long pageId, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?.
 List<WikiPage> findByN_S(long nodeId, int status)
          Finds all the wiki pages where nodeId = ? and status = ?.
 List<WikiPage> findByN_S(long nodeId, int status, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and status = ?.
 List<WikiPage> findByN_S(long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and status = ?.
 WikiPage findByN_T_First(long nodeId, String title, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and title = ?.
 WikiPage findByN_T_H_First(long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?.
 WikiPage findByN_T_H_Last(long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?.
 WikiPage[] findByN_T_H_PrevAndNext(long pageId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and head = ?.
 List<WikiPage> findByN_T_H(long nodeId, String title, boolean head)
          Finds all the wiki pages where nodeId = ? and title = ? and head = ?.
 List<WikiPage> findByN_T_H(long nodeId, String title, boolean head, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and title = ? and head = ?.
 List<WikiPage> findByN_T_H(long nodeId, String title, boolean head, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and title = ? and head = ?.
 WikiPage findByN_T_Last(long nodeId, String title, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and title = ?.
 WikiPage[] findByN_T_PrevAndNext(long pageId, long nodeId, String title, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?.
 WikiPage findByN_T_S_First(long nodeId, String title, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
 WikiPage findByN_T_S_Last(long nodeId, String title, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
 WikiPage[] findByN_T_S_PrevAndNext(long pageId, long nodeId, String title, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
 List<WikiPage> findByN_T_S(long nodeId, String title, int status)
          Finds all the wiki pages where nodeId = ? and title = ? and status = ?.
 List<WikiPage> findByN_T_S(long nodeId, String title, int status, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and title = ? and status = ?.
 List<WikiPage> findByN_T_S(long nodeId, String title, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and title = ? and status = ?.
 WikiPage findByN_T_V(long nodeId, String title, double version)
          Finds the wiki page where nodeId = ? and title = ? and version = ? or throws a NoSuchPageException if it could not be found.
 List<WikiPage> findByN_T(long nodeId, String title)
          Finds all the wiki pages where nodeId = ? and title = ?.
 List<WikiPage> findByN_T(long nodeId, String title, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and title = ?.
 List<WikiPage> findByN_T(long nodeId, String title, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and title = ?.
 WikiPage findByNodeId_First(long nodeId, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ?.
 WikiPage findByNodeId_Last(long nodeId, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ?.
 WikiPage[] findByNodeId_PrevAndNext(long pageId, long nodeId, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ?.
 List<WikiPage> findByNodeId(long nodeId)
          Finds all the wiki pages where nodeId = ?.
 List<WikiPage> findByNodeId(long nodeId, int start, int end)
          Finds a range of all the wiki pages where nodeId = ?.
 List<WikiPage> findByNodeId(long nodeId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ?.
 WikiPage findByPrimaryKey(long pageId)
          Finds the wiki page with the primary key or throws a NoSuchPageException if it could not be found.
 WikiPage findByR_N_First(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
 WikiPage findByR_N_Last(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
 WikiPage[] findByR_N_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
 WikiPage findByR_N_S_First(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
 WikiPage findByR_N_S_Last(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
 WikiPage[] findByR_N_S_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
 List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status)
          Finds all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.
 List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status, int start, int end)
          Finds a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.
 List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.
 WikiPage findByR_N_V(long resourcePrimKey, long nodeId, double version)
          Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or throws a NoSuchPageException if it could not be found.
 List<WikiPage> findByR_N(long resourcePrimKey, long nodeId)
          Finds all the wiki pages where resourcePrimKey = ? and nodeId = ?.
 List<WikiPage> findByR_N(long resourcePrimKey, long nodeId, int start, int end)
          Finds a range of all the wiki pages where resourcePrimKey = ? and nodeId = ?.
 List<WikiPage> findByR_N(long resourcePrimKey, long nodeId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?.
 WikiPage findByU_N_S_First(long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
 WikiPage findByU_N_S_Last(long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
 WikiPage[] findByU_N_S_PrevAndNext(long pageId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByU_N_S(long userId, long nodeId, int status)
          Finds all the wiki pages where userId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByU_N_S(long userId, long nodeId, int status, int start, int end)
          Finds a range of all the wiki pages where userId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByU_N_S(long userId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?.
 WikiPage findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where uuid = ?.
 WikiPage findByUUID_G(String uuid, long groupId)
          Finds the wiki page where uuid = ? and groupId = ? or throws a NoSuchPageException if it could not be found.
 WikiPage findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where uuid = ?.
 WikiPage[] findByUuid_PrevAndNext(long pageId, String uuid, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where uuid = ?.
 List<WikiPage> findByUuid(String uuid)
          Finds all the wiki pages where uuid = ?.
 List<WikiPage> findByUuid(String uuid, int start, int end)
          Finds a range of all the wiki pages where uuid = ?.
 List<WikiPage> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where uuid = ?.
 WikiPage remove(long pageId)
          Removes the wiki page with the primary key from the database.
 void removeAll()
          Removes all the wiki pages from the database.
 void removeByFormat(String format)
          Removes all the wiki pages where format = ? from the database.
 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.
 void removeByN_H_P(long nodeId, boolean head, String parentTitle)
          Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? from the database.
 void removeByN_H_S(long nodeId, boolean head, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and status = ? from the database.
 void removeByN_H(long nodeId, boolean head)
          Removes all the wiki pages where nodeId = ? and head = ? from the database.
 void removeByN_P(long nodeId, String parentTitle)
          Removes all the wiki pages where nodeId = ? and parentTitle = ? from the database.
 void removeByN_R(long nodeId, String redirectTitle)
          Removes all the wiki pages where nodeId = ? and redirectTitle = ? from the database.
 void removeByN_S(long nodeId, int status)
          Removes all the wiki pages where nodeId = ? and status = ? from the database.
 void removeByN_T_H(long nodeId, String title, boolean head)
          Removes all the wiki pages where nodeId = ? and title = ? and head = ? from the database.
 void removeByN_T_S(long nodeId, String title, int status)
          Removes all the wiki pages where nodeId = ? and title = ? and status = ? from the database.
 void removeByN_T_V(long nodeId, String title, double version)
          Removes the wiki page where nodeId = ? and title = ? and version = ? from the database.
 void removeByN_T(long nodeId, String title)
          Removes all the wiki pages where nodeId = ? and title = ? from the database.
 void removeByNodeId(long nodeId)
          Removes all the wiki pages where nodeId = ? from the database.
 void removeByR_N_S(long resourcePrimKey, long nodeId, int status)
          Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ? from the database.
 void removeByR_N_V(long resourcePrimKey, long nodeId, double version)
          Removes the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? from the database.
 void removeByR_N(long resourcePrimKey, long nodeId)
          Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? from the database.
 void removeByU_N_S(long userId, long nodeId, int status)
          Removes all the wiki pages where userId = ? and nodeId = ? and status = ? from the database.
 void removeByUUID_G(String uuid, long groupId)
          Removes the wiki page where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the wiki pages where uuid = ? from the database.
 WikiPage updateImpl(WikiPage wikiPage, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update
 

Method Detail

cacheResult

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

Parameters:
wikiPage - the wiki page to cache

cacheResult

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

Parameters:
wikiPages - the wiki pages to cache

create

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

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

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

updateImpl

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

findByPrimaryKey

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

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

fetchByPrimaryKey

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

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

findByUuid

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

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

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByUuid_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByUuid_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByUuid_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByUUID_G

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

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

fetchByUUID_G

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

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

fetchByUUID_G

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

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

findByNodeId

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

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

findByNodeId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByNodeId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByNodeId_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByNodeId_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByNodeId_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByFormat

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

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

findByFormat

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByFormat

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByFormat_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByFormat_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByFormat_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByR_N

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

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

findByR_N

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByR_N

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByR_N_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByR_N_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByR_N_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T

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

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

findByN_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H

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

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

findByN_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_P

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

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

findByN_P

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_P

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_P_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_P_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_P_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_R

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

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

findByN_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_R_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_R_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_R_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_S

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

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

findByN_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_S_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_S_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_S_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByR_N_V

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

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

fetchByR_N_V

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

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

fetchByR_N_V

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

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

findByR_N_S

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

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

findByR_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByR_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByR_N_S_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByR_N_S_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByR_N_S_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByU_N_S

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

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

findByU_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByU_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByU_N_S_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByU_N_S_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByU_N_S_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_V

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

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

fetchByN_T_V

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

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

fetchByN_T_V

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

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

findByN_T_H

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

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

findByN_T_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_H_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_H_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_H_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_S

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

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

findByN_T_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_S_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_S_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_T_S_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_P

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

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

findByN_H_P

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_P

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_P_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_P_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_P_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_S

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

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

findByN_H_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_S_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_S_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_S_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_P_S

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

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

findByN_H_P_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_P_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_P_S_First

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_P_S_Last

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByN_H_P_S_PrevAndNext

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findAll

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

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

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

removeByUuid

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

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

removeByUUID_G

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

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

removeByNodeId

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

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

removeByFormat

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

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

removeByR_N

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

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

removeByN_T

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

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

removeByN_H

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

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

removeByN_P

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

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

removeByN_R

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

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

removeByN_S

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

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

removeByR_N_V

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

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

removeByR_N_S

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

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

removeByU_N_S

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

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

removeByN_T_V

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

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

removeByN_T_H

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

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

removeByN_T_S

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

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

removeByN_H_P

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

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

removeByN_H_S

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

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

removeByN_H_P_S

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

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

removeAll

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

Throws:
SystemException - if a system exception occurred

countByUuid

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

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

countByUUID_G

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

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

countByNodeId

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

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

countByFormat

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

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

countByR_N

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

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

countByN_T

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

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

countByN_H

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

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

countByN_P

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

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

countByN_R

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

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

countByN_S

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

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

countByR_N_V

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

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

countByR_N_S

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

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

countByU_N_S

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

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

countByN_T_V

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

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

countByN_T_H

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

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

countByN_T_S

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

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

countByN_H_P

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

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

countByN_H_S

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

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

countByN_H_P_S

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

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

countAll

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

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

Liferay 6.0.5