|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<WikiPage> com.liferay.portlet.wiki.service.persistence.WikiPagePersistenceImpl
public class WikiPagePersistenceImpl
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
WikiPagePersistence
,
WikiPageUtil
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 |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_FIND_BY_NODEID
public static final FinderPath FINDER_PATH_COUNT_BY_NODEID
public static final FinderPath FINDER_PATH_FIND_BY_FORMAT
public static final FinderPath FINDER_PATH_COUNT_BY_FORMAT
public static final FinderPath FINDER_PATH_FIND_BY_R_N
public static final FinderPath FINDER_PATH_COUNT_BY_R_N
public static final FinderPath FINDER_PATH_FIND_BY_N_T
public static final FinderPath FINDER_PATH_COUNT_BY_N_T
public static final FinderPath FINDER_PATH_FIND_BY_N_H
public static final FinderPath FINDER_PATH_COUNT_BY_N_H
public static final FinderPath FINDER_PATH_FIND_BY_N_P
public static final FinderPath FINDER_PATH_COUNT_BY_N_P
public static final FinderPath FINDER_PATH_FIND_BY_N_R
public static final FinderPath FINDER_PATH_COUNT_BY_N_R
public static final FinderPath FINDER_PATH_FIND_BY_N_S
public static final FinderPath FINDER_PATH_COUNT_BY_N_S
public static final FinderPath FINDER_PATH_FETCH_BY_R_N_V
public static final FinderPath FINDER_PATH_COUNT_BY_R_N_V
public static final FinderPath FINDER_PATH_FIND_BY_R_N_S
public static final FinderPath FINDER_PATH_COUNT_BY_R_N_S
public static final FinderPath FINDER_PATH_FIND_BY_U_N_S
public static final FinderPath FINDER_PATH_COUNT_BY_U_N_S
public static final FinderPath FINDER_PATH_FETCH_BY_N_T_V
public static final FinderPath FINDER_PATH_COUNT_BY_N_T_V
public static final FinderPath FINDER_PATH_FIND_BY_N_T_H
public static final FinderPath FINDER_PATH_COUNT_BY_N_T_H
public static final FinderPath FINDER_PATH_FIND_BY_N_T_S
public static final FinderPath FINDER_PATH_COUNT_BY_N_T_S
public static final FinderPath FINDER_PATH_FIND_BY_N_H_P
public static final FinderPath FINDER_PATH_COUNT_BY_N_H_P
public static final FinderPath FINDER_PATH_FIND_BY_N_H_S
public static final FinderPath FINDER_PATH_COUNT_BY_N_H_S
public static final FinderPath FINDER_PATH_FIND_BY_N_H_P_S
public static final FinderPath FINDER_PATH_COUNT_BY_N_H_P_S
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=WikiNodePersistence.class) protected WikiNodePersistence wikiNodePersistence
@BeanReference(type=WikiPagePersistence.class) protected WikiPagePersistence wikiPagePersistence
@BeanReference(type=WikiPageResourcePersistence.class) protected WikiPageResourcePersistence wikiPageResourcePersistence
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=PortletPreferencesPersistence.class) protected PortletPreferencesPersistence portletPreferencesPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=SubscriptionPersistence.class) protected SubscriptionPersistence subscriptionPersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
@BeanReference(type=AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=ExpandoValuePersistence.class) protected ExpandoValuePersistence expandoValuePersistence
@BeanReference(type=MBMessagePersistence.class) protected MBMessagePersistence mbMessagePersistence
@BeanReference(type=SocialActivityPersistence.class) protected SocialActivityPersistence socialActivityPersistence
@BeanReference(type=SocialEquityLogPersistence.class) protected SocialEquityLogPersistence socialEquityLogPersistence
Constructor Detail |
---|
public WikiPagePersistenceImpl()
Method Detail |
---|
public void cacheResult(WikiPage wikiPage)
cacheResult
in interface WikiPagePersistence
wikiPage
- the wiki page to cachepublic void cacheResult(List<WikiPage> wikiPages)
cacheResult
in interface WikiPagePersistence
wikiPages
- the wiki pages to cachepublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<WikiPage>
clearCache
in class BasePersistenceImpl<WikiPage>
public void clearCache(WikiPage wikiPage)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<WikiPage>
clearCache
in class BasePersistenceImpl<WikiPage>
wikiPage
- the instance of this model to clear the cache forpublic WikiPage create(long pageId)
create
in interface WikiPagePersistence
pageId
- the primary key for the new wiki page
public WikiPage remove(Serializable primaryKey) throws NoSuchModelException, SystemException
remove
in interface BasePersistence<WikiPage>
remove
in class BasePersistenceImpl<WikiPage>
primaryKey
- the primary key of the wiki page to remove
NoSuchModelException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic WikiPage remove(long pageId) throws NoSuchPageException, SystemException
remove
in interface WikiPagePersistence
pageId
- the primary key of the wiki page to remove
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage removeImpl(WikiPage wikiPage) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<WikiPage>
wikiPage
- the model instance to remove
SystemException
- if a system exception occurredpublic WikiPage updateImpl(WikiPage wikiPage, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface WikiPagePersistence
updateImpl
in class BasePersistenceImpl<WikiPage>
wikiPage
- the model instance to updatemerge
- 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.
SystemException
- if a system exception occurredprotected WikiPage toUnwrappedModel(WikiPage wikiPage)
public WikiPage findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<WikiPage>
findByPrimaryKey
in class BasePersistenceImpl<WikiPage>
primaryKey
- the primary key of the wiki page to find
NoSuchModelException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic WikiPage findByPrimaryKey(long pageId) throws NoSuchPageException, SystemException
NoSuchPageException
if it could not be found.
findByPrimaryKey
in interface WikiPagePersistence
pageId
- the primary key of the wiki page to find
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic WikiPage fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<WikiPage>
fetchByPrimaryKey
in class BasePersistenceImpl<WikiPage>
primaryKey
- the primary key of the wiki page to find
null
if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic WikiPage fetchByPrimaryKey(long pageId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface WikiPagePersistence
pageId
- the primary key of the wiki page to find
null
if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic List<WikiPage> findByUuid(String uuid) throws SystemException
findByUuid
in interface WikiPagePersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid
in interface WikiPagePersistence
uuid
- the uuid to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid
in interface WikiPagePersistence
uuid
- the uuid to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid_First
in interface WikiPagePersistence
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid_Last
in interface WikiPagePersistence
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByUuid_PrevAndNext(long pageId, String uuid, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pageuuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByUuid_PrevAndNext(Session session, WikiPage wikiPage, String uuid, OrderByComparator orderByComparator, boolean previous)
public WikiPage findByUUID_G(String uuid, long groupId) throws NoSuchPageException, SystemException
NoSuchPageException
if it could not be found.
findByUUID_G
in interface WikiPagePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByUUID_G
in interface WikiPagePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByUUID_G
in interface WikiPagePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic List<WikiPage> findByNodeId(long nodeId) throws SystemException
findByNodeId
in interface WikiPagePersistence
nodeId
- the node id to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByNodeId(long nodeId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByNodeId
in interface WikiPagePersistence
nodeId
- the node id to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByNodeId(long nodeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByNodeId
in interface WikiPagePersistence
nodeId
- the node id to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByNodeId_First(long nodeId, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByNodeId_First
in interface WikiPagePersistence
nodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByNodeId_Last(long nodeId, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByNodeId_Last
in interface WikiPagePersistence
nodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByNodeId_PrevAndNext(long pageId, long nodeId, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByNodeId_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByNodeId_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByFormat(String format) throws SystemException
findByFormat
in interface WikiPagePersistence
format
- the format to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByFormat(String format, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByFormat
in interface WikiPagePersistence
format
- the format to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByFormat(String format, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByFormat
in interface WikiPagePersistence
format
- the format to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByFormat_First(String format, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByFormat_First
in interface WikiPagePersistence
format
- the format to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByFormat_Last(String format, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByFormat_Last
in interface WikiPagePersistence
format
- the format to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByFormat_PrevAndNext(long pageId, String format, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByFormat_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pageformat
- the format to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByFormat_PrevAndNext(Session session, WikiPage wikiPage, String format, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByR_N(long resourcePrimKey, long nodeId) throws SystemException
findByR_N
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByR_N(long resourcePrimKey, long nodeId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_N
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByR_N(long resourcePrimKey, long nodeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_N
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByR_N_First(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_N_First
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByR_N_Last(long resourcePrimKey, long nodeId, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_N_Last
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByR_N_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_N_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pageresourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByR_N_PrevAndNext(Session session, WikiPage wikiPage, long resourcePrimKey, long nodeId, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByN_T(long nodeId, String title) throws SystemException
findByN_T
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_T(long nodeId, String title, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_T(long nodeId, String title, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByN_T_First(long nodeId, String title, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_First
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByN_T_Last(long nodeId, String title, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_Last
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByN_T_PrevAndNext(long pageId, long nodeId, String title, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withtitle
- the title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByN_T_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, String title, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByN_H(long nodeId, boolean head) throws SystemException
findByN_H
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_H(long nodeId, boolean head, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_H(long nodeId, boolean head, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByN_H_First(long nodeId, boolean head, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_First
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByN_H_Last(long nodeId, boolean head, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_Last
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByN_H_PrevAndNext(long pageId, long nodeId, boolean head, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByN_H_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByN_P(long nodeId, String parentTitle) throws SystemException
findByN_P
in interface WikiPagePersistence
nodeId
- the node id to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_P(long nodeId, String parentTitle, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_P
in interface WikiPagePersistence
nodeId
- the node id to search withparentTitle
- the parent title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_P(long nodeId, String parentTitle, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_P
in interface WikiPagePersistence
nodeId
- the node id to search withparentTitle
- the parent title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByN_P_First(long nodeId, String parentTitle, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_P_First
in interface WikiPagePersistence
nodeId
- the node id to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByN_P_Last(long nodeId, String parentTitle, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_P_Last
in interface WikiPagePersistence
nodeId
- the node id to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByN_P_PrevAndNext(long pageId, long nodeId, String parentTitle, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_P_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByN_P_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, String parentTitle, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByN_R(long nodeId, String redirectTitle) throws SystemException
findByN_R
in interface WikiPagePersistence
nodeId
- the node id to search withredirectTitle
- the redirect title to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_R(long nodeId, String redirectTitle, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_R
in interface WikiPagePersistence
nodeId
- the node id to search withredirectTitle
- the redirect title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_R(long nodeId, String redirectTitle, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_R
in interface WikiPagePersistence
nodeId
- the node id to search withredirectTitle
- the redirect title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByN_R_First(long nodeId, String redirectTitle, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_R_First
in interface WikiPagePersistence
nodeId
- the node id to search withredirectTitle
- the redirect title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByN_R_Last(long nodeId, String redirectTitle, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_R_Last
in interface WikiPagePersistence
nodeId
- the node id to search withredirectTitle
- the redirect title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByN_R_PrevAndNext(long pageId, long nodeId, String redirectTitle, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_R_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withredirectTitle
- the redirect title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByN_R_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, String redirectTitle, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByN_S(long nodeId, int status) throws SystemException
findByN_S
in interface WikiPagePersistence
nodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_S(long nodeId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_S
in interface WikiPagePersistence
nodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_S(long nodeId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_S
in interface WikiPagePersistence
nodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByN_S_First(long nodeId, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_S_First
in interface WikiPagePersistence
nodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByN_S_Last(long nodeId, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_S_Last
in interface WikiPagePersistence
nodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByN_S_PrevAndNext(long pageId, long nodeId, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_S_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByN_S_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, int status, OrderByComparator orderByComparator, boolean previous)
public WikiPage findByR_N_V(long resourcePrimKey, long nodeId, double version) throws NoSuchPageException, SystemException
NoSuchPageException
if it could not be found.
findByR_N_V
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withversion
- the version to search with
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage fetchByR_N_V(long resourcePrimKey, long nodeId, double version) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByR_N_V
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withversion
- the version to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage fetchByR_N_V(long resourcePrimKey, long nodeId, double version, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByR_N_V
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withversion
- the version to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status) throws SystemException
findByR_N_S
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_N_S
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByR_N_S(long resourcePrimKey, long nodeId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_N_S
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByR_N_S_First(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_N_S_First
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByR_N_S_Last(long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_N_S_Last
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByR_N_S_PrevAndNext(long pageId, long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_N_S_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pageresourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByR_N_S_PrevAndNext(Session session, WikiPage wikiPage, long resourcePrimKey, long nodeId, int status, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByU_N_S(long userId, long nodeId, int status) throws SystemException
findByU_N_S
in interface WikiPagePersistence
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByU_N_S(long userId, long nodeId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByU_N_S
in interface WikiPagePersistence
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByU_N_S(long userId, long nodeId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByU_N_S
in interface WikiPagePersistence
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByU_N_S_First(long userId, long nodeId, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByU_N_S_First
in interface WikiPagePersistence
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByU_N_S_Last(long userId, long nodeId, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByU_N_S_Last
in interface WikiPagePersistence
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByU_N_S_PrevAndNext(long pageId, long userId, long nodeId, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByU_N_S_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pageuserId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByU_N_S_PrevAndNext(Session session, WikiPage wikiPage, long userId, long nodeId, int status, OrderByComparator orderByComparator, boolean previous)
public WikiPage findByN_T_V(long nodeId, String title, double version) throws NoSuchPageException, SystemException
NoSuchPageException
if it could not be found.
findByN_T_V
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withversion
- the version to search with
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage fetchByN_T_V(long nodeId, String title, double version) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByN_T_V
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withversion
- the version to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage fetchByN_T_V(long nodeId, String title, double version, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByN_T_V
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withversion
- the version to search with
null
if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_T_H(long nodeId, String title, boolean head) throws SystemException
findByN_T_H
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_T_H(long nodeId, String title, boolean head, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_H
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_T_H(long nodeId, String title, boolean head, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_H
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByN_T_H_First(long nodeId, String title, boolean head, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_H_First
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByN_T_H_Last(long nodeId, String title, boolean head, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_H_Last
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByN_T_H_PrevAndNext(long pageId, long nodeId, String title, boolean head, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_H_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withtitle
- the title to search withhead
- the head to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByN_T_H_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, String title, boolean head, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByN_T_S(long nodeId, String title, int status) throws SystemException
findByN_T_S
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_T_S(long nodeId, String title, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_S
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_T_S(long nodeId, String title, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_S
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByN_T_S_First(long nodeId, String title, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_S_First
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByN_T_S_Last(long nodeId, String title, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_S_Last
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByN_T_S_PrevAndNext(long pageId, long nodeId, String title, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_T_S_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByN_T_S_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, String title, int status, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle) throws SystemException
findByN_H_P
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_P
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_H_P(long nodeId, boolean head, String parentTitle, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_P
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByN_H_P_First(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_P_First
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByN_H_P_Last(long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_P_Last
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByN_H_P_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_P_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByN_H_P_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, String parentTitle, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByN_H_S(long nodeId, boolean head, int status) throws SystemException
findByN_H_S
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_H_S(long nodeId, boolean head, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_S
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_H_S(long nodeId, boolean head, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_S
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByN_H_S_First(long nodeId, boolean head, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_S_First
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByN_H_S_Last(long nodeId, boolean head, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_S_Last
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByN_H_S_PrevAndNext(long pageId, long nodeId, boolean head, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_S_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withhead
- the head to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByN_H_S_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, int status, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status) throws SystemException
findByN_H_P_S
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_P_S
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findByN_H_P_S(long nodeId, boolean head, String parentTitle, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_P_S
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search withstart
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic WikiPage findByN_H_P_S_First(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_P_S_First
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage findByN_H_P_S_Last(long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_P_S_Last
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a matching wiki page could not be found
SystemException
- if a system exception occurredpublic WikiPage[] findByN_H_P_S_PrevAndNext(long pageId, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator) throws NoSuchPageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByN_H_P_S_PrevAndNext
in interface WikiPagePersistence
pageId
- the primary key of the current wiki pagenodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredprotected WikiPage getByN_H_P_S_PrevAndNext(Session session, WikiPage wikiPage, long nodeId, boolean head, String parentTitle, int status, OrderByComparator orderByComparator, boolean previous)
public List<WikiPage> findAll() throws SystemException
findAll
in interface WikiPagePersistence
SystemException
- if a system exception occurredpublic List<WikiPage> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface WikiPagePersistence
start
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<WikiPage> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface WikiPagePersistence
start
- the lower bound of the range of wiki pages to returnend
- the upper bound of the range of wiki pages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface WikiPagePersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic void removeByUUID_G(String uuid, long groupId) throws NoSuchPageException, SystemException
removeByUUID_G
in interface WikiPagePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurred
NoSuchPageException
public void removeByNodeId(long nodeId) throws SystemException
removeByNodeId
in interface WikiPagePersistence
nodeId
- the node id to search with
SystemException
- if a system exception occurredpublic void removeByFormat(String format) throws SystemException
removeByFormat
in interface WikiPagePersistence
format
- the format to search with
SystemException
- if a system exception occurredpublic void removeByR_N(long resourcePrimKey, long nodeId) throws SystemException
removeByR_N
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search with
SystemException
- if a system exception occurredpublic void removeByN_T(long nodeId, String title) throws SystemException
removeByN_T
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search with
SystemException
- if a system exception occurredpublic void removeByN_H(long nodeId, boolean head) throws SystemException
removeByN_H
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic void removeByN_P(long nodeId, String parentTitle) throws SystemException
removeByN_P
in interface WikiPagePersistence
nodeId
- the node id to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic void removeByN_R(long nodeId, String redirectTitle) throws SystemException
removeByN_R
in interface WikiPagePersistence
nodeId
- the node id to search withredirectTitle
- the redirect title to search with
SystemException
- if a system exception occurredpublic void removeByN_S(long nodeId, int status) throws SystemException
removeByN_S
in interface WikiPagePersistence
nodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByR_N_V(long resourcePrimKey, long nodeId, double version) throws NoSuchPageException, SystemException
removeByR_N_V
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withversion
- the version to search with
SystemException
- if a system exception occurred
NoSuchPageException
public void removeByR_N_S(long resourcePrimKey, long nodeId, int status) throws SystemException
removeByR_N_S
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByU_N_S(long userId, long nodeId, int status) throws SystemException
removeByU_N_S
in interface WikiPagePersistence
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByN_T_V(long nodeId, String title, double version) throws NoSuchPageException, SystemException
removeByN_T_V
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withversion
- the version to search with
SystemException
- if a system exception occurred
NoSuchPageException
public void removeByN_T_H(long nodeId, String title, boolean head) throws SystemException
removeByN_T_H
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic void removeByN_T_S(long nodeId, String title, int status) throws SystemException
removeByN_T_S
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByN_H_P(long nodeId, boolean head, String parentTitle) throws SystemException
removeByN_H_P
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic void removeByN_H_S(long nodeId, boolean head, int status) throws SystemException
removeByN_H_S
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByN_H_P_S(long nodeId, boolean head, String parentTitle, int status) throws SystemException
removeByN_H_P_S
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface WikiPagePersistence
SystemException
- if a system exception occurredpublic int countByUuid(String uuid) throws SystemException
countByUuid
in interface WikiPagePersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic int countByUUID_G(String uuid, long groupId) throws SystemException
countByUUID_G
in interface WikiPagePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurredpublic int countByNodeId(long nodeId) throws SystemException
countByNodeId
in interface WikiPagePersistence
nodeId
- the node id to search with
SystemException
- if a system exception occurredpublic int countByFormat(String format) throws SystemException
countByFormat
in interface WikiPagePersistence
format
- the format to search with
SystemException
- if a system exception occurredpublic int countByR_N(long resourcePrimKey, long nodeId) throws SystemException
countByR_N
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search with
SystemException
- if a system exception occurredpublic int countByN_T(long nodeId, String title) throws SystemException
countByN_T
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search with
SystemException
- if a system exception occurredpublic int countByN_H(long nodeId, boolean head) throws SystemException
countByN_H
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic int countByN_P(long nodeId, String parentTitle) throws SystemException
countByN_P
in interface WikiPagePersistence
nodeId
- the node id to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic int countByN_R(long nodeId, String redirectTitle) throws SystemException
countByN_R
in interface WikiPagePersistence
nodeId
- the node id to search withredirectTitle
- the redirect title to search with
SystemException
- if a system exception occurredpublic int countByN_S(long nodeId, int status) throws SystemException
countByN_S
in interface WikiPagePersistence
nodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByR_N_V(long resourcePrimKey, long nodeId, double version) throws SystemException
countByR_N_V
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withversion
- the version to search with
SystemException
- if a system exception occurredpublic int countByR_N_S(long resourcePrimKey, long nodeId, int status) throws SystemException
countByR_N_S
in interface WikiPagePersistence
resourcePrimKey
- the resource prim key to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByU_N_S(long userId, long nodeId, int status) throws SystemException
countByU_N_S
in interface WikiPagePersistence
userId
- the user id to search withnodeId
- the node id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByN_T_V(long nodeId, String title, double version) throws SystemException
countByN_T_V
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withversion
- the version to search with
SystemException
- if a system exception occurredpublic int countByN_T_H(long nodeId, String title, boolean head) throws SystemException
countByN_T_H
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withhead
- the head to search with
SystemException
- if a system exception occurredpublic int countByN_T_S(long nodeId, String title, int status) throws SystemException
countByN_T_S
in interface WikiPagePersistence
nodeId
- the node id to search withtitle
- the title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByN_H_P(long nodeId, boolean head, String parentTitle) throws SystemException
countByN_H_P
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search with
SystemException
- if a system exception occurredpublic int countByN_H_S(long nodeId, boolean head, int status) throws SystemException
countByN_H_S
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByN_H_P_S(long nodeId, boolean head, String parentTitle, int status) throws SystemException
countByN_H_P_S
in interface WikiPagePersistence
nodeId
- the node id to search withhead
- the head to search withparentTitle
- the parent title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface WikiPagePersistence
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |