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.


Field Summary
 
Fields inherited from interface com.atlassian.confluence.core.ContentEntityManager
ITERATE_ALL
 
Method Summary
 ContentEntityObject getById(ContentId id)
           
 ContentEntityObject getById(ContentId id, int version)
           
 
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
 

Method Detail

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


Copyright © 2003–2015 Atlassian. All rights reserved.