com.atlassian.confluence.internal
Interface ContentEntityManagerInternal
- All Superinterfaces:
- ContentEntityManager
- All Known Implementing Classes:
- DefaultCommentManager, DefaultContentEntityManager, DefaultCustomContentManager, DefaultPageManager, DefaultPersonalInformationManager, DefaultSpaceDescriptionManager, DefaultUserStatusManager
public interface ContentEntityManagerInternal
- extends ContentEntityManager
Internal version of the ContentEntityManager
interface; see the package-info.java for rationale.
Methods inherited from interface com.atlassian.confluence.core.ContentEntityManager |
getById, getNextVersion, getOtherVersion, getPreviousVersion, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getVersionHistorySummaries, refreshContentEntity, removeContentEntity, removeHistoricalVersion, revertContentEntityBackToVersion, saveContentEntity, saveContentEntity, saveNewVersion, saveNewVersion, setEventManager, updateContentLinkingTo, updateOutgoingLinksInContent, updateSingleContentLinkinTo, updateSingleContentLinkinTo |
getById
ContentEntityObject getById(ContentId id)
- Returns:
- the ContentEntityObject with the corresponding id or null if the object with that id does not exist
- Throws:
UnsupportedOperationException
- if the ContentId does not map to a ContentEntityObject
getById
ContentEntityObject getById(ContentId id,
int version)
- Parameters:
id
- the id of the last version CEO. Previous version ids will make this method return null
- Returns:
- the ContentEntityObject with the corresponding id and version or null if the object with that id and version does not exist.
null will also be returned if the id points to a CEO which version is not the last one.
- Throws:
UnsupportedOperationException
- if the ContentId does not map to a ContentEntityObject
getByIds
PageResponse<ContentEntityObject> getByIds(List<ContentId> contentIds,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super AbstractLabelableEntityObject>... filter)
- Parameters:
contentIds
- the contentIds of the candidate ContentEntityObjectslimitedRequest
- the page request to applyfilter
- an optional predicate
- Returns:
- fetch multiple contentEntityObjects by id that match the provided predicate
Copyright © 2003–2015 Atlassian. All rights reserved.