|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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.
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, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
Constructor Summary | |
---|---|
WikiPagePersistenceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Initializes the wiki page persistence. |
void |
cacheResult(List<WikiPage> wikiPages)
Caches the wiki pages in the entity cache if it is enabled. |
void |
cacheResult(WikiPage wikiPage)
Caches the wiki page in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all wiki pages. |
void |
clearCache(List<WikiPage> wikiPages)
Clears the cache for a List instances of this model. |
void |
clearCache(WikiPage wikiPage)
Clears the cache for the wiki page. |
protected void |
clearUniqueFindersCache(WikiPage wikiPage)
|
int |
countAll()
Returns the number of wiki pages. |
int |
countByFormat(String format)
Returns the number of wiki pages where format = ?. |
int |
countByN_H_P_S(long nodeId,
boolean head,
String parentTitle,
int status)
Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
int |
countByN_H_P(long nodeId,
boolean head,
String parentTitle)
Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ?. |
int |
countByN_H_S(long nodeId,
boolean head,
int status)
Returns the number of wiki pages where nodeId = ? and head = ? and status = ?. |
int |
countByN_H(long nodeId,
boolean head)
Returns the number of wiki pages where nodeId = ? and head = ?. |
int |
countByN_P(long nodeId,
String parentTitle)
Returns the number of wiki pages where nodeId = ? and parentTitle = ?. |
int |
countByN_R(long nodeId,
String redirectTitle)
Returns the number of wiki pages where nodeId = ? and redirectTitle = ?. |
int |
countByN_S(long nodeId,
int status)
Returns the number of wiki pages where nodeId = ? and status = ?. |
int |
countByN_T_H(long nodeId,
String title,
boolean head)
Returns the number of wiki pages where nodeId = ? and title = ? and head = ?. |
int |
countByN_T_S(long nodeId,
String title,
int status)
Returns the number of wiki pages where nodeId = ? and title = ? and status = ?. |
int |
countByN_T_V(long nodeId,
String title,
double version)
Returns the number of wiki pages where nodeId = ? and title = ? and version = ?. |
int |
countByN_T(long nodeId,
String title)
Returns the number of wiki pages where nodeId = ? and title = ?. |
int |
countByNodeId(long nodeId)
Returns the number of wiki pages where nodeId = ?. |
int |
countByR_N_S(long resourcePrimKey,
long nodeId,
int status)
Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. |
int |
countByR_N_V(long resourcePrimKey,
long nodeId,
double version)
Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?. |
int |
countByR_N(long resourcePrimKey,
long nodeId)
Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ?. |
int |
countByU_N_S(long userId,
long nodeId,
int status)
Returns the number of wiki pages where userId = ? and nodeId = ? and status = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of wiki pages where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of wiki pages where uuid = ?. |
WikiPage |
create(long pageId)
Creates a new wiki page with the primary key. |
void |
destroy()
|
WikiPage |
fetchByN_T_V(long nodeId,
String title,
double version)
Returns the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found. |
WikiPage |
fetchByN_T_V(long nodeId,
String title,
double version,
boolean retrieveFromCache)
Returns the wiki page where nodeId = ? and title = ? and version = ? or returns null if it could not be found, optionally using the finder cache. |
WikiPage |
fetchByPrimaryKey(long pageId)
Returns the wiki page with the primary key or returns null if it could not be found. |
WikiPage |
fetchByPrimaryKey(Serializable primaryKey)
Returns the wiki page with the primary key or returns null if it could not be found. |
WikiPage |
fetchByR_N_V(long resourcePrimKey,
long nodeId,
double version)
Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found. |
WikiPage |
fetchByR_N_V(long resourcePrimKey,
long nodeId,
double version,
boolean retrieveFromCache)
Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns null if it could not be found, optionally using the finder cache. |
WikiPage |
fetchByUUID_G(String uuid,
long groupId)
Returns the wiki page where uuid = ? and groupId = ? or returns null if it could not be found. |
WikiPage |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the wiki page where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
List<WikiPage> |
findAll()
Returns all the wiki pages. |
List<WikiPage> |
findAll(int start,
int end)
Returns a range of all the wiki pages. |
List<WikiPage> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages. |
WikiPage |
findByFormat_First(String format,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where format = ?. |
WikiPage |
findByFormat_Last(String format,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where format = ?. |
WikiPage[] |
findByFormat_PrevAndNext(long pageId,
String format,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where format = ?. |
List<WikiPage> |
findByFormat(String format)
Returns all the wiki pages where format = ?. |
List<WikiPage> |
findByFormat(String format,
int start,
int end)
Returns a range of all the wiki pages where format = ?. |
List<WikiPage> |
findByFormat(String format,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where format = ?. |
WikiPage |
findByN_H_First(long nodeId,
boolean head,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where nodeId = ? and head = ?. |
WikiPage |
findByN_H_Last(long nodeId,
boolean head,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where nodeId = ? and head = ?. |
WikiPage |
findByN_H_P_First(long nodeId,
boolean head,
String parentTitle,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. |
WikiPage |
findByN_H_P_Last(long nodeId,
boolean head,
String parentTitle,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. |
WikiPage[] |
findByN_H_P_PrevAndNext(long pageId,
long nodeId,
boolean head,
String parentTitle,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. |
WikiPage |
findByN_H_P_S_First(long nodeId,
boolean head,
String parentTitle,
int status,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
WikiPage |
findByN_H_P_S_Last(long nodeId,
boolean head,
String parentTitle,
int status,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
WikiPage[] |
findByN_H_P_S_PrevAndNext(long pageId,
long nodeId,
boolean head,
String parentTitle,
int status,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
List<WikiPage> |
findByN_H_P_S(long nodeId,
boolean head,
String parentTitle,
int status)
Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
List<WikiPage> |
findByN_H_P_S(long nodeId,
boolean head,
String parentTitle,
int status,
int start,
int end)
Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
List<WikiPage> |
findByN_H_P_S(long nodeId,
boolean head,
String parentTitle,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. |
List<WikiPage> |
findByN_H_P(long nodeId,
boolean head,
String parentTitle)
Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. |
List<WikiPage> |
findByN_H_P(long nodeId,
boolean head,
String parentTitle,
int start,
int end)
Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. |
List<WikiPage> |
findByN_H_P(long nodeId,
boolean head,
String parentTitle,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. |
WikiPage[] |
findByN_H_PrevAndNext(long pageId,
long nodeId,
boolean head,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?. |
WikiPage |
findByN_H_S_First(long nodeId,
boolean head,
int status,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?. |
WikiPage |
findByN_H_S_Last(long nodeId,
boolean head,
int status,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?. |
WikiPage[] |
findByN_H_S_PrevAndNext(long pageId,
long nodeId,
boolean head,
int status,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?. |
List<WikiPage> |
findByN_H_S(long nodeId,
boolean head,
int status)
Returns all the wiki pages where nodeId = ? and head = ? and status = ?. |
List<WikiPage> |
findByN_H_S(long nodeId,
boolean head,
int status,
int start,
int end)
Returns a range of all the wiki pages where nodeId = ? and head = ? and status = ?. |
List<WikiPage> |
findByN_H_S(long nodeId,
boolean head,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?. |
List<WikiPage> |
findByN_H(long nodeId,
boolean head)
Returns all the wiki pages where nodeId = ? and head = ?. |
List<WikiPage> |
findByN_H(long nodeId,
boolean head,
int start,
int end)
Returns a range of all the wiki pages where nodeId = ? and head = ?. |
List<WikiPage> |
findByN_H(long nodeId,
boolean head,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where nodeId = ? and head = ?. |
WikiPage |
findByN_P_First(long nodeId,
String parentTitle,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?. |
WikiPage |
findByN_P_Last(long nodeId,
String parentTitle,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?. |
WikiPage[] |
findByN_P_PrevAndNext(long pageId,
long nodeId,
String parentTitle,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?. |
List<WikiPage> |
findByN_P(long nodeId,
String parentTitle)
Returns all the wiki pages where nodeId = ? and parentTitle = ?. |
List<WikiPage> |
findByN_P(long nodeId,
String parentTitle,
int start,
int end)
Returns a range of all the wiki pages where nodeId = ? and parentTitle = ?. |
List<WikiPage> |
findByN_P(long nodeId,
String parentTitle,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?. |
WikiPage |
findByN_R_First(long nodeId,
String redirectTitle,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?. |
WikiPage |
findByN_R_Last(long nodeId,
String redirectTitle,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?. |
WikiPage[] |
findByN_R_PrevAndNext(long pageId,
long nodeId,
String redirectTitle,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?. |
List<WikiPage> |
findByN_R(long nodeId,
String redirectTitle)
Returns all the wiki pages where nodeId = ? and redirectTitle = ?. |
List<WikiPage> |
findByN_R(long nodeId,
String redirectTitle,
int start,
int end)
Returns a range of all the wiki pages where nodeId = ? and redirectTitle = ?. |
List<WikiPage> |
findByN_R(long nodeId,
String redirectTitle,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?. |
WikiPage |
findByN_S_First(long nodeId,
int status,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where nodeId = ? and status = ?. |
WikiPage |
findByN_S_Last(long nodeId,
int status,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where nodeId = ? and status = ?. |
WikiPage[] |
findByN_S_PrevAndNext(long pageId,
long nodeId,
int status,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?. |
List<WikiPage> |
findByN_S(long nodeId,
int status)
Returns all the wiki pages where nodeId = ? and status = ?. |
List<WikiPage> |
findByN_S(long nodeId,
int status,
int start,
int end)
Returns a range of all the wiki pages where nodeId = ? and status = ?. |
List<WikiPage> |
findByN_S(long nodeId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where nodeId = ? and status = ?. |
WikiPage |
findByN_T_First(long nodeId,
String title,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where nodeId = ? and title = ?. |
WikiPage |
findByN_T_H_First(long nodeId,
String title,
boolean head,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?. |
WikiPage |
findByN_T_H_Last(long nodeId,
String title,
boolean head,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?. |
WikiPage[] |
findByN_T_H_PrevAndNext(long pageId,
long nodeId,
String title,
boolean head,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and head = ?. |
List<WikiPage> |
findByN_T_H(long nodeId,
String title,
boolean head)
Returns all the wiki pages where nodeId = ? and title = ? and head = ?. |
List<WikiPage> |
findByN_T_H(long nodeId,
String title,
boolean head,
int start,
int end)
Returns a range of all the wiki pages where nodeId = ? and title = ? and head = ?. |
List<WikiPage> |
findByN_T_H(long nodeId,
String title,
boolean head,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and head = ?. |
WikiPage |
findByN_T_Last(long nodeId,
String title,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where nodeId = ? and title = ?. |
WikiPage[] |
findByN_T_PrevAndNext(long pageId,
long nodeId,
String title,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?. |
WikiPage |
findByN_T_S_First(long nodeId,
String title,
int status,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?. |
WikiPage |
findByN_T_S_Last(long nodeId,
String title,
int status,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?. |
WikiPage[] |
findByN_T_S_PrevAndNext(long pageId,
long nodeId,
String title,
int status,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?. |
List<WikiPage> |
findByN_T_S(long nodeId,
String title,
int status)
Returns all the wiki pages where nodeId = ? and title = ? and status = ?. |
List<WikiPage> |
findByN_T_S(long nodeId,
String title,
int status,
int start,
int end)
Returns a range of all the wiki pages where nodeId = ? and title = ? and status = ?. |
List<WikiPage> |
findByN_T_S(long nodeId,
String title,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and status = ?. |
WikiPage |
findByN_T_V(long nodeId,
String title,
double version)
Returns the wiki page where nodeId = ? and title = ? and version = ? or throws a NoSuchPageException if it could not be found. |
List<WikiPage> |
findByN_T(long nodeId,
String title)
Returns all the wiki pages where nodeId = ? and title = ?. |
List<WikiPage> |
findByN_T(long nodeId,
String title,
int start,
int end)
Returns a range of all the wiki pages where nodeId = ? and title = ?. |
List<WikiPage> |
findByN_T(long nodeId,
String title,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where nodeId = ? and title = ?. |
WikiPage |
findByNodeId_First(long nodeId,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where nodeId = ?. |
WikiPage |
findByNodeId_Last(long nodeId,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where nodeId = ?. |
WikiPage[] |
findByNodeId_PrevAndNext(long pageId,
long nodeId,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ?. |
List<WikiPage> |
findByNodeId(long nodeId)
Returns all the wiki pages where nodeId = ?. |
List<WikiPage> |
findByNodeId(long nodeId,
int start,
int end)
Returns a range of all the wiki pages where nodeId = ?. |
List<WikiPage> |
findByNodeId(long nodeId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where nodeId = ?. |
WikiPage |
findByPrimaryKey(long pageId)
Returns the wiki page with the primary key or throws a NoSuchPageException if it could not be found. |
WikiPage |
findByPrimaryKey(Serializable primaryKey)
Returns the wiki page with the primary key or throws a NoSuchModelException if it could not be found. |
WikiPage |
findByR_N_First(long resourcePrimKey,
long nodeId,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. |
WikiPage |
findByR_N_Last(long resourcePrimKey,
long nodeId,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. |
WikiPage[] |
findByR_N_PrevAndNext(long pageId,
long resourcePrimKey,
long nodeId,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. |
WikiPage |
findByR_N_S_First(long resourcePrimKey,
long nodeId,
int status,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. |
WikiPage |
findByR_N_S_Last(long resourcePrimKey,
long nodeId,
int status,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. |
WikiPage[] |
findByR_N_S_PrevAndNext(long pageId,
long resourcePrimKey,
long nodeId,
int status,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. |
List<WikiPage> |
findByR_N_S(long resourcePrimKey,
long nodeId,
int status)
Returns all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. |
List<WikiPage> |
findByR_N_S(long resourcePrimKey,
long nodeId,
int status,
int start,
int end)
Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. |
List<WikiPage> |
findByR_N_S(long resourcePrimKey,
long nodeId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. |
WikiPage |
findByR_N_V(long resourcePrimKey,
long nodeId,
double version)
Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or throws a NoSuchPageException if it could not be found. |
List<WikiPage> |
findByR_N(long resourcePrimKey,
long nodeId)
Returns all the wiki pages where resourcePrimKey = ? and nodeId = ?. |
List<WikiPage> |
findByR_N(long resourcePrimKey,
long nodeId,
int start,
int end)
Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. |
List<WikiPage> |
findByR_N(long resourcePrimKey,
long nodeId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. |
WikiPage |
findByU_N_S_First(long userId,
long nodeId,
int status,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. |
WikiPage |
findByU_N_S_Last(long userId,
long nodeId,
int status,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. |
WikiPage[] |
findByU_N_S_PrevAndNext(long pageId,
long userId,
long nodeId,
int status,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. |
List<WikiPage> |
findByU_N_S(long userId,
long nodeId,
int status)
Returns all the wiki pages where userId = ? and nodeId = ? and status = ?. |
List<WikiPage> |
findByU_N_S(long userId,
long nodeId,
int status,
int start,
int end)
Returns a range of all the wiki pages where userId = ? and nodeId = ? and status = ?. |
List<WikiPage> |
findByU_N_S(long userId,
long nodeId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?. |
WikiPage |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first wiki page in the ordered set where uuid = ?. |
WikiPage |
findByUUID_G(String uuid,
long groupId)
Returns the wiki page where uuid = ? and groupId = ? or throws a NoSuchPageException if it could not be found. |
WikiPage |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last wiki page in the ordered set where uuid = ?. |
WikiPage[] |
findByUuid_PrevAndNext(long pageId,
String uuid,
OrderByComparator orderByComparator)
Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ?. |
List<WikiPage> |
findByUuid(String uuid)
Returns all the wiki pages where uuid = ?. |
List<WikiPage> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the wiki pages where uuid = ?. |
List<WikiPage> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the wiki pages where uuid = ?. |
protected WikiPage |
getByFormat_PrevAndNext(Session session,
WikiPage wikiPage,
String format,
OrderByComparator orderByComparator,
boolean previous)
|
protected WikiPage |
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, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
Field Detail |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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_WITH_PAGINATION_FIND_BY_NODEID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_NODEID
public static final FinderPath FINDER_PATH_COUNT_BY_NODEID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FORMAT
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FORMAT
public static final FinderPath FINDER_PATH_COUNT_BY_FORMAT
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_N
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_N
public static final FinderPath FINDER_PATH_COUNT_BY_R_N
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_T
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T
public static final FinderPath FINDER_PATH_COUNT_BY_N_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H
public static final FinderPath FINDER_PATH_COUNT_BY_N_H
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_P
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_P
public static final FinderPath FINDER_PATH_COUNT_BY_N_P
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_R
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_R
public static final FinderPath FINDER_PATH_COUNT_BY_N_R
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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_WITH_PAGINATION_FIND_BY_R_N_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_N_S
public static final FinderPath FINDER_PATH_COUNT_BY_R_N_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_N_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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_WITH_PAGINATION_FIND_BY_N_T_H
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T_H
public static final FinderPath FINDER_PATH_COUNT_BY_N_T_H
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_T_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_T_S
public static final FinderPath FINDER_PATH_COUNT_BY_N_T_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_P
public static final FinderPath FINDER_PATH_COUNT_BY_N_H_P
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_S
public static final FinderPath FINDER_PATH_COUNT_BY_N_H_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_N_H_P_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_N_H_P_S
public static final FinderPath FINDER_PATH_COUNT_BY_N_H_P_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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=AssetLinkPersistence.class) protected AssetLinkPersistence assetLinkPersistence
@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
Constructor Detail |
---|
public WikiPagePersistenceImpl()
Method Detail |
---|
public void cacheResult(WikiPage wikiPage)
cacheResult
in interface WikiPagePersistence
wikiPage
- the wiki pagepublic void cacheResult(List<WikiPage> wikiPages)
cacheResult
in interface WikiPagePersistence
wikiPages
- the wiki pagespublic 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 void clearCache(List<WikiPage> wikiPages)
BasePersistence
The EntityCache
and FinderCache
are both cleared by this
method.
clearCache
in interface BasePersistence<WikiPage>
clearCache
in class BasePersistenceImpl<WikiPage>
wikiPages
- the List instances of this model to clear the cache forprotected void clearUniqueFindersCache(WikiPage wikiPage)
public WikiPage create(long pageId)
create
in interface WikiPagePersistence
pageId
- the primary key for the new wiki page
public WikiPage remove(long pageId) throws NoSuchPageException, SystemException
remove
in interface WikiPagePersistence
pageId
- the primary key of the wiki page
NoSuchPageException
- if a wiki page with the primary key could not be found
SystemException
- if a system exception occurredpublic WikiPage remove(Serializable primaryKey) throws NoSuchPageException, SystemException
remove
in interface BasePersistence<WikiPage>
remove
in class BasePersistenceImpl<WikiPage>
primaryKey
- the primary key of the wiki page
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
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
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
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
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
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 uuidstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 uuidstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 uuidorderByComparator
- the comparator to order the set by (optionally null
)
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 uuidorderByComparator
- the comparator to order the set by (optionally null
)
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 uuidorderByComparator
- the comparator to order the set by (optionally null
)
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 uuidgroupId
- the group ID
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 uuidgroupId
- the group ID
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 uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
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
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 IDstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDorderByComparator
- the comparator to order the set by (optionally null
)
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 IDorderByComparator
- the comparator to order the set by (optionally null
)
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 IDorderByComparator
- the comparator to order the set by (optionally null
)
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
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 formatstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 formatstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 formatorderByComparator
- the comparator to order the set by (optionally null
)
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 formatorderByComparator
- the comparator to order the set by (optionally null
)
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 formatorderByComparator
- the comparator to order the set by (optionally null
)
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 keynodeId
- the node ID
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 keynodeId
- the node IDstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 keynodeId
- the node IDstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 keynodeId
- the node IDorderByComparator
- the comparator to order the set by (optionally null
)
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 keynodeId
- the node IDorderByComparator
- the comparator to order the set by (optionally null
)
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 keynodeId
- the node IDorderByComparator
- the comparator to order the set by (optionally null
)
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 IDtitle
- the title
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 IDtitle
- the titlestart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDtitle
- the titlestart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDtitle
- the titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDtitle
- the titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDtitle
- the titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the head
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 IDhead
- the headstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDhead
- the headstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)
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 IDparentTitle
- the parent title
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 IDparentTitle
- the parent titlestart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDparentTitle
- the parent titlestart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDparentTitle
- the parent titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDparentTitle
- the parent titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDparentTitle
- the parent titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDredirectTitle
- the redirect title
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 IDredirectTitle
- the redirect titlestart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDredirectTitle
- the redirect titlestart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDredirectTitle
- the redirect titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDredirectTitle
- the redirect titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDredirectTitle
- the redirect titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDstatus
- the status
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 IDstatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDstatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 keynodeId
- the node IDversion
- the version
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 keynodeId
- the node IDversion
- the version
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 keynodeId
- the node IDversion
- the versionretrieveFromCache
- whether to use the finder cache
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 keynodeId
- the node IDstatus
- the status
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 keynodeId
- the node IDstatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 keynodeId
- the node IDstatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 keynodeId
- the node IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 keynodeId
- the node IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 keynodeId
- the node IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDnodeId
- the node IDstatus
- the status
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 IDnodeId
- the node IDstatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDnodeId
- the node IDstatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDnodeId
- the node IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDnodeId
- the node IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDnodeId
- the node IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDtitle
- the titleversion
- the version
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 IDtitle
- the titleversion
- the version
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 IDtitle
- the titleversion
- the versionretrieveFromCache
- whether to use the finder cache
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 IDtitle
- the titlehead
- the head
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 IDtitle
- the titlehead
- the headstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDtitle
- the titlehead
- the headstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDtitle
- the titlehead
- the headorderByComparator
- the comparator to order the set by (optionally null
)
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 IDtitle
- the titlehead
- the headorderByComparator
- the comparator to order the set by (optionally null
)
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 IDtitle
- the titlehead
- the headorderByComparator
- the comparator to order the set by (optionally null
)
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 IDtitle
- the titlestatus
- the status
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 IDtitle
- the titlestatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDtitle
- the titlestatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDtitle
- the titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDtitle
- the titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDtitle
- the titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the headparentTitle
- the parent title
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 IDhead
- the headparentTitle
- the parent titlestart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDhead
- the headparentTitle
- the parent titlestart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDhead
- the headparentTitle
- the parent titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the headparentTitle
- the parent titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the headparentTitle
- the parent titleorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the headstatus
- the status
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 IDhead
- the headstatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDhead
- the headstatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDhead
- the headstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the headstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the headstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the headparentTitle
- the parent titlestatus
- the status
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 IDhead
- the headparentTitle
- the parent titlestatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (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 IDhead
- the headparentTitle
- the parent titlestatus
- the statusstart
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
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 IDhead
- the headparentTitle
- the parent titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the headparentTitle
- the parent titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 IDhead
- the headparentTitle
- the parent titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
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 pagesend
- the upper bound of the range of wiki pages (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 pagesend
- the upper bound of the range of wiki pages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface WikiPagePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic void removeByUUID_G(String uuid, long groupId) throws NoSuchPageException, SystemException
removeByUUID_G
in interface WikiPagePersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchPageException
public void removeByNodeId(long nodeId) throws SystemException
removeByNodeId
in interface WikiPagePersistence
nodeId
- the node ID
SystemException
- if a system exception occurredpublic void removeByFormat(String format) throws SystemException
removeByFormat
in interface WikiPagePersistence
format
- the format
SystemException
- if a system exception occurredpublic void removeByR_N(long resourcePrimKey, long nodeId) throws SystemException
removeByR_N
in interface WikiPagePersistence
resourcePrimKey
- the resource prim keynodeId
- the node ID
SystemException
- if a system exception occurredpublic void removeByN_T(long nodeId, String title) throws SystemException
removeByN_T
in interface WikiPagePersistence
nodeId
- the node IDtitle
- the title
SystemException
- if a system exception occurredpublic void removeByN_H(long nodeId, boolean head) throws SystemException
removeByN_H
in interface WikiPagePersistence
nodeId
- the node IDhead
- the head
SystemException
- if a system exception occurredpublic void removeByN_P(long nodeId, String parentTitle) throws SystemException
removeByN_P
in interface WikiPagePersistence
nodeId
- the node IDparentTitle
- the parent title
SystemException
- if a system exception occurredpublic void removeByN_R(long nodeId, String redirectTitle) throws SystemException
removeByN_R
in interface WikiPagePersistence
nodeId
- the node IDredirectTitle
- the redirect title
SystemException
- if a system exception occurredpublic void removeByN_S(long nodeId, int status) throws SystemException
removeByN_S
in interface WikiPagePersistence
nodeId
- the node IDstatus
- the status
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 keynodeId
- the node IDversion
- the version
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 keynodeId
- the node IDstatus
- the status
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 IDnodeId
- the node IDstatus
- the status
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 IDtitle
- the titleversion
- the version
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 IDtitle
- the titlehead
- the head
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 IDtitle
- the titlestatus
- the status
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 IDhead
- the headparentTitle
- the parent title
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 IDhead
- the headstatus
- the status
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 IDhead
- the headparentTitle
- the parent titlestatus
- the status
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
SystemException
- if a system exception occurredpublic int countByUUID_G(String uuid, long groupId) throws SystemException
countByUUID_G
in interface WikiPagePersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic int countByNodeId(long nodeId) throws SystemException
countByNodeId
in interface WikiPagePersistence
nodeId
- the node ID
SystemException
- if a system exception occurredpublic int countByFormat(String format) throws SystemException
countByFormat
in interface WikiPagePersistence
format
- the format
SystemException
- if a system exception occurredpublic int countByR_N(long resourcePrimKey, long nodeId) throws SystemException
countByR_N
in interface WikiPagePersistence
resourcePrimKey
- the resource prim keynodeId
- the node ID
SystemException
- if a system exception occurredpublic int countByN_T(long nodeId, String title) throws SystemException
countByN_T
in interface WikiPagePersistence
nodeId
- the node IDtitle
- the title
SystemException
- if a system exception occurredpublic int countByN_H(long nodeId, boolean head) throws SystemException
countByN_H
in interface WikiPagePersistence
nodeId
- the node IDhead
- the head
SystemException
- if a system exception occurredpublic int countByN_P(long nodeId, String parentTitle) throws SystemException
countByN_P
in interface WikiPagePersistence
nodeId
- the node IDparentTitle
- the parent title
SystemException
- if a system exception occurredpublic int countByN_R(long nodeId, String redirectTitle) throws SystemException
countByN_R
in interface WikiPagePersistence
nodeId
- the node IDredirectTitle
- the redirect title
SystemException
- if a system exception occurredpublic int countByN_S(long nodeId, int status) throws SystemException
countByN_S
in interface WikiPagePersistence
nodeId
- the node IDstatus
- the status
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 keynodeId
- the node IDversion
- the version
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 keynodeId
- the node IDstatus
- the status
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 IDnodeId
- the node IDstatus
- the status
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 IDtitle
- the titleversion
- the version
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 IDtitle
- the titlehead
- the head
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 IDtitle
- the titlestatus
- the status
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 IDhead
- the headparentTitle
- the parent title
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 IDhead
- the headstatus
- the status
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 IDhead
- the headparentTitle
- the parent titlestatus
- the status
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface WikiPagePersistence
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |