Liferay 6.0.5

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.

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

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 is generated.

Field Summary
protected  AssetCategoryPersistence assetCategoryPersistence
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  CompanyPersistence companyPersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_FORMAT
           
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_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_FORMAT
           
static FinderPath FINDER_PATH_FIND_BY_N_H
           
static FinderPath FINDER_PATH_FIND_BY_N_H_P
           
static FinderPath FINDER_PATH_FIND_BY_N_H_P_S
           
static FinderPath FINDER_PATH_FIND_BY_N_H_S
           
static FinderPath FINDER_PATH_FIND_BY_N_P
           
static FinderPath FINDER_PATH_FIND_BY_N_R
           
static FinderPath FINDER_PATH_FIND_BY_N_S
           
static FinderPath FINDER_PATH_FIND_BY_N_T
           
static FinderPath FINDER_PATH_FIND_BY_N_T_H
           
static FinderPath FINDER_PATH_FIND_BY_N_T_S
           
static FinderPath FINDER_PATH_FIND_BY_NODEID
           
static FinderPath FINDER_PATH_FIND_BY_R_N
           
static FinderPath FINDER_PATH_FIND_BY_R_N_S
           
static FinderPath FINDER_PATH_FIND_BY_U_N_S
           
static FinderPath FINDER_PATH_FIND_BY_UUID
           
protected  GroupPersistence groupPersistence
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  SocialEquityLogPersistence socialEquityLogPersistence
           
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, 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.
 void clearCache()
          Clears the cache for all wiki pages.
 void clearCache(WikiPage wikiPage)
          Clears the cache for the wiki page.
 int countAll()
          Counts all the wiki pages.
 int countByFormat(String format)
          Counts all the wiki pages where format = ?.
 int countByN_H_P_S(long nodeId, boolean head, String parentTitle, int status)
          Counts all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 int countByN_H_P(long nodeId, boolean head, String parentTitle)
          Counts all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.
 int countByN_H_S(long nodeId, boolean head, int status)
          Counts all the wiki pages where nodeId = ? and head = ? and status = ?.
 int countByN_H(long nodeId, boolean head)
          Counts all the wiki pages where nodeId = ? and head = ?.
 int countByN_P(long nodeId, String parentTitle)
          Counts all the wiki pages where nodeId = ? and parentTitle = ?.
 int countByN_R(long nodeId, String redirectTitle)
          Counts all the wiki pages where nodeId = ? and redirectTitle = ?.
 int countByN_S(long nodeId, int status)
          Counts all the wiki pages where nodeId = ? and status = ?.
 int countByN_T_H(long nodeId, String title, boolean head)
          Counts all the wiki pages where nodeId = ? and title = ? and head = ?.
 int countByN_T_S(long nodeId, String title, int status)
          Counts all the wiki pages where nodeId = ? and title = ? and status = ?.
 int countByN_T_V(long nodeId, String title, double version)
          Counts all the wiki pages where nodeId = ? and title = ? and version = ?.
 int countByN_T(long nodeId, String title)
          Counts all the wiki pages where nodeId = ? and title = ?.
 int countByNodeId(long nodeId)
          Counts all the wiki pages where nodeId = ?.
 int countByR_N_S(long resourcePrimKey, long nodeId, int status)
          Counts all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.
 int countByR_N_V(long resourcePrimKey, long nodeId, double version)
          Counts all the wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?.
 int countByR_N(long resourcePrimKey, long nodeId)
          Counts all the wiki pages where resourcePrimKey = ? and nodeId = ?.
 int countByU_N_S(long userId, long nodeId, int status)
          Counts all the wiki pages where userId = ? and nodeId = ? and status = ?.
 int countByUUID_G(String uuid, long groupId)
          Counts all the wiki pages where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Counts all the wiki pages where uuid = ?.
 WikiPage create(long pageId)
          Creates a new wiki page with the primary key.
 WikiPage fetchByN_T_V(long nodeId, String title, double version)
          Finds the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found.
 WikiPage fetchByN_T_V(long nodeId, String title, double version, boolean retrieveFromCache)
          Finds the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
 WikiPage fetchByPrimaryKey(long pageId)
          Finds the wiki page with the primary key or returns null if it could not be found.
 WikiPage fetchByPrimaryKey(Serializable primaryKey)
          Finds the wiki page with the primary key or returns null if it could not be found.
 WikiPage fetchByR_N_V(long resourcePrimKey, long nodeId, double version)
          Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found.
 WikiPage fetchByR_N_V(long resourcePrimKey, long nodeId, double version, boolean retrieveFromCache)
          Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
 WikiPage fetchByUUID_G(String uuid, long groupId)
          Finds the wiki page where uuid = ? and groupId = ? or returns null if it could not be found.
 WikiPage fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Finds the wiki page where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 List<WikiPage> findAll()
          Finds all the wiki pages.
 List<WikiPage> findAll(int start, int end)
          Finds a range of all the wiki pages.
 List<WikiPage> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages.
 WikiPage findByFormat_First(String format, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where format = ?.
 WikiPage findByFormat_Last(String format, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where format = ?.
 WikiPage[] findByFormat_PrevAndNext(long pageId, String format, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where format = ?.
 List<WikiPage> findByFormat(String format)
          Finds all the wiki pages where format = ?.
 List<WikiPage> findByFormat(String format, int start, int end)
          Finds a range of all the wiki pages where format = ?.
 List<WikiPage> findByFormat(String format, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where format = ?.
 WikiPage findByN_H_First(long nodeId, boolean head, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and head = ?.
 WikiPage findByN_H_Last(long nodeId, boolean head, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and head = ?.
 WikiPage findByN_H_P_First(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage findByN_H_P_Last(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage[] findByN_H_P_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage findByN_H_P_S_First(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage findByN_H_P_S_Last(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 WikiPage[] findByN_H_P_S_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status)
          Finds all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?.
 List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle)
          Finds all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.
 List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.
 List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.
 WikiPage[] findByN_H_PrevAndNext(long pageId, long nodeId, boolean head, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?.
 WikiPage findByN_H_S_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
 WikiPage findByN_H_S_Last(long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
 WikiPage[] findByN_H_S_PrevAndNext(long pageId, long nodeId, boolean head, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByN_H_S(long nodeId, boolean head, int status)
          Finds all the wiki pages where nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByN_H_S(long nodeId, boolean head, int status, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByN_H_S(long nodeId, boolean head, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?.
 List<WikiPage> findByN_H(long nodeId, boolean head)
          Finds all the wiki pages where nodeId = ? and head = ?.
 List<WikiPage> findByN_H(long nodeId, boolean head, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and head = ?.
 List<WikiPage> findByN_H(long nodeId, boolean head, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and head = ?.
 WikiPage findByN_P_First(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and parentTitle = ?.
 WikiPage findByN_P_Last(long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and parentTitle = ?.
 WikiPage[] findByN_P_PrevAndNext(long pageId, long nodeId, String parentTitle, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?.
 List<WikiPage> findByN_P(long nodeId, String parentTitle)
          Finds all the wiki pages where nodeId = ? and parentTitle = ?.
 List<WikiPage> findByN_P(long nodeId, String parentTitle, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and parentTitle = ?.
 List<WikiPage> findByN_P(long nodeId, String parentTitle, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?.
 WikiPage findByN_R_First(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
 WikiPage findByN_R_Last(long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
 WikiPage[] findByN_R_PrevAndNext(long pageId, long nodeId, String redirectTitle, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?.
 List<WikiPage> findByN_R(long nodeId, String redirectTitle)
          Finds all the wiki pages where nodeId = ? and redirectTitle = ?.
 List<WikiPage> findByN_R(long nodeId, String redirectTitle, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and redirectTitle = ?.
 List<WikiPage> findByN_R(long nodeId, String redirectTitle, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?.
 WikiPage findByN_S_First(long nodeId, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and status = ?.
 WikiPage findByN_S_Last(long nodeId, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and status = ?.
 WikiPage[] findByN_S_PrevAndNext(long pageId, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?.
 List<WikiPage> findByN_S(long nodeId, int status)
          Finds all the wiki pages where nodeId = ? and status = ?.
 List<WikiPage> findByN_S(long nodeId, int status, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and status = ?.
 List<WikiPage> findByN_S(long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and status = ?.
 WikiPage findByN_T_First(long nodeId, String title, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and title = ?.
 WikiPage findByN_T_H_First(long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?.
 WikiPage findByN_T_H_Last(long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?.
 WikiPage[] findByN_T_H_PrevAndNext(long pageId, long nodeId, String title, boolean head, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and head = ?.
 List<WikiPage> findByN_T_H(long nodeId, String title, boolean head)
          Finds all the wiki pages where nodeId = ? and title = ? and head = ?.
 List<WikiPage> findByN_T_H(long nodeId, String title, boolean head, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and title = ? and head = ?.
 List<WikiPage> findByN_T_H(long nodeId, String title, boolean head, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and title = ? and head = ?.
 WikiPage findByN_T_Last(long nodeId, String title, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and title = ?.
 WikiPage[] findByN_T_PrevAndNext(long pageId, long nodeId, String title, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?.
 WikiPage findByN_T_S_First(long nodeId, String title, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
 WikiPage findByN_T_S_Last(long nodeId, String title, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
 WikiPage[] findByN_T_S_PrevAndNext(long pageId, long nodeId, String title, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?.
 List<WikiPage> findByN_T_S(long nodeId, String title, int status)
          Finds all the wiki pages where nodeId = ? and title = ? and status = ?.
 List<WikiPage> findByN_T_S(long nodeId, String title, int status, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and title = ? and status = ?.
 List<WikiPage> findByN_T_S(long nodeId, String title, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and title = ? and status = ?.
 WikiPage findByN_T_V(long nodeId, String title, double version)
          Finds the wiki page where nodeId = ? and title = ? and version = ? or throws a NoSuchPageException if it could not be found.
 List<WikiPage> findByN_T(long nodeId, String title)
          Finds all the wiki pages where nodeId = ? and title = ?.
 List<WikiPage> findByN_T(long nodeId, String title, int start, int end)
          Finds a range of all the wiki pages where nodeId = ? and title = ?.
 List<WikiPage> findByN_T(long nodeId, String title, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ? and title = ?.
 WikiPage findByNodeId_First(long nodeId, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where nodeId = ?.
 WikiPage findByNodeId_Last(long nodeId, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where nodeId = ?.
 WikiPage[] findByNodeId_PrevAndNext(long pageId, long nodeId, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = ?.
 List<WikiPage> findByNodeId(long nodeId)
          Finds all the wiki pages where nodeId = ?.
 List<WikiPage> findByNodeId(long nodeId, int start, int end)
          Finds a range of all the wiki pages where nodeId = ?.
 List<WikiPage> findByNodeId(long nodeId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where nodeId = ?.
 WikiPage findByPrimaryKey(long pageId)
          Finds the wiki page with the primary key or throws a NoSuchPageException if it could not be found.
 WikiPage findByPrimaryKey(Serializable primaryKey)
          Finds 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)
          Finds the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
 WikiPage findByR_N_Last(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
 WikiPage[] findByR_N_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?.
 WikiPage findByR_N_S_First(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
 WikiPage findByR_N_S_Last(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
 WikiPage[] findByR_N_S_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?.
 List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status)
          Finds all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.
 List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status, int start, int end)
          Finds a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.
 List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?.
 WikiPage findByR_N_V(long resourcePrimKey, long nodeId, double version)
          Finds the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or throws a NoSuchPageException if it could not be found.
 List<WikiPage> findByR_N(long resourcePrimKey, long nodeId)
          Finds all the wiki pages where resourcePrimKey = ? and nodeId = ?.
 List<WikiPage> findByR_N(long resourcePrimKey, long nodeId, int start, int end)
          Finds a range of all the wiki pages where resourcePrimKey = ? and nodeId = ?.
 List<WikiPage> findByR_N(long resourcePrimKey, long nodeId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?.
 WikiPage findByU_N_S_First(long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
 WikiPage findByU_N_S_Last(long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
 WikiPage[] findByU_N_S_PrevAndNext(long pageId, long userId, long nodeId, int status, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByU_N_S(long userId, long nodeId, int status)
          Finds all the wiki pages where userId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByU_N_S(long userId, long nodeId, int status, int start, int end)
          Finds a range of all the wiki pages where userId = ? and nodeId = ? and status = ?.
 List<WikiPage> findByU_N_S(long userId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?.
 WikiPage findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Finds the first wiki page in the ordered set where uuid = ?.
 WikiPage findByUUID_G(String uuid, long groupId)
          Finds the wiki page where uuid = ? and groupId = ? or throws a NoSuchPageException if it could not be found.
 WikiPage findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Finds the last wiki page in the ordered set where uuid = ?.
 WikiPage[] findByUuid_PrevAndNext(long pageId, String uuid, OrderByComparator orderByComparator)
          Finds the wiki pages before and after the current wiki page in the ordered set where uuid = ?.
 List<WikiPage> findByUuid(String uuid)
          Finds all the wiki pages where uuid = ?.
 List<WikiPage> findByUuid(String uuid, int start, int end)
          Finds a range of all the wiki pages where uuid = ?.
 List<WikiPage> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the wiki pages where uuid = ?.
protected  WikiPage getByFormat_PrevAndNext(Session session, WikiPage wikiPage, String format, 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 removeByN_H_P_S(long nodeId, boolean head, String parentTitle, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ? from the database.
 void removeByN_H_P(long nodeId, boolean head, String parentTitle)
          Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? from the database.
 void removeByN_H_S(long nodeId, boolean head, int status)
          Removes all the wiki pages where nodeId = ? and head = ? and status = ? from the database.
 void removeByN_H(long nodeId, boolean head)
          Removes all the wiki pages where nodeId = ? and head = ? from the database.
 void removeByN_P(long nodeId, String parentTitle)
          Removes all the wiki pages where nodeId = ? and parentTitle = ? from the database.
 void removeByN_R(long nodeId, String redirectTitle)
          Removes all the wiki pages where nodeId = ? and redirectTitle = ? from the database.
 void removeByN_S(long nodeId, int status)
          Removes all the wiki pages where nodeId = ? and status = ? from the database.
 void removeByN_T_H(long nodeId, String title, boolean head)
          Removes all the wiki pages where nodeId = ? and title = ? and head = ? from the database.
 void removeByN_T_S(long nodeId, String title, int status)
          Removes all the wiki pages where nodeId = ? and title = ? and status = ? from the database.
 void removeByN_T_V(long nodeId, String title, double version)
          Removes the wiki page where nodeId = ? and title = ? and version = ? from the database.
 void removeByN_T(long nodeId, String title)
          Removes all the wiki pages where nodeId = ? and title = ? from the database.
 void removeByNodeId(long nodeId)
          Removes all the wiki pages where nodeId = ? from the database.
 void removeByR_N_S(long resourcePrimKey, long nodeId, int status)
          Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ? from the database.
 void removeByR_N_V(long resourcePrimKey, long nodeId, double version)
          Removes the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? from the database.
 void removeByR_N(long resourcePrimKey, long nodeId)
          Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? from the database.
 void removeByU_N_S(long userId, long nodeId, int status)
          Removes all the wiki pages where userId = ? and nodeId = ? and status = ? from the database.
 void removeByUUID_G(String uuid, long groupId)
          Removes the wiki page where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the wiki pages where uuid = ? from the database.
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, getDataSource, 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
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final FinderPath FINDER_PATH_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_FIND_BY_NODEID

public static final FinderPath FINDER_PATH_FIND_BY_NODEID

FINDER_PATH_COUNT_BY_NODEID

public static final FinderPath FINDER_PATH_COUNT_BY_NODEID

FINDER_PATH_FIND_BY_FORMAT

public static final FinderPath FINDER_PATH_FIND_BY_FORMAT

FINDER_PATH_COUNT_BY_FORMAT

public static final FinderPath FINDER_PATH_COUNT_BY_FORMAT

FINDER_PATH_FIND_BY_R_N

public static final FinderPath FINDER_PATH_FIND_BY_R_N

FINDER_PATH_COUNT_BY_R_N

public static final FinderPath FINDER_PATH_COUNT_BY_R_N

FINDER_PATH_FIND_BY_N_T

public static final FinderPath FINDER_PATH_FIND_BY_N_T

FINDER_PATH_COUNT_BY_N_T

public static final FinderPath FINDER_PATH_COUNT_BY_N_T

FINDER_PATH_FIND_BY_N_H

public static final FinderPath FINDER_PATH_FIND_BY_N_H

FINDER_PATH_COUNT_BY_N_H

public static final FinderPath FINDER_PATH_COUNT_BY_N_H

FINDER_PATH_FIND_BY_N_P

public static final FinderPath FINDER_PATH_FIND_BY_N_P

FINDER_PATH_COUNT_BY_N_P

public static final FinderPath FINDER_PATH_COUNT_BY_N_P

FINDER_PATH_FIND_BY_N_R

public static final FinderPath FINDER_PATH_FIND_BY_N_R

FINDER_PATH_COUNT_BY_N_R

public static final FinderPath FINDER_PATH_COUNT_BY_N_R

FINDER_PATH_FIND_BY_N_S

public static final FinderPath FINDER_PATH_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_FIND_BY_R_N_S

public static final FinderPath FINDER_PATH_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_FIND_BY_U_N_S

public static final FinderPath FINDER_PATH_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_FIND_BY_N_T_H

public static final FinderPath FINDER_PATH_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_FIND_BY_N_T_S

public static final FinderPath FINDER_PATH_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_FIND_BY_N_H_P

public static final FinderPath FINDER_PATH_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_FIND_BY_N_H_S

public static final FinderPath FINDER_PATH_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_FIND_BY_N_H_P_S

public static final FinderPath FINDER_PATH_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_FIND_ALL

public static final FinderPath FINDER_PATH_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

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

socialEquityLogPersistence

@BeanReference(type=SocialEquityLogPersistence.class)
protected SocialEquityLogPersistence socialEquityLogPersistence
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 to cache

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 to cache

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

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(Serializable primaryKey)
                throws NoSuchModelException,
                       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 to remove
Returns:
the wiki page that was removed
Throws:
NoSuchModelException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

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 to remove
Returns:
the wiki page that was removed
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

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
Finds 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 to find
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
Finds 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 to find
Returns:
the wiki page
Throws:
NoSuchPageException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public WikiPage fetchByPrimaryKey(Serializable primaryKey)
                           throws SystemException
Finds 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 to find
Returns:
the wiki page, or null if a wiki page with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public WikiPage fetchByPrimaryKey(long pageId)
                           throws SystemException
Finds 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 to find
Returns:
the wiki page, or null if a wiki page with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

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

Specified by:
findByUuid in interface WikiPagePersistence
Parameters:
uuid - the uuid to search with
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
Finds a range of all the wiki pages where uuid = ?.

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

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

findByUuid

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

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

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

findByUuid_First

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

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

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

findByUuid_Last

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

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

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

findByUuid_PrevAndNext

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

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

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

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
Finds 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 to search with
groupId - the group id to search with
Returns:
the matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByUUID_G

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

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

fetchByUUID_G

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

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

findByNodeId

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

Specified by:
findByNodeId in interface WikiPagePersistence
Parameters:
nodeId - the node id to search with
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
Finds a range of all the wiki pages where nodeId = ?.

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

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

findByNodeId

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

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

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

findByNodeId_First

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

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

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

findByNodeId_Last

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

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

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

findByNodeId_PrevAndNext

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

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

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

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
Finds all the wiki pages where format = ?.

Specified by:
findByFormat in interface WikiPagePersistence
Parameters:
format - the format to search with
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
Finds a range of all the wiki pages where format = ?.

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

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

findByFormat

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

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

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

findByFormat_First

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

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

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

findByFormat_Last

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

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

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

findByFormat_PrevAndNext

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

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

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

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
Finds all the wiki pages where resourcePrimKey = ? and nodeId = ?.

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

findByR_N

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

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

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

findByR_N

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

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

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

findByR_N_First

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

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

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

findByR_N_Last

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

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

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

findByR_N_PrevAndNext

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

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

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

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
Finds all the wiki pages where nodeId = ? and title = ?.

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

findByN_T

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

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

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

findByN_T

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

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

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

findByN_T_First

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

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

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

findByN_T_Last

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

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

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

findByN_T_PrevAndNext

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

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

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

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
Finds all the wiki pages where nodeId = ? and head = ?.

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

findByN_H

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

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

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

findByN_H

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

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

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

findByN_H_First

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

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

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

findByN_H_Last

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

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

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

findByN_H_PrevAndNext

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

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

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

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
Finds all the wiki pages where nodeId = ? and parentTitle = ?.

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

findByN_P

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

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

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

findByN_P

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

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

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

findByN_P_First

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

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

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

findByN_P_Last

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

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

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

findByN_P_PrevAndNext

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

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

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

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
Finds all the wiki pages where nodeId = ? and redirectTitle = ?.

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

findByN_R

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

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

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

findByN_R

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

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

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

findByN_R_First

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

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

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

findByN_R_Last

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

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

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

findByN_R_PrevAndNext

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

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

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

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
Finds all the wiki pages where nodeId = ? and status = ?.

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

findByN_S

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

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

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

findByN_S

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

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

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

findByN_S_First

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

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

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

findByN_S_Last

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

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

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

findByN_S_PrevAndNext

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

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

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

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
Finds 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 to search with
nodeId - the node id to search with
version - the version to search with
Returns:
the matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByR_N_V

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

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

fetchByR_N_V

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

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

findByR_N_S

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

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

findByR_N_S

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

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

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

findByR_N_S

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

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

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

findByR_N_S_First

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

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

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

findByR_N_S_Last

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

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

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

findByR_N_S_PrevAndNext

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

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

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

getByR_N_S_PrevAndNext

protected WikiPage getByR_N_S_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          long resourcePrimKey,
                                          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
Finds all the wiki pages where userId = ? and nodeId = ? and status = ?.

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

findByU_N_S

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

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

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

findByU_N_S

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

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

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

findByU_N_S_First

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

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

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

findByU_N_S_Last

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

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

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

findByU_N_S_PrevAndNext

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

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

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

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
Finds 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 to search with
title - the title to search with
version - the version to search with
Returns:
the matching wiki page
Throws:
NoSuchPageException - if a matching wiki page could not be found
SystemException - if a system exception occurred

fetchByN_T_V

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

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

fetchByN_T_V

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

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

findByN_T_H

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

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

findByN_T_H

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

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

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

findByN_T_H

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

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

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

findByN_T_H_First

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

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

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

findByN_T_H_Last

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

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

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

findByN_T_H_PrevAndNext

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

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

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

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
Finds all the wiki pages where nodeId = ? and title = ? and status = ?.

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

findByN_T_S

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

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

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

findByN_T_S

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

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

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

findByN_T_S_First

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

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

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

findByN_T_S_Last

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

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

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

findByN_T_S_PrevAndNext

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

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

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

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
Finds all the wiki pages where nodeId = ? and head = ? and parentTitle = ?.

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

findByN_H_P

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

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

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

findByN_H_P

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

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

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

findByN_H_P_First

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

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

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

findByN_H_P_Last

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

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

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

findByN_H_P_PrevAndNext

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

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

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

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
Finds all the wiki pages where nodeId = ? and head = ? and status = ?.

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

findByN_H_S

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

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

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

findByN_H_S

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

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

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

findByN_H_S_First

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

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

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

findByN_H_S_Last

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

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

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

findByN_H_S_PrevAndNext

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

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

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

getByN_H_S_PrevAndNext

protected WikiPage getByN_H_S_PrevAndNext(Session session,
                                          WikiPage wikiPage,
                                          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
Finds 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 to search with
head - the head to search with
parentTitle - the parent title to search with
status - the status to search with
Returns:
the matching wiki pages
Throws:
SystemException - if a system exception occurred

findByN_H_P_S

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

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

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

findByN_H_P_S

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

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

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

findByN_H_P_S_First

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

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

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

findByN_H_P_S_Last

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

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

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

findByN_H_P_S_PrevAndNext

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

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

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

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)

findAll

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

Specified by:
findAll in interface WikiPagePersistence
Returns:
the wiki pages
Throws:
SystemException - if a system exception occurred

findAll

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

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

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

findAll

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

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

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

removeByUuid

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

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

removeByUUID_G

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

Specified by:
removeByUUID_G in interface WikiPagePersistence
Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred
NoSuchPageException

removeByNodeId

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

Specified by:
removeByNodeId in interface WikiPagePersistence
Parameters:
nodeId - the node id to search with
Throws:
SystemException - if a system exception occurred

removeByFormat

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

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

removeByR_N

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

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

removeByN_T

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

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

removeByN_H

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

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

removeByN_P

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

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

removeByN_R

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

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

removeByN_S

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

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

removeByR_N_V

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

Specified by:
removeByR_N_V in interface WikiPagePersistence
Parameters:
resourcePrimKey - the resource prim key to search with
nodeId - the node id to search with
version - the version to search with
Throws:
SystemException - if a system exception occurred
NoSuchPageException

removeByR_N_S

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

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

removeByU_N_S

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

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

removeByN_T_V

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

Specified by:
removeByN_T_V in interface WikiPagePersistence
Parameters:
nodeId - the node id to search with
title - the title to search with
version - the version to search with
Throws:
SystemException - if a system exception occurred
NoSuchPageException

removeByN_T_H

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

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

removeByN_T_S

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

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

removeByN_H_P

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

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

removeByN_H_S

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

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

removeByN_H_P_S

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

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

removeAll

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

Specified by:
removeAll in interface WikiPagePersistence
Throws:
SystemException - if a system exception occurred

countByUuid

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

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

countByUUID_G

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

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

countByNodeId

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

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

countByFormat

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

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

countByR_N

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

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

countByN_T

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

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

countByN_H

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

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

countByN_P

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

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

countByN_R

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

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

countByN_S

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

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

countByR_N_V

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

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

countByR_N_S

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

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

countByU_N_S

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

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

countByN_T_V

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

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

countByN_T_H

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

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

countByN_T_S

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

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

countByN_H_P

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

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

countByN_H_S

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

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

countByN_H_P_S

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

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

countAll

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

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

afterPropertiesSet

public void afterPropertiesSet()
Initializes the wiki page persistence.


Liferay 6.0.5