T
- The type of ContentEntityObject this Dao works with.@Transactional public interface ContentEntityObjectDaoInternal<T extends ContentEntityObject> extends ContentEntityObjectDao<T>, VersionedObjectDaoInternal<T>
Modifier and Type | Method and Description |
---|---|
default PageResponse<SpaceContentEntityObject> |
findContentBySpaceIdAndStatusAndFilter(long spaceId,
String status,
LimitedRequest limitedRequest,
Predicate<? super SpaceContentEntityObject> predicate)
Retrieve content for a given space with a particular status.
|
List<SpaceContentEntityObject> |
getTrashedEntities(long contentIdOffset,
int limit)
Retrieve a batch of trashed content entities
|
void |
saveRawWithoutReindex(com.atlassian.core.bean.EntityObject objectToSave)
This is for internal use only, Do not rely on it as a public API.
|
countContentBySpaceIdAndStatus, findAllDraftsFor, findAllLegacyDraftsFor, findContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findDraftFor, findDraftsWithUnpublishedChangesForUser, findHistoricalVersionsAfterVersion, findPreviousVersions, findUnpublishedContentWithUserContributions, getAllCurrentEntities, getAllModifiers, getAllModifiers, getById, getContentAuthoredByUser, getContributionStatusByUser, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getObjectType, getOldestPageCreationDate, getPageAndBlogPostsVersionsLastEditedByUser, getPageAndBlogPostsVersionsLastEditedByUserIncludingDrafts, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getTrashedContent, getTrashedContents, getVersion, getVersionEditContributors, getVersionHistorySummary, getVersionHistorySummary, getVersionsLastEditedByUser, getVersionsLastEditedByUserNew
saveEntity
findLatestVersionsCount, findLatestVersionsIterator, save
findAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, getPersistentClass, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity
@Transactional(readOnly=true) default PageResponse<SpaceContentEntityObject> findContentBySpaceIdAndStatusAndFilter(long spaceId, String status, LimitedRequest limitedRequest, Predicate<? super SpaceContentEntityObject> predicate)
spaceId
- the id of the spacestatus
- the status of the content being retrieved (e.g. ContentEntityObject.DELETED
limitedRequest
- - the start and offset of the pages to retrievepredicate
- - a predicate to filter the returned results by@Transactional(readOnly=true) List<SpaceContentEntityObject> getTrashedEntities(long contentIdOffset, int limit)
contentIdOffset
- ids of returned entities must be greater than or equal to this valuelimit
- maximum number of entities to returnvoid saveRawWithoutReindex(com.atlassian.core.bean.EntityObject objectToSave)
This 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.
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences