@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 AbstractLabelableEntityObject>... filter) |
getById, getNextVersion, getOtherVersion, getPageAndBlogPostsVersionsLastEditedByUser, getPreviousVersion, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getVersionHistorySummaries, getVersionsLastEditedByUser, refreshContentEntity, removeContentEntity, removeHistoricalVersion, revertContentEntityBackToVersion, saveContentEntity, saveContentEntity, saveNewVersion, saveNewVersion, updateContentLinkingTo, updateOutgoingLinksInContent, updateSingleContentLinkinTo, updateSingleContentLinkinTo
createDraft, 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 AbstractLabelableEntityObject>... filter)
contentIds
- the contentIds of the candidate ContentEntityObjectslimitedRequest
- the page request to applyfilter
- an optional predicateCopyright © 2003–2016 Atlassian. All rights reserved.