Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<WikiPage>
      extended by com.liferay.portlet.wiki.service.persistence.WikiPagePersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<WikiPage>, WikiPagePersistence

public class WikiPagePersistenceImpl
extends BasePersistenceImpl<WikiPage>
implements WikiPagePersistence

The persistence implementation for the wiki page service.

Caching information and settings can be found in portal.properties

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

Field Summary
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_FORMAT
           
static FinderPath FINDER_PATH_COUNT_BY_G_N_H
           
static FinderPath FINDER_PATH_COUNT_BY_G_N_H_P_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_N_H_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_N_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_N_T_H
           
static FinderPath FINDER_PATH_COUNT_BY_G_U_N_S
           
static FinderPath FINDER_PATH_COUNT_BY_N_H
           
static FinderPath FINDER_PATH_COUNT_BY_N_H_P
           
static FinderPath FINDER_PATH_COUNT_BY_N_H_P_S
           
static FinderPath FINDER_PATH_COUNT_BY_N_H_R
           
static FinderPath FINDER_PATH_COUNT_BY_N_H_R_S
           
static FinderPath FINDER_PATH_COUNT_BY_N_H_S
           
static FinderPath FINDER_PATH_COUNT_BY_N_P
           
static FinderPath FINDER_PATH_COUNT_BY_N_R
           
static FinderPath FINDER_PATH_COUNT_BY_N_S
           
static FinderPath FINDER_PATH_COUNT_BY_N_T
           
static FinderPath FINDER_PATH_COUNT_BY_N_T_H
           
static FinderPath FINDER_PATH_COUNT_BY_N_T_S
           
static FinderPath FINDER_PATH_COUNT_BY_N_T_V
           
static FinderPath FINDER_PATH_COUNT_BY_NODEID
           
static FinderPath FINDER_PATH_COUNT_BY_R_N
           
static FinderPath FINDER_PATH_COUNT_BY_R_N_H
           
static FinderPath FINDER_PATH_COUNT_BY_R_N_S
           
static FinderPath FINDER_PATH_COUNT_BY_R_N_V
           
static FinderPath FINDER_PATH_COUNT_BY_R_S
           
static FinderPath FINDER_PATH_COUNT_BY_RESOURCEPRIMKEY
           
static FinderPath FINDER_PATH_COUNT_BY_U_N_S
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_N_T_V
           
static FinderPath FINDER_PATH_FETCH_BY_R_N_V
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_N_H_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_N_H_P_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_N_H_R_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FORMAT
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_H
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_H_P_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_H_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_T_H
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_N_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_R
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_R_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_R_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_P
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_R
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_T
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_T_H
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_T_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_NODEID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_N
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_N_H
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_N_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_RESOURCEPRIMKEY
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_N_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FORMAT
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_H
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_H_P_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_H_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_T_H
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_N_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_P
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_P_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_R
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_R_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_P
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_R
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T_H
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_NODEID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_N
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_N_H
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_N_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_RESOURCEPRIMKEY
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_N_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
WikiPagePersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the wiki page persistence.
 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.
protected  void cacheUniqueFindersCache(WikiPage wikiPage)
           
 void clearCache()
          Clears the cache for all wiki pages.
 void clearCache(List<WikiPage> wikiPages)
          Clears the cache for a List instances of this model.
 void clearCache(WikiPage wikiPage)
          Clears the cache for the wiki page.
