|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbstractPageDao
Method Summary | |
---|---|
AbstractPage |
getAbstractPageById(long id)
Retrieves an AbstractPage for the specified id |
java.util.List<AbstractPage> |
getAbstractPageByIds(java.lang.Iterable<java.lang.Long> ids)
Retrieves a list of AbstractPage for the list of id |
int |
getCountOfLatestXhtmlContent(long endContentId)
Count the number of AbstractPages that have an ID lower than the specified ID, excluding older versions. |
long |
getHighestCeoId()
Get the highest content ID in the database, excluding older versions of content. |
java.util.List<ContentEntityObject> |
getOrderedXhtmlContentFromContentId(long startContentId,
long endContentId,
int maxRows)
Gets the latest versions of AbstractPages between the given IDs limited by the specified number of rows. |
java.util.List<ContentEntityObject> |
getPreviousVersionsOfPageWithTaskId(long pageId,
long taskId,
int maxRows)
Get previous versions of a CEO that contain the given task ID sorted by versions in descending order. |
Method Detail |
---|
AbstractPage getAbstractPageById(long id)
AbstractPage
for the specified id
java.util.List<AbstractPage> getAbstractPageByIds(java.lang.Iterable<java.lang.Long> ids)
AbstractPage
for the list of id
java.util.List<ContentEntityObject> getOrderedXhtmlContentFromContentId(long startContentId, long endContentId, int maxRows)
startContentId
- The minimum IDendContentId
- The maximum IDmaxRows
- The maximum number of rows to return
int getCountOfLatestXhtmlContent(long endContentId)
endContentId
- The maximum ID
long getHighestCeoId()
java.util.List<ContentEntityObject> getPreviousVersionsOfPageWithTaskId(long pageId, long taskId, int maxRows)
pageId
- The ID of the latest version of the pagetaskId
- The task ID to look for in previous versionsmaxRows
- The maximum number of previous versions to return
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |