ReadThroughCachingPageDao@Deprecated public class CachingPageDao extends DelegatingPageDao
| Constructor and Description |
|---|
CachingPageDao(PageDaoInternal delegateDao,
PageIdCache pageIdCache)
Deprecated.
since 5.10 Use
CachingPageDao(PageDaoInternal, VCacheFactory) |
CachingPageDao(PageDaoInternal delegateDao,
com.atlassian.vcache.VCacheFactory cacheFactory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Page |
getPage(Space space,
String pageTitle)
Deprecated.
Get the page by space and title.
|
Page |
getPageWithComments(Space space,
String pageTitle)
Deprecated.
Get the page by space and title, and perform an eager load of the comments and their children.
|
void |
remove(com.atlassian.core.bean.EntityObject object)
Deprecated.
since 6.10.0. Use
removeEntity(Page) instead. |
void |
removeEntity(Page objectToRemove)
Deprecated.
Remove object from persistence.
|
void |
save(com.atlassian.core.bean.EntityObject objectToSave)
Deprecated.
since 6.10.0. Use
saveEntity(Page) instead. |
void |
save(com.atlassian.core.bean.EntityObject objectToSave,
com.atlassian.core.bean.EntityObject originalObject)
Deprecated.
since 6.10.0. Use
saveEntity(Page, Page) instead. |
void |
saveEntity(Page objectToSave)
Deprecated.
Saves the given object to the database.
|
void |
saveEntity(Page currentObject,
@Nullable Page originalObject)
Deprecated.
Saves the given current object and historical object.
|
void |
saveRaw(com.atlassian.core.bean.EntityObject objectToSave)
Deprecated.
since 6.10.0. Use
saveRawEntity(Page) instead. |
void |
saveRawEntity(Page objectToSave)
Deprecated.
Saves the object without updating modification daa.
|
void |
saveRawWithoutReindex(com.atlassian.core.bean.EntityObject objectToSave)
Deprecated.
This is for internal use only, Do not rely on it as a public API.
|
countAllPages, countContentBySpaceIdAndStatus, countCurrentPages, countDraftPages, countPagesInSubtree, countPagesWithUnpublishedChanges, findAll, findAllDraftsFor, findAllLegacyDraftsFor, findAllSorted, findAllSorted, findBlogsWithCurrentOrHistoricalTitleInAllPermittedSpacesExcept, findBlogsWithCurrentOrHistoricalTitleInPermittedSpace, findByClassIds, findByClassIdsFiltered, findContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findContentPermissionSummaryByIds, findCurrentPages, findDraftFor, findDraftsWithUnpublishedChangesForUser, findHistoricalVersionsAfterVersion, findLatestVersionsCount, findLatestVersionsIterator, findPagesWithCurrentOrHistoricalTitleInAllPermittedSpacesExcept, findPagesWithCurrentOrHistoricalTitleInPermittedSpace, findPreviousVersions, findUnpublishedContentWithUserContributions, getAbstractPages, getAbstractPages, getAbstractPages, getAbstractPages, getAbstractPages, getAbstractPagesByCreationDate, getAbstractPagesByTitle, getAllChildren, getAllCurrentEntities, getAllModifiers, getAllModifiers, getAncestorsFor, getAuthoredPagesCountByUser, getBlogPosts, getById, getChildren, getCommentCountOnPage, getContentAuthoredByUser, getContributionStatusByUser, getDelegateDao, getDescendantIds, getDescendantIds, getDescendants, getDescendantTitles, getDraftChildren, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getMaxSiblingPosition, getObjectType, getOldestPageCreationDate, getOrphanedPages, getPageAndBlogPostsVersionsLastEditedByUser, getPageAndBlogPostsVersionsLastEditedByUserIncludingDrafts, getPageById, getPageByIdWithComments, getPageCount, getPageCount, getPageIds, getPageInTrash, getPages, getPages, getPages, getPagesByIds, getPagesCreatedOrUpdatedSinceDate, getPagesStartingWith, getPageStatistics, getPagesWithPermissions, getPermissionPages, getPermissionPages, getPermissionPagesCount, getPersistentClass, getRecentlyAddedEntities, getRecentlyAddedPages, getRecentlyAuthoredPagesByUser, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getRecentlyUpdatedPages, getTopLevelPages, getTopLevelPages, getTrashedContent, getTrashedContents, getTrashedEntities, getUndefinedLinks, getUndefinedPages, getVersion, getVersionEditContributors, getVersionHistorySummary, getVersionHistorySummary, getVersionsLastEditedByUser, getVersionsLastEditedByUserNew, refresh, refreshEntity, replicate, replicateEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilteredAbstractPages, getFilteredAbstractPages, getFilteredAbstractPages, getFilteredAbstractPages, getFilteredAbstractPages, getFilteredAbstractPagesByCreationDate, getFilteredAbstractPagesByTitle, getFilteredBlogPosts, getFilteredChildren, getFilteredPages, getFilteredPages, getFilteredTopLevelPagesfindContentBySpaceIdAndStatusAndFilter@Deprecated public CachingPageDao(PageDaoInternal delegateDao, PageIdCache pageIdCache)
CachingPageDao(PageDaoInternal, VCacheFactory)public CachingPageDao(PageDaoInternal delegateDao, com.atlassian.vcache.VCacheFactory cacheFactory)
public Page getPage(Space space, String pageTitle)
PageDaogetPage in interface PageDaogetPage in class DelegatingPageDaospace - The space the page belongs topageTitle - The title of the pagepublic Page getPageWithComments(Space space, String pageTitle)
PageDaogetPageWithComments in interface PageDaogetPageWithComments in class DelegatingPageDaospace - The space the page belongs topageTitle - The title of the page@Deprecated public void remove(com.atlassian.core.bean.EntityObject object)
removeEntity(Page) instead.ObjectDaoremove in interface ObjectDaoremove in interface ObjectDaoInternal<Page>remove in class DelegatingPageDaopublic void removeEntity(Page objectToRemove)
ObjectDaoInternalremoveEntity in interface ObjectDaoInternal<Page>removeEntity in class DelegatingPageDao@Deprecated public void save(com.atlassian.core.bean.EntityObject objectToSave, com.atlassian.core.bean.EntityObject originalObject)
saveEntity(Page, Page) instead.VersionedObjectDaosave in interface VersionedObjectDao<Page>save in class DelegatingPageDaoobjectToSave - the current object.originalObject - the original object. This will be mutated to become a historical version as part of this save.public void saveEntity(Page currentObject, @Nullable Page originalObject)
VersionedObjectDaoInternalsaveEntity in interface VersionedObjectDaoInternal<Page>saveEntity in class DelegatingPageDaocurrentObject - the current object.originalObject - the original object. This will be mutated to become a historical version as part of this save.@Deprecated public void save(com.atlassian.core.bean.EntityObject objectToSave)
saveEntity(Page) instead.save in interface ObjectDaosave in interface ObjectDaoInternal<Page>save in class DelegatingPageDaopublic void saveEntity(Page objectToSave)
ObjectDaoInternalsaveEntity in interface ObjectDaoInternal<Page>saveEntity in class DelegatingPageDaoobjectToSave - the object to save.@Deprecated public void saveRaw(com.atlassian.core.bean.EntityObject objectToSave)
saveRawEntity(Page) instead.ObjectDaosaveRaw in interface ObjectDaosaveRaw in interface ObjectDaoInternal<Page>saveRaw in class DelegatingPageDaoobjectToSave - the object to save.public void saveRawEntity(Page objectToSave)
ObjectDaoInternalIf the object is new, this won't set the creation date on the object. If it already exists, then it won't set the date that it was updated.
saveRawEntity in interface ObjectDaoInternal<Page>saveRawEntity in class DelegatingPageDaoobjectToSave - the object to save.public void saveRawWithoutReindex(com.atlassian.core.bean.EntityObject objectToSave)
ContentEntityObjectDaoInternalThis is for internal use only, Do not rely on it as a public API.
Perform a saveRaw but without performing the re-index; it is unnecessary in the context of a migration or upgrade.
saveRawWithoutReindex in interface ContentEntityObjectDaoInternal<Page>saveRawWithoutReindex in class DelegatingPageDaoCopyright © 2003–2022 Atlassian. All rights reserved.