protected  void clearUniqueFindersCache(WikiPage wikiPage)
           
 int countAll()
          Returns the number of wiki pages.
 int countByFormat(String format)
          Returns the number of wiki pages where format = ?.
 int countByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status)
          Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 int countByG_N_H_S(long groupId, long nodeId, boolean head, int status)
          Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?.
 int countByG_N_H(long groupId, long nodeId, boolean head)
          Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ?.
 int countByG_N_S(long groupId, long nodeId, int status)
          Returns the number of wiki pages where groupId = ? and nodeId = ? and status = ?.
 int countByG_N_T_H(long groupId, long nodeId, String title, boolean head)
          Returns the number of wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?.
 int countByG_U_N_S(long groupId, long userId, long nodeId, int status)
          Returns the number of wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?.
 int countByN_H_NotS(long nodeId, boolean head, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and status ≠ ?.
 int countByN_H_P_NotS(long nodeId, boolean head, String parentTitle, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
 int countByN_H_P_S(long nodeId, boolean head, String parentTitle, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 int countByN_H_P(long nodeId, boolean head, String parentTitle)
          Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ?.
 int countByN_H_R_NotS(long nodeId, boolean head, String redirectTitle, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
 int countByN_H_R_S(long nodeId, boolean head, String redirectTitle, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
 int countByN_H_R(long nodeId, boolean head, String redirectTitle)
          Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ?.
 int countByN_H_S(long nodeId, boolean head, int status)
          Returns the number of wiki pages where nodeId = ? and head = ? and status = ?.
 int countByN_H(long nodeId, boolean head)
          Returns the number of wiki pages where nodeId = ? and head = ?.
 int countByN_P(long nodeId, String parentTitle)
          Returns the number of wiki pages where nodeId = ? and parentTitle = ?.
 int countByN_R(long nodeId, String redirectTitle)
          Returns the number of wiki pages where nodeId = ? and redirectTitle = ?.
 int countByN_S(long nodeId, int status)
          Returns the number of wiki pages where nodeId = ? and status = ?.
 int countByN_T_H(long nodeId, String title, boolean head)
          Returns the number of wiki pages where nodeId = ? and title = ? and head = ?.
 int countByN_T_S(long nodeId, String title, int status)
          Returns the number of wiki pages where nodeId = ? and title = ? and status = ?.
 int countByN_T_V(long nodeId, String title, double version)
          Returns the number of wiki pages where nodeId = ? and title = ? and version = ?.
 int countByN_T(long nodeId, String title)
          Returns the number of wiki pages where nodeId = ? and title = ?.
 int countByNodeId(long nodeId)
          Returns the number of wiki pages where nodeId = ?.
 int countByR_N_H(long resourcePrimKey, long nodeId, boolean head)
          Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?.
 int countByR_N_S(long resourcePrimKey, long nodeId, int status)
          Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.
 int countByR_N_V(long resourcePrimKey, long nodeId, double version)
          Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?.
 int countByR_N(long resourcePrimKey, long nodeId)
          Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ?.
 int countByR_S(long resourcePrimKey, int status)
          Returns the number of wiki pages where resourcePrimKey = ? and status = ?.
 int countByResourcePrimKey(long resourcePrimKey)
          Returns the number of wiki pages where resourcePrimKey = ?.
 int countByU_N_S(long userId, long nodeId, int status)
          Returns the number of wiki pages where userId = ? and nodeId = ? and status = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of wiki pages where uuid = ? and companyId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of wiki pages where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of wiki pages where uuid = ?.
 WikiPage create(long pageId)
          Creates a new wiki page with the primary key.
 void destroy()
           
 WikiPage fetchByFormat_First(String format, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where format = ?.
 WikiPage fetchByFormat_Last(String format, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where format = ?.
 WikiPage fetchByG_N_H_First(long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?.
 WikiPage fetchByG_N_H_Last(long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?.
 WikiPage fetchByG_N_H_P_S_First(long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage fetchByG_N_H_P_S_Last(long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage fetchByG_N_H_S_First(long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?.
 WikiPage fetchByG_N_H_S_Last(long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?.
 WikiPage fetchByG_N_S_First(long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?.
 WikiPage fetchByG_N_S_Last(long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?.
 WikiPage fetchByG_N_T_H_First(long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?.
 WikiPage fetchByG_N_T_H_Last(long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?.
 WikiPage fetchByG_U_N_S_First(long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?.
 WikiPage fetchByG_U_N_S_Last(long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?.
 WikiPage fetchByN_H_First(long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ?.
 WikiPage fetchByN_H_Last(long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ?.
 WikiPage fetchByN_H_NotS_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?.
 WikiPage fetchByN_H_NotS_Last(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?.
 WikiPage fetchByN_H_P_First(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage fetchByN_H_P_Last(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage fetchByN_H_P_NotS_First(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
 WikiPage fetchByN_H_P_NotS_Last(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
 WikiPage fetchByN_H_P_S_First(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage fetchByN_H_P_S_Last(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage fetchByN_H_R_First(long nodeId, boolean head, String redirectTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.
 WikiPage fetchByN_H_R_Last(long nodeId, boolean head, String redirectTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.
 WikiPage fetchByN_H_R_NotS_First(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
 WikiPage fetchByN_H_R_NotS_Last(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
 WikiPage fetchByN_H_R_S_First(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
 WikiPage fetchByN_H_R_S_Last(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
 WikiPage fetchByN_H_S_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
 WikiPage fetchByN_H_S_Last(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
 WikiPage fetchByN_P_First(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?.
 WikiPage fetchByN_P_Last(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?.
 WikiPage fetchByN_R_First(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
 WikiPage fetchByN_R_Last(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
 WikiPage fetchByN_S_First(long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and status = ?.
 WikiPage fetchByN_S_Last(long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and status = ?.
 WikiPage fetchByN_T_First(long nodeId, String title, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and title = ?.
 WikiPage fetchByN_T_H_First(long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?.
 WikiPage fetchByN_T_H_Last(long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?.
 WikiPage fetchByN_T_Last(long nodeId, String title, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and title = ?.
 WikiPage fetchByN_T_S_First(long nodeId, String title, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
 WikiPage fetchByN_T_S_Last(long nodeId, String title, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
 WikiPage fetchByN_T_V(long nodeId, String title, double version)
          Returns the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found.
 WikiPage fetchByN_T_V(long nodeId, String title, double version, boolean retrieveFromCache)
          Returns the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
 WikiPage fetchByNodeId_First(long nodeId, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ?.
 WikiPage fetchByNodeId_Last(long nodeId, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ?.
 WikiPage fetchByPrimaryKey(long pageId)
          Returns the wiki page with the primary key or returns null if it could not be found.
 WikiPage fetchByPrimaryKey(Serializable primaryKey)
          Returns the wiki page with the primary key or returns null if it could not be found.
 WikiPage fetchByR_N_First(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
 WikiPage fetchByR_N_H_First(long resourcePrimKey, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?.
 WikiPage fetchByR_N_H_Last(long resourcePrimKey, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?.
 WikiPage fetchByR_N_Last(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
 WikiPage fetchByR_N_S_First(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
 WikiPage fetchByR_N_S_Last(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
 WikiPage fetchByR_N_V(long resourcePrimKey, long nodeId, double version)
          Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found.
 WikiPage fetchByR_N_V(long resourcePrimKey, long nodeId, double version, boolean retrieveFromCache)
          Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
 WikiPage fetchByR_S_First(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and status = ?.
 WikiPage fetchByR_S_Last(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and status = ?.
 WikiPage fetchByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ?.
 WikiPage fetchByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ?.
 WikiPage fetchByU_N_S_First(long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
 WikiPage fetchByU_N_S_Last(long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
 WikiPage fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where uuid = ? and companyId = ?.
 WikiPage fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where uuid = ? and companyId = ?.
 WikiPage fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where uuid = ?.
 WikiPage fetchByUUID_G(String uuid, long groupId)
          Returns 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)
          Returns the wiki page where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 WikiPage fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where uuid = ?.
 int filterCountByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 int filterCountByG_N_H_S(long groupId, long nodeId, boolean head, int status)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?.
 int filterCountByG_N_H(long groupId, long nodeId, boolean head)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?.
 int filterCountByG_N_S(long groupId, long nodeId, int status)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?.
 int filterCountByG_N_T_H(long groupId, long nodeId, String title, boolean head)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?.
 int filterCountByG_U_N_S(long groupId, long userId, long nodeId, int status)
          Returns the number of wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?.
 WikiPage[] filterFindByG_N_H_P_S_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> filterFindByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status)
          Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> filterFindByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> filterFindByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage[] filterFindByG_N_H_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?.
 WikiPage[] filterFindByG_N_H_S_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?.
 List<WikiPage> filterFindByG_N_H_S(long groupId, long nodeId, boolean head, int status)
          Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?.
 List<WikiPage> filterFindByG_N_H_S(long groupId, long nodeId, boolean head, int status, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?.
 List<WikiPage> filterFindByG_N_H_S(long groupId, long nodeId, boolean head, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ? and status = ?.
 List<WikiPage> filterFindByG_N_H(long groupId, long nodeId, boolean head)
          Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?.
 List<WikiPage> filterFindByG_N_H(long groupId, long nodeId, boolean head, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?.
 List<WikiPage> filterFindByG_N_H(long groupId, long nodeId, boolean head, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ?.
 WikiPage[] filterFindByG_N_S_PrevAndNext(long pageId, long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?.
 List<WikiPage> filterFindByG_N_S(long groupId, long nodeId, int status)
          Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?.
 List<WikiPage> filterFindByG_N_S(long groupId, long nodeId, int status, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?.
 List<WikiPage> filterFindByG_N_S(long groupId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and status = ?.
 WikiPage[] filterFindByG_N_T_H_PrevAndNext(long pageId, long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?.
 List<WikiPage> filterFindByG_N_T_H(long groupId, long nodeId, String title, boolean head)
          Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?.
 List<WikiPage> filterFindByG_N_T_H(long groupId, long nodeId, String title, boolean head, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?.
 List<WikiPage> filterFindByG_N_T_H(long groupId, long nodeId, String title, boolean head, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and title = ? and head = ?.
 WikiPage[] filterFindByG_U_N_S_PrevAndNext(long pageId, long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?.
 List<WikiPage> filterFindByG_U_N_S(long groupId, long userId, long nodeId, int status)
          Returns all the wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?.
 List<WikiPage> filterFindByG_U_N_S(long groupId, long userId, long nodeId, int status, int start, int end)
          Returns a range of all the wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?.
 List<WikiPage> filterFindByG_U_N_S(long groupId, long userId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and userId = ? and nodeId = ? and status = ?.
protected  WikiPage filterGetByG_N_H_P_S_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage filterGetByG_N_H_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long nodeId, boolean head, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage filterGetByG_N_H_S_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage filterGetByG_N_S_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long nodeId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage filterGetByG_N_T_H_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage filterGetByG_U_N_S_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator, boolean previous)
           
 List<WikiPage> findAll()
          Returns all the wiki pages.
 List<WikiPage> findAll(int start, int end)
          Returns a range of all the wiki pages.
 List<WikiPage> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages.
 WikiPage findByFormat_First(String format, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where format = ?.
 WikiPage findByFormat_Last(String format, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where format = ?.
 WikiPage[] findByFormat_PrevAndNext(long pageId, String format, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where format = ?.
 List<WikiPage> findByFormat(String format)
          Returns all the wiki pages where format = ?.
 List<WikiPage> findByFormat(String format, int start, int end)
          Returns a range of all the wiki pages where format = ?.
 List<WikiPage> findByFormat(String format, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where format = ?.
 WikiPage findByG_N_H_First(long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?.
 WikiPage findByG_N_H_Last(long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?.
 WikiPage findByG_N_H_P_S_First(long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage findByG_N_H_P_S_Last(long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage[] findByG_N_H_P_S_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status)
          Returns all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage[] findByG_N_H_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?.
 WikiPage findByG_N_H_S_First(long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?.
 WikiPage findByG_N_H_S_Last(long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?.
 WikiPage[] findByG_N_H_S_PrevAndNext(long pageId, long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByG_N_H_S(long groupId, long nodeId, boolean head, int status)
          Returns all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByG_N_H_S(long groupId, long nodeId, boolean head, int status, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByG_N_H_S(long groupId, long nodeId, boolean head, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByG_N_H(long groupId, long nodeId, boolean head)
          Returns all the wiki pages where groupId = ? and nodeId = ? and head = ?.
 List<WikiPage> findByG_N_H(long groupId, long nodeId, boolean head, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ?.
 List<WikiPage> findByG_N_H(long groupId, long nodeId, boolean head, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ?.
 WikiPage findByG_N_S_First(long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?.
 WikiPage findByG_N_S_Last(long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?.
 WikiPage[] findByG_N_S_PrevAndNext(long pageId, long groupId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByG_N_S(long groupId, long nodeId, int status)
          Returns all the wiki pages where groupId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByG_N_S(long groupId, long nodeId, int status, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByG_N_S(long groupId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and status = ?.
 WikiPage findByG_N_T_H_First(long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?.
 WikiPage findByG_N_T_H_Last(long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?.
 WikiPage[] findByG_N_T_H_PrevAndNext(long pageId, long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?.
 List<WikiPage> findByG_N_T_H(long groupId, long nodeId, String title, boolean head)
          Returns all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?.
 List<WikiPage> findByG_N_T_H(long groupId, long nodeId, String title, boolean head, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?.
 List<WikiPage> findByG_N_T_H(long groupId, long nodeId, String title, boolean head, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?.
 WikiPage findByG_U_N_S_First(long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?.
 WikiPage findByG_U_N_S_Last(long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?.
 WikiPage[] findByG_U_N_S_PrevAndNext(long pageId, long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByG_U_N_S(long groupId, long userId, long nodeId, int status)
          Returns all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByG_U_N_S(long groupId, long userId, long nodeId, int status, int start, int end)
          Returns a range of all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByG_U_N_S(long groupId, long userId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?.
 WikiPage findByN_H_First(long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ?.
 WikiPage findByN_H_Last(long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ?.
 WikiPage findByN_H_NotS_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?.
 WikiPage findByN_H_NotS_Last(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?.
 WikiPage[] findByN_H_NotS_PrevAndNext(long pageId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?.
 List<WikiPage> findByN_H_NotS(long nodeId, boolean head, int status)
          Returns all the wiki pages where nodeId = ? and head = ? and status ≠ ?.
 List<WikiPage> findByN_H_NotS(long nodeId, boolean head, int status, int start, int end)
          Returns a range of all the wiki pages where nodeId = ? and head = ? and status ≠ ?.
 List<WikiPage> findByN_H_NotS(long nodeId, boolean head, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status ≠ ?.
 WikiPage findByN_H_P_First(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage findByN_H_P_Last(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage findByN_H_P_NotS_First(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
 WikiPage findByN_H_P_NotS_Last(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
 WikiPage[] findByN_H_P_NotS_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
 List<WikiPage> findByN_H_P_NotS(long nodeId, boolean head, String parentTitle, int status)
          Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
 List<WikiPage> findByN_H_P_NotS(long nodeId, boolean head, String parentTitle, int status, int start, int end)
          Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
 List<WikiPage> findByN_H_P_NotS(long nodeId, boolean head, String parentTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?.
 WikiPage[] findByN_H_P_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage findByN_H_P_S_First(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage findByN_H_P_S_Last(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage[] findByN_H_P_S_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status)
          Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status, int start, int end)
          Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?.
 WikiPage findByN_H_R_First(long nodeId, boolean head, String redirectTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.
 WikiPage findByN_H_R_Last(long nodeId, boolean head, String redirectTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.
 WikiPage findByN_H_R_NotS_First(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
 WikiPage findByN_H_R_NotS_Last(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
 WikiPage[] findByN_H_R_NotS_PrevAndNext(long pageId, long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
 List<WikiPage> findByN_H_R_NotS(long nodeId, boolean head, String redirectTitle, int status)
          Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
 List<WikiPage> findByN_H_R_NotS(long nodeId, boolean head, String redirectTitle, int status, int start, int end)
          Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
 List<WikiPage> findByN_H_R_NotS(long nodeId, boolean head, String redirectTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?.
 WikiPage[] findByN_H_R_PrevAndNext(long pageId, long nodeId, boolean head, String redirectTitle, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?.
 WikiPage findByN_H_R_S_First(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
 WikiPage findByN_H_R_S_Last(long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
 WikiPage[] findByN_H_R_S_PrevAndNext(long pageId, long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
 List<WikiPage> findByN_H_R_S(long nodeId, boolean head, String redirectTitle, int status)
          Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
 List<WikiPage> findByN_H_R_S(long nodeId, boolean head, String redirectTitle, int status, int start, int end)
          Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
 List<WikiPage> findByN_H_R_S(long nodeId, boolean head, String redirectTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?.
 List<WikiPage> findByN_H_R(long nodeId, boolean head, String redirectTitle)
          Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ?.
 List<WikiPage> findByN_H_R(long nodeId, boolean head, String redirectTitle, int start, int end)
          Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ?.
 List<WikiPage> findByN_H_R(long nodeId, boolean head, String redirectTitle, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ?.
 WikiPage findByN_H_S_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
 WikiPage findByN_H_S_Last(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
 WikiPage[] findByN_H_S_PrevAndNext(long pageId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByN_H_S(long nodeId, boolean head, int status)
          Returns 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)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByN_H(long nodeId, boolean head)
          Returns all the wiki pages where nodeId = ? and head = ?.
 List<WikiPage> findByN_H(long nodeId, boolean head, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and head = ?.
 WikiPage findByN_P_First(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?.
 WikiPage findByN_P_Last(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?.
 WikiPage[] findByN_P_PrevAndNext(long pageId, long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?.
 List<WikiPage> findByN_P(long nodeId, String parentTitle)
          Returns all the wiki pages where nodeId = ? and parentTitle = ?.
 List<WikiPage> findByN_P(long nodeId, String parentTitle, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?.
 WikiPage findByN_R_First(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
 WikiPage findByN_R_Last(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
 WikiPage[] findByN_R_PrevAndNext(long pageId, long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
 List<WikiPage> findByN_R(long nodeId, String redirectTitle)
          Returns all the wiki pages where nodeId = ? and redirectTitle = ?.
 List<WikiPage> findByN_R(long nodeId, String redirectTitle, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?.
 WikiPage findByN_S_First(long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and status = ?.
 WikiPage findByN_S_Last(long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and status = ?.
 WikiPage[] findByN_S_PrevAndNext(long pageId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?.
 List<WikiPage> findByN_S(long nodeId, int status)
          Returns all the wiki pages where nodeId = ? and status = ?.
 List<WikiPage> findByN_S(long nodeId, int status, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and status = ?.
 WikiPage findByN_T_First(long nodeId, String title, OrderByComparator orderByComparator)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and head = ?.
 WikiPage findByN_T_Last(long nodeId, String title, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and title = ?.
 WikiPage[] findByN_T_PrevAndNext(long pageId, long nodeId, String title, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?.
 WikiPage findByN_T_S_First(long nodeId, String title, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
 WikiPage findByN_T_S_Last(long nodeId, String title, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
 WikiPage[] findByN_T_S_PrevAndNext(long pageId, long nodeId, String title, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
 List<WikiPage> findByN_T_S(long nodeId, String title, int status)
          Returns 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)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and status = ?.
 WikiPage findByN_T_V(long nodeId, String title, double version)
          Returns the wiki page where nodeId = ? and title = ? and version = ? or throws a NoSuchPageException if it could not be found.
 List<WikiPage> findByN_T(long nodeId, String title)
          Returns all the wiki pages where nodeId = ? and title = ?.
 List<WikiPage> findByN_T(long nodeId, String title, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where nodeId = ? and title = ?.
 WikiPage findByNodeId_First(long nodeId, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where nodeId = ?.
 WikiPage findByNodeId_Last(long nodeId, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where nodeId = ?.
 WikiPage[] findByNodeId_PrevAndNext(long pageId, long nodeId, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ?.
 List<WikiPage> findByNodeId(long nodeId)
          Returns all the wiki pages where nodeId = ?.
 List<WikiPage> findByNodeId(long nodeId, int start, int end)
          Returns a range of all the wiki pages where nodeId = ?.
 List<WikiPage> findByNodeId(long nodeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where nodeId = ?.
 WikiPage findByPrimaryKey(long pageId)
          Returns the wiki page with the primary key or throws a NoSuchPageException if it could not be found.
 WikiPage findByPrimaryKey(Serializable primaryKey)
          Returns the wiki page with the primary key or throws a NoSuchModelException if it could not be found.
 WikiPage findByR_N_First(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
 WikiPage findByR_N_H_First(long resourcePrimKey, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?.
 WikiPage findByR_N_H_Last(long resourcePrimKey, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?.
 WikiPage[] findByR_N_H_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, boolean head, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?.
 List<WikiPage> findByR_N_H(long resourcePrimKey, long nodeId, boolean head)
          Returns all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?.
 List<WikiPage> findByR_N_H(long resourcePrimKey, long nodeId, boolean head, int start, int end)
          Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?.
 List<WikiPage> findByR_N_H(long resourcePrimKey, long nodeId, boolean head, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?.
 WikiPage findByR_N_Last(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
 WikiPage[] findByR_N_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
 WikiPage findByR_N_S_First(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
 WikiPage findByR_N_S_Last(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
 WikiPage[] findByR_N_S_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
 List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status)
          Returns 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)
          Returns 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)
          Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.
 WikiPage findByR_N_V(long resourcePrimKey, long nodeId, double version)
          Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or throws a NoSuchPageException if it could not be found.
 List<WikiPage> findByR_N(long resourcePrimKey, long nodeId)
          Returns all the wiki pages where resourcePrimKey = ? and nodeId = ?.
 List<WikiPage> findByR_N(long resourcePrimKey, long nodeId, int start, int end)
          Returns 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)
          Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?.
 WikiPage findByR_S_First(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ? and status = ?.
 WikiPage findByR_S_Last(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ? and status = ?.
 WikiPage[] findByR_S_PrevAndNext(long pageId, long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and status = ?.
 List<WikiPage> findByR_S(long resourcePrimKey, int status)
          Returns all the wiki pages where resourcePrimKey = ? and status = ?.
 List<WikiPage> findByR_S(long resourcePrimKey, int status, int start, int end)
          Returns a range of all the wiki pages where resourcePrimKey = ? and status = ?.
 List<WikiPage> findByR_S(long resourcePrimKey, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where resourcePrimKey = ? and status = ?.
 WikiPage findByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where resourcePrimKey = ?.
 WikiPage findByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where resourcePrimKey = ?.
 WikiPage[] findByResourcePrimKey_PrevAndNext(long pageId, long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ?.
 List<WikiPage> findByResourcePrimKey(long resourcePrimKey)
          Returns all the wiki pages where resourcePrimKey = ?.
 List<WikiPage> findByResourcePrimKey(long resourcePrimKey, int start, int end)
          Returns a range of all the wiki pages where resourcePrimKey = ?.
 List<WikiPage> findByResourcePrimKey(long resourcePrimKey, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where resourcePrimKey = ?.
 WikiPage findByU_N_S_First(long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
 WikiPage findByU_N_S_Last(long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
 WikiPage[] findByU_N_S_PrevAndNext(long pageId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByU_N_S(long userId, long nodeId, int status)
          Returns 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)
          Returns 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)
          Returns an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?.
 WikiPage findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where uuid = ? and companyId = ?.
 WikiPage findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where uuid = ? and companyId = ?.
 WikiPage[] findByUuid_C_PrevAndNext(long pageId, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ? and companyId = ?.
 List<WikiPage> findByUuid_C(String uuid, long companyId)
          Returns all the wiki pages where uuid = ? and companyId = ?.
 List<WikiPage> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the wiki pages where uuid = ? and companyId = ?.
 List<WikiPage> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where uuid = ? and companyId = ?.
 WikiPage findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first wiki page in the ordered set where uuid = ?.
 WikiPage findByUUID_G(String uuid, long groupId)
          Returns the wiki page where uuid = ? and groupId = ? or throws a NoSuchPageException if it could not be found.
 WikiPage findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last wiki page in the ordered set where uuid = ?.
 WikiPage[] findByUuid_PrevAndNext(long pageId, String uuid, OrderByComparator orderByComparator)
          Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ?.
 List<WikiPage> findByUuid(String uuid)
          Returns all the wiki pages where uuid = ?.
 List<WikiPage> findByUuid(String uuid, int start, int end)
          Returns a range of all the wiki pages where uuid = ?.
 List<WikiPage> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the wiki pages where uuid = ?.
protected  Set<String> getBadColumnNames()
           
protected  WikiPage getByFormat_PrevAndNext(Session session, WikiPage wikiPage, String format, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByG_N_H_P_S_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByG_N_H_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long nodeId, boolean head, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByG_N_H_S_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long nodeId, boolean head, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByG_N_S_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long nodeId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByG_N_T_H_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long nodeId, String title, boolean head, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByG_U_N_S_PrevAndNext(Session session, WikiPage wikiPage, long groupId, long userId, long nodeId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_H_NotS_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_H_P_NotS_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_H_P_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_H_P_S_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_H_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_H_R_NotS_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_H_R_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, String redirectTitle, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_H_R_S_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, String redirectTitle, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_H_S_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_P_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, String parentTitle, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_R_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, String redirectTitle, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_S_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_T_H_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, String title, boolean head, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_T_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, String title, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByN_T_S_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, String title, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByNodeId_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByR_N_H_PrevAndNext(Session session, WikiPage wikiPage, long resourcePrimKey, long nodeId, boolean head, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByR_N_PrevAndNext(Session session, WikiPage wikiPage, long resourcePrimKey, long nodeId, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByR_N_S_PrevAndNext(Session session, WikiPage wikiPage, long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByR_S_PrevAndNext(Session session, WikiPage wikiPage, long resourcePrimKey, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByResourcePrimKey_PrevAndNext(Session session, WikiPage wikiPage, long resourcePrimKey, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByU_N_S_PrevAndNext(Session session, WikiPage wikiPage, long userId, long nodeId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByUuid_C_PrevAndNext(Session session, WikiPage wikiPage, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  WikiPage getByUuid_PrevAndNext(Session session, WikiPage wikiPage, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 WikiPage remove(long pageId)
          Removes the wiki page with the primary key from the database.
 WikiPage remove(Serializable primaryKey)
          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 removeByG_N_H_P_S(long groupId, long nodeId, boolean head, String parentTitle, int status)
          Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ? from the database.
 void removeByG_N_H_S(long groupId, long nodeId, boolean head, int status)
          Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ? from the database.
 void removeByG_N_H(long groupId, long nodeId, boolean head)
          Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? from the database.
 void removeByG_N_S(long groupId, long nodeId, int status)
          Removes all the wiki pages where groupId = ? and nodeId = ? and status = ? from the database.
 void removeByG_N_T_H(long groupId, long nodeId, String title, boolean head)
          Removes all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ? from the database.
 void removeByG_U_N_S(long groupId, long userId, long nodeId, int status)
          Removes all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ? from the database.
 void removeByN_H_NotS(long nodeId, boolean head, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and status ≠ ? from the database.
 void removeByN_H_P_NotS(long nodeId, boolean head, String parentTitle, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ? from the database.
 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_R_NotS(long nodeId, boolean head, String redirectTitle, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ? from the database.
 void removeByN_H_R_S(long nodeId, boolean head, String redirectTitle, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ? from the database.
 void removeByN_H_R(long nodeId, boolean head, String redirectTitle)
          Removes all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? 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.
 WikiPage 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_H(long resourcePrimKey, long nodeId, boolean head)
          Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ? 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.
 WikiPage 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 removeByR_S(long resourcePrimKey, int status)
          Removes all the wiki pages where resourcePrimKey = ? and status = ? from the database.
 void removeByResourcePrimKey(long resourcePrimKey)
          Removes all the wiki pages where resourcePrimKey = ? 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_C(String uuid, long companyId)
          Removes all the wiki pages where uuid = ? and companyId = ? from the database.
 WikiPage 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.
protected  WikiPage removeImpl(WikiPage wikiPage)
          Removes the model instance from the database.
protected  WikiPage toUnwrappedModel(WikiPage wikiPage)
           
 WikiPage updateImpl(WikiPage wikiPage)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_RESOURCEPRIMKEY

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_RESOURCEPRIMKEY

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_RESOURCEPRIMKEY

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_RESOURCEPRIMKEY

FINDER_PATH_COUNT_BY_RESOURCEPRIMKEY

public static final FinderPath FINDER_PATH_COUNT_BY_RESOURCEPRIMKEY

FINDER_PATH_WITH_PAGINATION_FIND_BY_NODEID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_NODEID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_NODEID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_NODEID

FINDER_PATH_COUNT_BY_NODEID

public static final FinderPath FINDER_PATH_COUNT_BY_NODEID

FINDER_PATH_WITH_PAGINATION_FIND_BY_FORMAT

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FORMAT

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FORMAT

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FORMAT

FINDER_PATH_COUNT_BY_FORMAT

public static final FinderPath FINDER_PATH_COUNT_BY_FORMAT

FINDER_PATH_WITH_PAGINATION_FIND_BY_R_N

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_N

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_N

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_N

FINDER_PATH_COUNT_BY_R_N

public static final FinderPath FINDER_PATH_COUNT_BY_R_N

FINDER_PATH_WITH_PAGINATION_FIND_BY_R_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_S

FINDER_PATH_COUNT_BY_R_S

public static final FinderPath FINDER_PATH_COUNT_BY_R_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_T

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_T

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T

FINDER_PATH_COUNT_BY_N_T

public static final FinderPath FINDER_PATH_COUNT_BY_N_T

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H

FINDER_PATH_COUNT_BY_N_H

public static final FinderPath FINDER_PATH_COUNT_BY_N_H

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_P

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_P

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_P

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_P

FINDER_PATH_COUNT_BY_N_P

public static final FinderPath FINDER_PATH_COUNT_BY_N_P

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_R

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_R

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_R

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_R

FINDER_PATH_COUNT_BY_N_R

public static final FinderPath FINDER_PATH_COUNT_BY_N_R

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_S

FINDER_PATH_COUNT_BY_N_S

public static final FinderPath FINDER_PATH_COUNT_BY_N_S

FINDER_PATH_FETCH_BY_R_N_V

public static final FinderPath FINDER_PATH_FETCH_BY_R_N_V

FINDER_PATH_COUNT_BY_R_N_V

public static final FinderPath FINDER_PATH_COUNT_BY_R_N_V

FINDER_PATH_WITH_PAGINATION_FIND_BY_R_N_H

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_N_H

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_N_H

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_N_H

FINDER_PATH_COUNT_BY_R_N_H

public static final FinderPath FINDER_PATH_COUNT_BY_R_N_H

FINDER_PATH_WITH_PAGINATION_FIND_BY_R_N_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_N_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_N_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_N_S

FINDER_PATH_COUNT_BY_R_N_S

public static final FinderPath FINDER_PATH_COUNT_BY_R_N_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_H

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_H

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_H

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_H

FINDER_PATH_COUNT_BY_G_N_H

public static final FinderPath FINDER_PATH_COUNT_BY_G_N_H

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_S

FINDER_PATH_COUNT_BY_G_N_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_N_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_U_N_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_N_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_N_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_N_S

FINDER_PATH_COUNT_BY_U_N_S

public static final FinderPath FINDER_PATH_COUNT_BY_U_N_S

FINDER_PATH_FETCH_BY_N_T_V

public static final FinderPath FINDER_PATH_FETCH_BY_N_T_V

FINDER_PATH_COUNT_BY_N_T_V

public static final FinderPath FINDER_PATH_COUNT_BY_N_T_V

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_T_H

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_T_H

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T_H

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T_H

FINDER_PATH_COUNT_BY_N_T_H

public static final FinderPath FINDER_PATH_COUNT_BY_N_T_H

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_T_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_T_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T_S

FINDER_PATH_COUNT_BY_N_T_S

public static final FinderPath FINDER_PATH_COUNT_BY_N_T_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_P

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_P

FINDER_PATH_COUNT_BY_N_H_P

public static final FinderPath FINDER_PATH_COUNT_BY_N_H_P

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_R

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_R

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_R

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_R

FINDER_PATH_COUNT_BY_N_H_R

public static final FinderPath FINDER_PATH_COUNT_BY_N_H_R

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_S

FINDER_PATH_COUNT_BY_N_H_S

public static final FinderPath FINDER_PATH_COUNT_BY_N_H_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_NOTS

FINDER_PATH_WITH_PAGINATION_COUNT_BY_N_H_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_N_H_NOTS

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_N_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_N_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_N_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_N_S

FINDER_PATH_COUNT_BY_G_U_N_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_U_N_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_T_H

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_T_H

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_T_H

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_T_H

FINDER_PATH_COUNT_BY_G_N_T_H

public static final FinderPath FINDER_PATH_COUNT_BY_G_N_T_H

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_H_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_H_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_H_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_H_S

FINDER_PATH_COUNT_BY_G_N_H_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_N_H_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_P_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_P_S

FINDER_PATH_COUNT_BY_N_H_P_S

public static final FinderPath FINDER_PATH_COUNT_BY_N_H_P_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P_NOTS

FINDER_PATH_WITH_PAGINATION_COUNT_BY_N_H_P_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_N_H_P_NOTS

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_R_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_R_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_R_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_R_S

FINDER_PATH_COUNT_BY_N_H_R_S

public static final FinderPath FINDER_PATH_COUNT_BY_N_H_R_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_R_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_R_NOTS

FINDER_PATH_WITH_PAGINATION_COUNT_BY_N_H_R_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_N_H_R_NOTS

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_H_P_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_H_P_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_H_P_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_H_P_S

FINDER_PATH_COUNT_BY_G_N_H_P_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_N_H_P_S
Constructor Detail

WikiPagePersistenceImpl

public WikiPagePersistenceImpl()
Method Detail

findByUuid

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

Specified by:
findByUuid in interface WikiPagePersistence
Parameters:
uuid - the uuid
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface WikiPagePersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUuid_First

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

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

fetchByUuid_First

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

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

findByUuid_Last

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

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

fetchByUuid_Last

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

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

findByUuid_PrevAndNext

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

Specified by:
findByUuid_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected WikiPage getByUuid_PrevAndNext(Session session,
                                         WikiPage wikiPage,
                                         String uuid,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

removeByUuid

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

Specified by:
removeByUuid in interface WikiPagePersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

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

Specified by:
countByUuid in interface WikiPagePersistence
Parameters:
uuid - the uuid
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByUUID_G

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

Specified by:
findByUUID_G in interface WikiPagePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByUUID_G

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

Specified by:
fetchByUUID_G in interface WikiPagePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

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

Specified by:
fetchByUUID_G in interface WikiPagePersistence
Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

removeByUUID_G

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

Specified by:
removeByUUID_G in interface WikiPagePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the wiki page that was removed
Throws:
SystemException - if a system exception occurred
NoSuchPageException

countByUUID_G

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

Specified by:
countByUUID_G in interface WikiPagePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByUuid_C

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

Specified by:
findByUuid_C in interface WikiPagePersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByUuid_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUuid_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUuid_C_First

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

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

fetchByUuid_C_First

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

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

findByUuid_C_Last

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

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

fetchByUuid_C_Last

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

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

findByUuid_C_PrevAndNext

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

Specified by:
findByUuid_C_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_C_PrevAndNext

protected WikiPage getByUuid_C_PrevAndNext(Session session,
                                           WikiPage wikiPage,
                                           String uuid,
                                           long companyId,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

removeByUuid_C

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

Specified by:
removeByUuid_C in interface WikiPagePersistence
Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

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

Specified by:
countByUuid_C in interface WikiPagePersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

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

Specified by:
findByResourcePrimKey in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByResourcePrimKey

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByResourcePrimKey_First

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

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

fetchByResourcePrimKey_First

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

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

findByResourcePrimKey_Last

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

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

fetchByResourcePrimKey_Last

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

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

findByResourcePrimKey_PrevAndNext

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

Specified by:
findByResourcePrimKey_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByResourcePrimKey_PrevAndNext

protected WikiPage getByResourcePrimKey_PrevAndNext(Session session,
                                                    WikiPage wikiPage,
                                                    long resourcePrimKey,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

removeByResourcePrimKey

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

Specified by:
removeByResourcePrimKey in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
Throws:
SystemException - if a system exception occurred

countByResourcePrimKey

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

Specified by:
countByResourcePrimKey in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByNodeId

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

Specified by:
findByNodeId in interface WikiPagePersistence
Parameters:
nodeId - the node ID
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByNodeId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByNodeId in interface WikiPagePersistence
Parameters:
nodeId - the node ID
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByNodeId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByNodeId_First

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

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

fetchByNodeId_First

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

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

findByNodeId_Last

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

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

fetchByNodeId_Last

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

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

findByNodeId_PrevAndNext

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

Specified by:
findByNodeId_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByNodeId_PrevAndNext

protected WikiPage getByNodeId_PrevAndNext(Session session,
                                           WikiPage wikiPage,
                                           long nodeId,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

removeByNodeId

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

Specified by:
removeByNodeId in interface WikiPagePersistence
Parameters:
nodeId - the node ID
Throws:
SystemException - if a system exception occurred

countByNodeId

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

Specified by:
countByNodeId in interface WikiPagePersistence
Parameters:
nodeId - the node ID
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByFormat

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

Specified by:
findByFormat in interface WikiPagePersistence
Parameters:
format - the format
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByFormat

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByFormat in interface WikiPagePersistence
Parameters:
format - the format
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByFormat

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByFormat in interface WikiPagePersistence
Parameters:
format - the format
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByFormat_First

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

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

fetchByFormat_First

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

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

findByFormat_Last

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

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

fetchByFormat_Last

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

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

findByFormat_PrevAndNext

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

Specified by:
findByFormat_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
format - the format
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByFormat_PrevAndNext

protected WikiPage getByFormat_PrevAndNext(Session session,
                                           WikiPage wikiPage,
                                           String format,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

removeByFormat

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

Specified by:
removeByFormat in interface WikiPagePersistence
Parameters:
format - the format
Throws:
SystemException - if a system exception occurred

countByFormat

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

Specified by:
countByFormat in interface WikiPagePersistence
Parameters:
format - the format
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N

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

Specified by:
findByR_N in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_N

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_N_First

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

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

fetchByR_N_First

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

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

findByR_N_Last

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

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

fetchByR_N_Last

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

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

findByR_N_PrevAndNext

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

Specified by:
findByR_N_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key
nodeId - the node ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByR_N_PrevAndNext

protected WikiPage getByR_N_PrevAndNext(Session session,
                                        WikiPage wikiPage,
                                        long resourcePrimKey,
                                        long nodeId,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

removeByR_N

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

Specified by:
removeByR_N in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
Throws:
SystemException - if a system exception occurred

countByR_N

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

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

findByR_S

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

Specified by:
findByR_S in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_S_First

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

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

fetchByR_S_First

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

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

findByR_S_Last

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

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

fetchByR_S_Last

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

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

findByR_S_PrevAndNext

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

Specified by:
findByR_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByR_S_PrevAndNext

protected WikiPage getByR_S_PrevAndNext(Session session,
                                        WikiPage wikiPage,
                                        long resourcePrimKey,
                                        int status,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

removeByR_S

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

Specified by:
removeByR_S in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status
Throws:
SystemException - if a system exception occurred

countByR_S

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

Specified by:
countByR_S in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T

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

Specified by:
findByN_T in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByN_T in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_T_First

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

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

fetchByN_T_First

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

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

findByN_T_Last

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

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

fetchByN_T_Last

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

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

findByN_T_PrevAndNext

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

Specified by:
findByN_T_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
title - the title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_T_PrevAndNext

protected WikiPage getByN_T_PrevAndNext(Session session,
                                        WikiPage wikiPage,
                                        long nodeId,
                                        String title,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

removeByN_T

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

Specified by:
removeByN_T in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
Throws:
SystemException - if a system exception occurred

countByN_T

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

Specified by:
countByN_T in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H

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

Specified by:
findByN_H in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_First

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

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

fetchByN_H_First

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

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

findByN_H_Last

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

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

fetchByN_H_Last

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

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

findByN_H_PrevAndNext

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

Specified by:
findByN_H_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_H_PrevAndNext

protected WikiPage getByN_H_PrevAndNext(Session session,
                                        WikiPage wikiPage,
                                        long nodeId,
                                        boolean head,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

removeByN_H

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

Specified by:
removeByN_H in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
Throws:
SystemException - if a system exception occurred

countByN_H

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

Specified by:
countByN_H in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_P

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

Specified by:
findByN_P in interface WikiPagePersistence
Parameters:
nodeId - the node ID
parentTitle - the parent title
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_P

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_P

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_P_First

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

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

fetchByN_P_First

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

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

findByN_P_Last

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

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

fetchByN_P_Last

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

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

findByN_P_PrevAndNext

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

Specified by:
findByN_P_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
parentTitle - the parent title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_P_PrevAndNext

protected WikiPage getByN_P_PrevAndNext(Session session,
                                        WikiPage wikiPage,
                                        long nodeId,
                                        String parentTitle,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

removeByN_P

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

Specified by:
removeByN_P in interface WikiPagePersistence
Parameters:
nodeId - the node ID
parentTitle - the parent title
Throws:
SystemException - if a system exception occurred

countByN_P

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

Specified by:
countByN_P in interface WikiPagePersistence
Parameters:
nodeId - the node ID
parentTitle - the parent title
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_R

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

Specified by:
findByN_R in interface WikiPagePersistence
Parameters:
nodeId - the node ID
redirectTitle - the redirect title
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_R_First

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

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

fetchByN_R_First

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

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

findByN_R_Last

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

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

fetchByN_R_Last

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

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

findByN_R_PrevAndNext

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

Specified by:
findByN_R_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
redirectTitle - the redirect title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_R_PrevAndNext

protected WikiPage getByN_R_PrevAndNext(Session session,
                                        WikiPage wikiPage,
                                        long nodeId,
                                        String redirectTitle,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

removeByN_R

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

Specified by:
removeByN_R in interface WikiPagePersistence
Parameters:
nodeId - the node ID
redirectTitle - the redirect title
Throws:
SystemException - if a system exception occurred

countByN_R

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

Specified by:
countByN_R in interface WikiPagePersistence
Parameters:
nodeId - the node ID
redirectTitle - the redirect title
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_S

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

Specified by:
findByN_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_S_First

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

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

fetchByN_S_First

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

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

findByN_S_Last

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

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

fetchByN_S_Last

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

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

findByN_S_PrevAndNext

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

Specified by:
findByN_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_S_PrevAndNext

protected WikiPage getByN_S_PrevAndNext(Session session,
                                        WikiPage wikiPage,
                                        long nodeId,
                                        int status,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

removeByN_S

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

Specified by:
removeByN_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
status - the status
Throws:
SystemException - if a system exception occurred

countByN_S

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

Specified by:
countByN_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N_V

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

Specified by:
findByR_N_V in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
version - the version
Returns:
the matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByR_N_V

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

Specified by:
fetchByR_N_V in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
version - the version
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

fetchByR_N_V

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

Specified by:
fetchByR_N_V in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
version - the version
retrieveFromCache - whether to use the finder cache
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

removeByR_N_V

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

Specified by:
removeByR_N_V in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
version - the version
Returns:
the wiki page that was removed
Throws:
SystemException - if a system exception occurred
NoSuchPageException

countByR_N_V

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

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

findByR_N_H

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

Specified by:
findByR_N_H in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_N_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_N_H_First

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

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

fetchByR_N_H_First

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

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

findByR_N_H_Last

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

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

fetchByR_N_H_Last

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

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

findByR_N_H_PrevAndNext

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

Specified by:
findByR_N_H_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByR_N_H_PrevAndNext

protected WikiPage getByR_N_H_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          long resourcePrimKey,
                                          long nodeId,
                                          boolean head,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

removeByR_N_H

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

Specified by:
removeByR_N_H in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
Throws:
SystemException - if a system exception occurred

countByR_N_H

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

Specified by:
countByR_N_H in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
head - the head
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N_S

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

Specified by:
findByR_N_S in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByR_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByR_N_S_First

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

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

fetchByR_N_S_First

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

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

findByR_N_S_Last

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

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

fetchByR_N_S_Last

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

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

findByR_N_S_PrevAndNext

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

Specified by:
findByR_N_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
resourcePrimKey - the resource prim key
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByR_N_S_PrevAndNext

protected WikiPage getByR_N_S_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          long resourcePrimKey,
                                          long nodeId,
                                          int status,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

removeByR_N_S

public 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.

Specified by:
removeByR_N_S in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key
nodeId - the node ID
status - the status
Throws:
SystemException - if a system exception occurred

countByR_N_S

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

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

findByG_N_H

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

Specified by:
findByG_N_H in interface WikiPagePersistence
Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_H_First

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

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

fetchByG_N_H_First

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

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

findByG_N_H_Last

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

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

fetchByG_N_H_Last

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

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

findByG_N_H_PrevAndNext

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

Specified by:
findByG_N_H_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByG_N_H_PrevAndNext

protected WikiPage getByG_N_H_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          long groupId,
                                          long nodeId,
                                          boolean head,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

filterFindByG_N_H

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

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

filterFindByG_N_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_N_H

public List<WikiPage> filterFindByG_N_H(long groupId,
                                        long nodeId,
                                        boolean head,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_N_H_PrevAndNext

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

Specified by:
filterFindByG_N_H_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_N_H_PrevAndNext

protected WikiPage filterGetByG_N_H_PrevAndNext(Session session,
                                                WikiPage wikiPage,
                                                long groupId,
                                                long nodeId,
                                                boolean head,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

removeByG_N_H

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

Specified by:
removeByG_N_H in interface WikiPagePersistence
Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
Throws:
SystemException - if a system exception occurred

countByG_N_H

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

Specified by:
countByG_N_H in interface WikiPagePersistence
Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

filterCountByG_N_H

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

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

findByG_N_S

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

Specified by:
findByG_N_S in interface WikiPagePersistence
Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_S_First

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

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

fetchByG_N_S_First

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

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

findByG_N_S_Last

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

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

fetchByG_N_S_Last

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

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

findByG_N_S_PrevAndNext

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

Specified by:
findByG_N_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByG_N_S_PrevAndNext

protected WikiPage getByG_N_S_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          long groupId,
                                          long nodeId,
                                          int status,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

filterFindByG_N_S

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

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

filterFindByG_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_N_S

public List<WikiPage> filterFindByG_N_S(long groupId,
                                        long nodeId,
                                        int status,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_N_S_PrevAndNext

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

Specified by:
filterFindByG_N_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_N_S_PrevAndNext

protected WikiPage filterGetByG_N_S_PrevAndNext(Session session,
                                                WikiPage wikiPage,
                                                long groupId,
                                                long nodeId,
                                                int status,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

removeByG_N_S

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

Specified by:
removeByG_N_S in interface WikiPagePersistence
Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_N_S

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

Specified by:
countByG_N_S in interface WikiPagePersistence
Parameters:
groupId - the group ID
nodeId - the node ID
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

filterCountByG_N_S

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

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

findByU_N_S

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

Specified by:
findByU_N_S in interface WikiPagePersistence
Parameters:
userId - the user ID
nodeId - the node ID
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByU_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_N_S_First

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

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

fetchByU_N_S_First

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

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

findByU_N_S_Last

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

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

fetchByU_N_S_Last

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

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

findByU_N_S_PrevAndNext

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

Specified by:
findByU_N_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByU_N_S_PrevAndNext

protected WikiPage getByU_N_S_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          long userId,
                                          long nodeId,
                                          int status,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

removeByU_N_S

public 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.

Specified by:
removeByU_N_S in interface WikiPagePersistence
Parameters:
userId - the user ID
nodeId - the node ID
status - the status
Throws:
SystemException - if a system exception occurred

countByU_N_S

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

Specified by:
countByU_N_S in interface WikiPagePersistence
Parameters:
userId - the user ID
nodeId - the node ID
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_V

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

Specified by:
findByN_T_V in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
version - the version
Returns:
the matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_T_V

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

Specified by:
fetchByN_T_V in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
version - the version
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

fetchByN_T_V

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

Specified by:
fetchByN_T_V in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
version - the version
retrieveFromCache - whether to use the finder cache
Returns:
the matching wiki page, or null if a matching wiki page could not be found
Throws:
SystemException - if a system exception occurred

removeByN_T_V

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

Specified by:
removeByN_T_V in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
version - the version
Returns:
the wiki page that was removed
Throws:
SystemException - if a system exception occurred
NoSuchPageException

countByN_T_V

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

Specified by:
countByN_T_V in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
version - the version
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_H

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

Specified by:
findByN_T_H in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
head - the head
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByN_T_H in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
head - the head
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_T_H_First

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

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

fetchByN_T_H_First

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

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

findByN_T_H_Last

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

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

fetchByN_T_H_Last

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

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

findByN_T_H_PrevAndNext

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

Specified by:
findByN_T_H_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_T_H_PrevAndNext

protected WikiPage getByN_T_H_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          long nodeId,
                                          String title,
                                          boolean head,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

removeByN_T_H

public 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.

Specified by:
removeByN_T_H in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
head - the head
Throws:
SystemException - if a system exception occurred

countByN_T_H

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

Specified by:
countByN_T_H in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
head - the head
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_S

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

Specified by:
findByN_T_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByN_T_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
status - the status
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_T_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_T_S_First

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

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

fetchByN_T_S_First

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

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

findByN_T_S_Last

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

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

fetchByN_T_S_Last

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

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

findByN_T_S_PrevAndNext

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

Specified by:
findByN_T_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
title - the title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_T_S_PrevAndNext

protected WikiPage getByN_T_S_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          long nodeId,
                                          String title,
                                          int status,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

removeByN_T_S

public 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.

Specified by:
removeByN_T_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
status - the status
Throws:
SystemException - if a system exception occurred

countByN_T_S

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

Specified by:
countByN_T_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
title - the title
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_P

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

Specified by:
findByN_H_P in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_P

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_P

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_P_First

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

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

fetchByN_H_P_First

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

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

findByN_H_P_Last

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

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

fetchByN_H_P_Last

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

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

findByN_H_P_PrevAndNext

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

Specified by:
findByN_H_P_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
parentTitle - the parent title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_H_P_PrevAndNext

protected WikiPage getByN_H_P_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          long nodeId,
                                          boolean head,
                                          String parentTitle,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

removeByN_H_P

public 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.

Specified by:
removeByN_H_P in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
Throws:
SystemException - if a system exception occurred

countByN_H_P

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

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

findByN_H_R

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

Specified by:
findByN_H_R in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_R_First

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

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

fetchByN_H_R_First

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

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

findByN_H_R_Last

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

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

fetchByN_H_R_Last

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

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

findByN_H_R_PrevAndNext

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

Specified by:
findByN_H_R_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
redirectTitle - the redirect title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_H_R_PrevAndNext

protected WikiPage getByN_H_R_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          long nodeId,
                                          boolean head,
                                          String redirectTitle,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

removeByN_H_R

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

Specified by:
removeByN_H_R in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
Throws:
SystemException - if a system exception occurred

countByN_H_R

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

Specified by:
countByN_H_R in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_S

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

Specified by:
findByN_H_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_S_First

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

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

fetchByN_H_S_First

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

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

findByN_H_S_Last

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

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

fetchByN_H_S_Last

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

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

findByN_H_S_PrevAndNext

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

Specified by:
findByN_H_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_H_S_PrevAndNext

protected WikiPage getByN_H_S_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          long nodeId,
                                          boolean head,
                                          int status,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

removeByN_H_S

public 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.

Specified by:
removeByN_H_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
status - the status
Throws:
SystemException - if a system exception occurred

countByN_H_S

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

Specified by:
countByN_H_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_NotS

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

Specified by:
findByN_H_NotS in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_NotS

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_NotS

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_NotS_First

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

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

fetchByN_H_NotS_First

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

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

findByN_H_NotS_Last

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

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

fetchByN_H_NotS_Last

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

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

findByN_H_NotS_PrevAndNext

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

Specified by:
findByN_H_NotS_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_H_NotS_PrevAndNext

protected WikiPage getByN_H_NotS_PrevAndNext(Session session,
                                             WikiPage wikiPage,
                                             long nodeId,
                                             boolean head,
                                             int status,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

removeByN_H_NotS

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

Specified by:
removeByN_H_NotS in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
status - the status
Throws:
SystemException - if a system exception occurred

countByN_H_NotS

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

Specified by:
countByN_H_NotS in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
status - the status
Returns:
the number of matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_U_N_S

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

Specified by:
findByG_U_N_S in interface WikiPagePersistence
Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_U_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_U_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_U_N_S_First

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

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

fetchByG_U_N_S_First

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

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

findByG_U_N_S_Last

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

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

fetchByG_U_N_S_Last

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

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

findByG_U_N_S_PrevAndNext

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

Specified by:
findByG_U_N_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByG_U_N_S_PrevAndNext

protected WikiPage getByG_U_N_S_PrevAndNext(Session session,
                                            WikiPage wikiPage,
                                            long groupId,
                                            long userId,
                                            long nodeId,
                                            int status,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

filterFindByG_U_N_S

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

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

filterFindByG_U_N_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_U_N_S

public List<WikiPage> filterFindByG_U_N_S(long groupId,
                                          long userId,
                                          long nodeId,
                                          int status,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and userId = ? and nodeId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_U_N_S_PrevAndNext

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

Specified by:
filterFindByG_U_N_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_U_N_S_PrevAndNext

protected WikiPage filterGetByG_U_N_S_PrevAndNext(Session session,
                                                  WikiPage wikiPage,
                                                  long groupId,
                                                  long userId,
                                                  long nodeId,
                                                  int status,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

removeByG_U_N_S

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

Specified by:
removeByG_U_N_S in interface WikiPagePersistence
Parameters:
groupId - the group ID
userId - the user ID
nodeId - the node ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_U_N_S

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

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

filterCountByG_U_N_S

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

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

findByG_N_T_H

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

Specified by:
findByG_N_T_H in interface WikiPagePersistence
Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_T_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_T_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_T_H_First

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

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

fetchByG_N_T_H_First

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

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

findByG_N_T_H_Last

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

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

fetchByG_N_T_H_Last

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

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

findByG_N_T_H_PrevAndNext

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

Specified by:
findByG_N_T_H_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByG_N_T_H_PrevAndNext

protected WikiPage getByG_N_T_H_PrevAndNext(Session session,
                                            WikiPage wikiPage,
                                            long groupId,
                                            long nodeId,
                                            String title,
                                            boolean head,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

filterFindByG_N_T_H

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

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

filterFindByG_N_T_H

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_N_T_H

public List<WikiPage> filterFindByG_N_T_H(long groupId,
                                          long nodeId,
                                          String title,
                                          boolean head,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and title = ? and head = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_N_T_H_PrevAndNext

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

Specified by:
filterFindByG_N_T_H_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_N_T_H_PrevAndNext

protected WikiPage filterGetByG_N_T_H_PrevAndNext(Session session,
                                                  WikiPage wikiPage,
                                                  long groupId,
                                                  long nodeId,
                                                  String title,
                                                  boolean head,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

removeByG_N_T_H

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

Specified by:
removeByG_N_T_H in interface WikiPagePersistence
Parameters:
groupId - the group ID
nodeId - the node ID
title - the title
head - the head
Throws:
SystemException - if a system exception occurred

countByG_N_T_H

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

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

filterCountByG_N_T_H

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

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

findByG_N_H_S

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

Specified by:
findByG_N_H_S in interface WikiPagePersistence
Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByG_N_H_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_H_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_H_S_First

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

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

fetchByG_N_H_S_First

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

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

findByG_N_H_S_Last

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

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

fetchByG_N_H_S_Last

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

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

findByG_N_H_S_PrevAndNext

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

Specified by:
findByG_N_H_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByG_N_H_S_PrevAndNext

protected WikiPage getByG_N_H_S_PrevAndNext(Session session,
                                            WikiPage wikiPage,
                                            long groupId,
                                            long nodeId,
                                            boolean head,
                                            int status,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

filterFindByG_N_H_S

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

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

filterFindByG_N_H_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_N_H_S

public List<WikiPage> filterFindByG_N_H_S(long groupId,
                                          long nodeId,
                                          boolean head,
                                          int status,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_N_H_S_PrevAndNext

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

Specified by:
filterFindByG_N_H_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_N_H_S_PrevAndNext

protected WikiPage filterGetByG_N_H_S_PrevAndNext(Session session,
                                                  WikiPage wikiPage,
                                                  long groupId,
                                                  long nodeId,
                                                  boolean head,
                                                  int status,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

removeByG_N_H_S

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

Specified by:
removeByG_N_H_S in interface WikiPagePersistence
Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
status - the status
Throws:
SystemException - if a system exception occurred

countByG_N_H_S

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

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

filterCountByG_N_H_S

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

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

findByN_H_P_S

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

Specified by:
findByN_H_P_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_P_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_P_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_P_S_First

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

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

fetchByN_H_P_S_First

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

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

findByN_H_P_S_Last

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

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

fetchByN_H_P_S_Last

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

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

findByN_H_P_S_PrevAndNext

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

Specified by:
findByN_H_P_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_H_P_S_PrevAndNext

protected WikiPage getByN_H_P_S_PrevAndNext(Session session,
                                            WikiPage wikiPage,
                                            long nodeId,
                                            boolean head,
                                            String parentTitle,
                                            int status,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

removeByN_H_P_S

public 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.

Specified by:
removeByN_H_P_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
Throws:
SystemException - if a system exception occurred

countByN_H_P_S

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

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

findByN_H_P_NotS

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

Specified by:
findByN_H_P_NotS in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_P_NotS

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_P_NotS

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_P_NotS_First

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

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

fetchByN_H_P_NotS_First

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

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

findByN_H_P_NotS_Last

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

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

fetchByN_H_P_NotS_Last

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

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

findByN_H_P_NotS_PrevAndNext

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

Specified by:
findByN_H_P_NotS_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_H_P_NotS_PrevAndNext

protected WikiPage getByN_H_P_NotS_PrevAndNext(Session session,
                                               WikiPage wikiPage,
                                               long nodeId,
                                               boolean head,
                                               String parentTitle,
                                               int status,
                                               OrderByComparator orderByComparator,
                                               boolean previous)

removeByN_H_P_NotS

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

Specified by:
removeByN_H_P_NotS in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
Throws:
SystemException - if a system exception occurred

countByN_H_P_NotS

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

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

findByN_H_R_S

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

Specified by:
findByN_H_R_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_R_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_R_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_R_S_First

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

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

fetchByN_H_R_S_First

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

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

findByN_H_R_S_Last

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

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

fetchByN_H_R_S_Last

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

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

findByN_H_R_S_PrevAndNext

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

Specified by:
findByN_H_R_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_H_R_S_PrevAndNext

protected WikiPage getByN_H_R_S_PrevAndNext(Session session,
                                            WikiPage wikiPage,
                                            long nodeId,
                                            boolean head,
                                            String redirectTitle,
                                            int status,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

removeByN_H_R_S

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

Specified by:
removeByN_H_R_S in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
Throws:
SystemException - if a system exception occurred

countByN_H_R_S

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

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

findByN_H_R_NotS

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

Specified by:
findByN_H_R_NotS in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_R_NotS

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_R_NotS

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByN_H_R_NotS_First

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

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

fetchByN_H_R_NotS_First

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

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

findByN_H_R_NotS_Last

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

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

fetchByN_H_R_NotS_Last

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

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

findByN_H_R_NotS_PrevAndNext

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

Specified by:
findByN_H_R_NotS_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByN_H_R_NotS_PrevAndNext

protected WikiPage getByN_H_R_NotS_PrevAndNext(Session session,
                                               WikiPage wikiPage,
                                               long nodeId,
                                               boolean head,
                                               String redirectTitle,
                                               int status,
                                               OrderByComparator orderByComparator,
                                               boolean previous)

removeByN_H_R_NotS

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

Specified by:
removeByN_H_R_NotS in interface WikiPagePersistence
Parameters:
nodeId - the node ID
head - the head
redirectTitle - the redirect title
status - the status
Throws:
SystemException - if a system exception occurred

countByN_H_R_NotS

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

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

findByG_N_H_P_S

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

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

findByG_N_H_P_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_H_P_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_N_H_P_S_First

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

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

fetchByG_N_H_P_S_First

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

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

findByG_N_H_P_S_Last

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

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

fetchByG_N_H_P_S_Last

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

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

findByG_N_H_P_S_PrevAndNext

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

Specified by:
findByG_N_H_P_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

getByG_N_H_P_S_PrevAndNext

protected WikiPage getByG_N_H_P_S_PrevAndNext(Session session,
                                              WikiPage wikiPage,
                                              long groupId,
                                              long nodeId,
                                              boolean head,
                                              String parentTitle,
                                              int status,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByG_N_H_P_S

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

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

filterFindByG_N_H_P_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_N_H_P_S

public List<WikiPage> filterFindByG_N_H_P_S(long groupId,
                                            long nodeId,
                                            boolean head,
                                            String parentTitle,
                                            int status,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_N_H_P_S_PrevAndNext

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

Specified by:
filterFindByG_N_H_P_S_PrevAndNext in interface WikiPagePersistence
Parameters:
pageId - the primary key of the current wiki page
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_N_H_P_S_PrevAndNext

protected WikiPage filterGetByG_N_H_P_S_PrevAndNext(Session session,
                                                    WikiPage wikiPage,
                                                    long groupId,
                                                    long nodeId,
                                                    boolean head,
                                                    String parentTitle,
                                                    int status,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

removeByG_N_H_P_S

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

Specified by:
removeByG_N_H_P_S in interface WikiPagePersistence
Parameters:
groupId - the group ID
nodeId - the node ID
head - the head
parentTitle - the parent title
status - the status
Throws:
SystemException - if a system exception occurred

countByG_N_H_P_S

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

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

filterCountByG_N_H_P_S

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

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

cacheResult

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

Specified by:
cacheResult in interface WikiPagePersistence
Parameters:
wikiPage - the wiki page

cacheResult

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

Specified by:
cacheResult in interface WikiPagePersistence
Parameters:
wikiPages - the wiki pages

clearCache

public void clearCache()
Clears the cache for all wiki pages.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<WikiPage>
Overrides:
clearCache in class BasePersistenceImpl<WikiPage>

clearCache

public void clearCache(WikiPage wikiPage)
Clears the cache for the wiki page.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<WikiPage>
Overrides:
clearCache in class BasePersistenceImpl<WikiPage>
Parameters:
wikiPage - the instance of this model to clear the cache for

clearCache

public void clearCache(List<WikiPage> wikiPages)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<WikiPage>
Overrides:
clearCache in class BasePersistenceImpl<WikiPage>
Parameters:
wikiPages - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(WikiPage wikiPage)

clearUniqueFindersCache

protected void clearUniqueFindersCache(WikiPage wikiPage)

create

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

Specified by:
create in interface WikiPagePersistence
Parameters:
pageId - the primary key for the new wiki page
Returns:
the new wiki page

remove

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

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

remove

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

Specified by:
remove in interface BasePersistence<WikiPage>
Overrides:
remove in class BasePersistenceImpl<WikiPage>
Parameters:
primaryKey - the primary key of the wiki page
Returns:
the wiki page that was removed
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected WikiPage removeImpl(WikiPage wikiPage)
                       throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<WikiPage>
Parameters:
wikiPage - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public WikiPage updateImpl(WikiPage wikiPage)
                    throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface WikiPagePersistence
Overrides:
updateImpl in class BasePersistenceImpl<WikiPage>
Parameters:
wikiPage - the model instance to update
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected WikiPage toUnwrappedModel(WikiPage wikiPage)

findByPrimaryKey

public WikiPage findByPrimaryKey(Serializable primaryKey)
                          throws NoSuchPageException,
                                 SystemException
Returns the wiki page with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<WikiPage>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<WikiPage>
Parameters:
primaryKey - the primary key of the wiki page
Returns:
the wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface WikiPagePersistence
Parameters:
pageId - the primary key of the wiki page
Returns:
the wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public WikiPage fetchByPrimaryKey(Serializable primaryKey)
                           throws SystemException
Returns the wiki page with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<WikiPage>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<WikiPage>
Parameters:
primaryKey - the primary key of the wiki page
Returns:
the wiki page, or null if a wiki page with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

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

Specified by:
fetchByPrimaryKey in interface WikiPagePersistence
Parameters:
pageId - the primary key of the wiki page
Returns:
the wiki page, or null if a wiki page with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findAll

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

Specified by:
findAll in interface WikiPagePersistence
Returns:
the wiki pages
Throws:
SystemException - if a system exception occurred

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface WikiPagePersistence
Parameters:
start - the lower bound of the range of wiki pages
end - the upper bound of the range of wiki pages (not inclusive)
Returns:
the range of wiki pages
Throws:
SystemException - if a system exception occurred

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

removeAll

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

Specified by:
removeAll in interface WikiPagePersistence
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Returns the number of wiki pages.

Specified by:
countAll in interface WikiPagePersistence
Returns:
the number of wiki pages
Throws:
SystemException - if a system exception occurred

getBadColumnNames

protected Set<String> getBadColumnNames()
Overrides:
getBadColumnNames in class BasePersistenceImpl<WikiPage>

afterPropertiesSet

public void afterPropertiesSet()
Initializes the wiki page persistence.


destroy

public void destroy()

Liferay 6.2-ce-ga5