Liferay 6.1.2-ce-ga3

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
protected  AssetCategoryPersistence assetCategoryPersistence
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetLinkPersistence assetLinkPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  CompanyPersistence companyPersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
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_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_S
           
static FinderPath FINDER_PATH_COUNT_BY_R_N_V
           
static FinderPath FINDER_PATH_COUNT_BY_U_N_S
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
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_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_P
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P_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_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_N_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
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_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_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_N_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
protected  GroupPersistence groupPersistence
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  UserPersistence userPersistence
           
protected  WikiNodePersistence wikiNodePersistence
           
protected  WikiPagePersistence wikiPagePersistence
           
protected  WikiPageResourcePersistence wikiPageResourcePersistence
           
protected  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
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_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_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_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 countByU_N_S(long userId, long nodeId, int status)
          Returns the number of wiki pages where userId = ? and nodeId = ? and status = ?.
 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_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_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_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_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 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_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_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_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_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_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 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_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  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_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_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_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 getByU_N_S_PrevAndNext(Session session, WikiPage wikiPage, long userId, long nodeId, int status, 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_P_S(long nodeId, boolean head, String parentTitle, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ? from the database.
 void removeByN_H_P(long nodeId, boolean head, String parentTitle)
          Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? from the database.
 void removeByN_H_S(long nodeId, boolean head, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and status = ? from the database.
 void removeByN_H(long nodeId, boolean head)
          Removes all the wiki pages where nodeId = ? and head = ? from the database.
 void removeByN_P(long nodeId, String parentTitle)
          Removes all the wiki pages where nodeId = ? and parentTitle = ? from the database.
 void removeByN_R(long nodeId, String redirectTitle)
          Removes all the wiki pages where nodeId = ? and redirectTitle = ? from the database.
 void removeByN_S(long nodeId, int status)
          Removes all the wiki pages where nodeId = ? and status = ? from the database.
 void removeByN_T_H(long nodeId, String title, boolean head)
          Removes all the wiki pages where nodeId = ? and title = ? and head = ? from the database.
 void removeByN_T_S(long nodeId, String title, int status)
          Removes all the wiki pages where nodeId = ? and title = ? and status = ? from the database.
 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_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 removeByU_N_S(long userId, long nodeId, int status)
          Removes all the wiki pages where userId = ? and nodeId = ? and status = ? 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, boolean merge)
          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, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, 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_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_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_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_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_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_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_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

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

wikiNodePersistence

@BeanReference(type=WikiNodePersistence.class)
protected WikiNodePersistence wikiNodePersistence

wikiPagePersistence

@BeanReference(type=WikiPagePersistence.class)
protected WikiPagePersistence wikiPagePersistence

wikiPageResourcePersistence

@BeanReference(type=WikiPageResourcePersistence.class)
protected WikiPageResourcePersistence wikiPageResourcePersistence

companyPersistence

@BeanReference(type=CompanyPersistence.class)
protected CompanyPersistence companyPersistence

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

portletPreferencesPersistence

@BeanReference(type=PortletPreferencesPersistence.class)
protected PortletPreferencesPersistence portletPreferencesPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

subscriptionPersistence

@BeanReference(type=SubscriptionPersistence.class)
protected SubscriptionPersistence subscriptionPersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

workflowInstanceLinkPersistence

@BeanReference(type=WorkflowInstanceLinkPersistence.class)
protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence

assetCategoryPersistence

@BeanReference(type=AssetCategoryPersistence.class)
protected AssetCategoryPersistence assetCategoryPersistence

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetLinkPersistence

@BeanReference(type=AssetLinkPersistence.class)
protected AssetLinkPersistence assetLinkPersistence

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

mbMessagePersistence

@BeanReference(type=MBMessagePersistence.class)
protected MBMessagePersistence mbMessagePersistence

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence
Constructor Detail

WikiPagePersistenceImpl

public WikiPagePersistenceImpl()
Method Detail

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,
                           boolean merge)
                    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
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
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 NoSuchModelException,
                                 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:
NoSuchModelException - 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

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.

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.

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)

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

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.

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.

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)

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.

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.

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)

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.

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.

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)

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.

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.

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)

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.

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.

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)

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.

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.

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)

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.

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.

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)

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.

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.

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)

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

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.

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.

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)

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.

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.

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.

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.

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)

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.

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.

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.

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.

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)

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.

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.

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)

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

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.

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.

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)

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.

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.

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)

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.

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.

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)

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.

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.

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)

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.

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.

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.

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.

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)

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.

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.

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.

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.

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)

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.

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.

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.

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.

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)

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.

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.

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)

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.

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.

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.

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.