@ParametersAreNonnullByDefault public interface ContentEntityManagerInternal extends ContentEntityManager, ContentDraftManagerInternal
ContentEntityManager
interface; see the package-info.java for rationale.ITERATE_ALL
Modifier and Type | Method and Description |
---|---|
@Nullable ContentEntityObject |
getById(ContentId id) |
@Nullable ContentEntityObject |
getById(ContentId id,
int version) |
@NonNull PageResponse<ContentEntityObject> |
getByIds(List<ContentId> contentIds,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super ContentEntityObject>... filter)
Deprecated.
since 7.0.1. Use
getByIdsAndFilters(List, LimitedRequest, Predicate[]) |
default @NonNull PageResponse<ContentEntityObject> |
getByIdsAndFilters(List<ContentId> contentIds,
LimitedRequest limitedRequest,
Predicate<? super ContentEntityObject>... filter) |
@NonNull PageResponse<VersionHistorySummary> |
getVersionHistorySummaries(ContentId contentId,
LimitedRequest limitedRequest)
Get a VersionHistorySummary for all previous versions of a ContentEntityObject, list is ordered by Version number descending.
|
getById, getContributionStatusByUser, getNextVersion, getOtherVersion, getPageAndBlogPostsVersionsLastEditedByUser, getPageAndBlogPostsVersionsLastEditedByUserIncludingDrafts, getPreviousVersion, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getVersionHistorySummaries, getVersionsLastEditedByUser, refreshContentEntity, removeContentEntity, removeHistoricalVersion, revertContentEntityBackToVersion, saveContentEntity, saveContentEntity, saveNewVersion, saveNewVersion
createDraft, findAllDraftsFor, findAllDraftsWithUnpublishedChangesForUser, findDraftFor, findDraftFor, findUnpublishedContentWithUserContributions
@Nullable ContentEntityObject getById(ContentId id)
UnsupportedOperationException
- if the ContentId does not map to a ContentEntityObject@Nullable ContentEntityObject getById(ContentId id, int version)
id
- the id of the last version CEO. Previous version ids will make this method return nullUnsupportedOperationException
- if the ContentId does not map to a ContentEntityObject@Deprecated @NonNull PageResponse<ContentEntityObject> getByIds(List<ContentId> contentIds, LimitedRequest limitedRequest, com.google.common.base.Predicate<? super ContentEntityObject>... filter)
getByIdsAndFilters(List, LimitedRequest, Predicate[])
contentIds
- the contentIds of the candidate ContentEntityObjectslimitedRequest
- the page request to applyfilter
- an optional predicatedefault @NonNull PageResponse<ContentEntityObject> getByIdsAndFilters(List<ContentId> contentIds, LimitedRequest limitedRequest, Predicate<? super ContentEntityObject>... filter)
contentIds
- the contentIds of the candidate ContentEntityObjectslimitedRequest
- the page request to applyfilter
- an optional predicate@NonNull PageResponse<VersionHistorySummary> getVersionHistorySummaries(ContentId contentId, LimitedRequest limitedRequest)
contentId
- the entity Id of the object to return the version history ofCopyright © 2003–2021 Atlassian. All rights reserved.