public class HibernateAbstractPageDao extends HibernateObjectDao implements AbstractPageDaoInternal
HibernateObjectDao.Cacheability| Constructor and Description | 
|---|
| HibernateAbstractPageDao() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | countStaleSharedDrafts()Counting number of stale share draft in DB | 
| AbstractPage | getAbstractPageById(long id) | 
| List<AbstractPage> | getAbstractPageByIds(Iterable<Long> ids)Retrieves a list of  AbstractPagefor the list of id | 
| protected AbstractPage | getByClassId(long id)Retrieve the object with a particular id from the database. | 
| 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. | 
| Class | getPersistentClass()Gets the type of  EntityObjectthis Dao works with. | 
| 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. | 
| List<ContentEntityObject> | getStaleSharedDrafts()Get all stale shared drafts in the database. | 
| List<ContentEntityObject> | getStaleSharedDrafts(LimitedRequest limitedRequest)Get all stale shared drafts in the database. | 
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getCountResult, getHibernateTemplate, getSession, getSessionFactory, index, indexEntity, refresh, refreshEntity, reIndex, reIndexEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity, setEventPublisher, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResult, updateEntityModificationData, updateModificationDataprotected AbstractPage getByClassId(long id)
HibernateObjectDaogetByClassId in class HibernateObjectDaoid - the id of the object to look uppublic AbstractPage getAbstractPageById(long id)
getAbstractPageById in interface AbstractPageDaoPage or BlogPost (current subclasses of AbstractPage). Null if no result could be found.public List<AbstractPage> getAbstractPageByIds(Iterable<Long> ids)
AbstractPageDaoAbstractPage for the list of idgetAbstractPageByIds in interface AbstractPageDaopublic List<ContentEntityObject> getOrderedXhtmlContentFromContentId(long startContentId, long endContentId, int maxRows)
AbstractPageDaogetOrderedXhtmlContentFromContentId in interface AbstractPageDaostartContentId - The minimum IDendContentId - The maximum IDmaxRows - The maximum number of rows to returnpublic long getHighestCeoId()
AbstractPageDaogetHighestCeoId in interface AbstractPageDaopublic List<ContentEntityObject> getPreviousVersionsOfPageWithTaskId(long pageId, long taskId, int maxRows)
AbstractPageDaogetPreviousVersionsOfPageWithTaskId in interface AbstractPageDaopageId - 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 returnpublic int getCountOfLatestXhtmlContent(long endContentId)
AbstractPageDaogetCountOfLatestXhtmlContent in interface AbstractPageDaoendContentId - The maximum IDpublic int countStaleSharedDrafts()
AbstractPageDaoInternalcountStaleSharedDrafts in interface AbstractPageDaoInternalpublic List<ContentEntityObject> getStaleSharedDrafts(LimitedRequest limitedRequest)
AbstractPageDaoInternalgetStaleSharedDrafts in interface AbstractPageDaoInternallimitedRequest - limit number of object to returnpublic List<ContentEntityObject> getStaleSharedDrafts()
AbstractPageDaogetStaleSharedDrafts in interface AbstractPageDaopublic Class getPersistentClass()
ObjectDaoInternalEntityObject this Dao works with.getPersistentClass in interface ObjectDaogetPersistentClass in interface ObjectDaoInternalCopyright © 2003–2022 Atlassian. All rights reserved.