public interface AbstractPageDao
Modifier and Type | Method and Description |
---|---|
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.
|
AbstractPage getAbstractPageById(long id)
AbstractPage
for the specified idjava.util.List<AbstractPage> getAbstractPageByIds(java.lang.Iterable<java.lang.Long> ids)
AbstractPage
for the list of idjava.util.List<ContentEntityObject> getOrderedXhtmlContentFromContentId(long startContentId, long endContentId, int maxRows)
startContentId
- The minimum IDendContentId
- The maximum IDmaxRows
- The maximum number of rows to returnint getCountOfLatestXhtmlContent(long endContentId)
endContentId
- The maximum IDlong 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 returnCopyright © 2003-2014 Atlassian. All Rights Reserved.