@ParametersAreNonnullByDefault public interface ContentEntityManagerInternal extends ContentEntityManager, ContentDraftManagerInternal
ContentEntityManager
interface; see the package-info.java for rationale.ITERATE_ALL
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
getById(ContentId id) |
ContentEntityObject |
getById(ContentId id,
int version) |
PageResponse<ContentEntityObject> |
getByIds(List<ContentId> contentIds,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super ContentEntityObject>... filter) |
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, updateContentLinkingTo, updateOutgoingLinksInContent, updateSingleContentLinkinTo, updateSingleContentLinkinTo
createDraft, findAllDraftsFor, 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@Nonnull PageResponse<ContentEntityObject> getByIds(List<ContentId> contentIds, LimitedRequest limitedRequest, com.google.common.base.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–2017 Atlassian. All rights reserved.