public interface AbstractPageDao
Modifier and Type | Method and Description |
---|---|
AbstractPage |
getAbstractPageById(long id)
Retrieves an
AbstractPage for the specified id |
List<AbstractPage> |
getAbstractPageByIds(Iterable<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.
|
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.
|
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 idList<AbstractPage> getAbstractPageByIds(Iterable<Long> ids)
AbstractPage
for the list of idList<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()
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–2016 Atlassian. All rights reserved.