Uses of Class
com.atlassian.confluence.core.ContentEntityObject
Package
Description
Subpackages of this package are exposed to the plugin whose key starting with com.atlassian or in the internal-bundles section of public-api,yaml
Confluence attachment events.
Provides an extensible, flexible search API.
-
Uses of ContentEntityObject in com.atlassian.confluence.admin.actions
Modifier and TypeMethodDescriptionprotected ContentEntityObject
ConfigureDefaultSpaceLogoAction.getContentToAttachLogoTo()
-
Uses of ContentEntityObject in com.atlassian.confluence.api.impl
Modifier and TypeMethodDescriptionDefaultApiRestEntityFactory.buildRestEntityFrom
(ContentEntityObject entity, Expansions expansions) Modifier and TypeMethodDescriptionDefaultApiRestEntityFactory.buildRestEntityFromContent
(Iterable<? extends ContentEntityObject> entities, Expansions expansions) -
Uses of ContentEntityObject in com.atlassian.confluence.api.impl.service.content
Modifier and TypeMethodDescriptionContentServiceImpl.buildContent
(ContentEntityObject entity, List<ContentStatus> statuses, Expansion... expansions) ContentBodyConversionManagerImpl.convert
(ContentRepresentation fromFormat, String value, ContentRepresentation toFormat, ContentEntityObject ceo, Expansion... expansions) protected ValidationResult
ContentServiceImpl.ValidatorImpl.validateUpdate
(Content updatedContent, ContentEntityObject currentCeo) ModifierConstructorDescriptionContentTrashServiceImpl
(PageManager pageManager, PermissionManager permissionManager, PageService pageService, BlogPostService blogPostService, CommentService commentService, Supplier<ContentService> contentServiceSupplier, SpaceManager spaceManager, AttachmentManager attachmentManager, TrashManager trashManager, ModelFactory<ContentEntityObject, Content> contentFactory, SpacePermissionManager spacePermissionManager) -
Uses of ContentEntityObject in com.atlassian.confluence.api.impl.service.content.factory
Modifier and TypeMethodDescriptionContentMetadataFactory.buildMetadataForContentEntityObjects
(Map<ContentEntityObject, Supplier<Content>> contentMap, Fauxpansions fauxpansions) Make common metadata for a set of ContentEntityObject objects.DefaultContentMetadataFactory.buildMetadataForContentEntityObjects
(Map<ContentEntityObject, Supplier<Content>> contentMap, Fauxpansions fauxpansions) HistoryFactory.buildReferences
(Iterable<ContentEntityObject> ceos, Fauxpansions historyExpansions, ContentFactory contentFactory) Modifier and TypeMethodDescriptionContentBodyFactory.build
(ContentEntityObject ceo, BodyContent bodyContent, ContentRepresentation representation) VersionFactory.build
(ContentEntityObject entity, Expansions subExpansions, ContentFactory contentFactory) ContentFactory.builderFrom
(ContentEntityObject entity, ContentType contentType, Expansions expansions) Exposes the content builder that this factory uses to produce content objects, generally don't use this method, it exists as an interim measure whilst legacy drafts are being migrated to shared drafts and we need to be able to attach files to legacy drafts using the rest api.ContentFactory.buildFrom
(ContentEntityObject entity, Expansions expansions) ContentFactory.buildRef
(ContentEntityObject entity, Fauxpansions fauxpansions) HistoryFactory.buildRef
(ContentEntityObject entity, Reference<Content> contentReference, List<ConfluenceUser> editContributors, Fauxpansions fauxpansions, ContentFactory contentFactory) VersionFactory.buildRef
(ContentEntityObject entity, Fauxpansions fauxpansions, ContentFactory contentFactory) ContentBlueprintInstanceFactory.convertToInstance
(ContentEntityObject ceo, ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions) Deprecated.DefaultContentBlueprintInstanceFactory.convertToInstance
(ContentEntityObject ceo, ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions) ContentBodyFactory.makeContentBodies
(ContentEntityObject ceo, BodyContent bodyContent, Expansions expansions, ContentFactory contentFactory) Modifier and TypeMethodDescriptionContentFactory.buildFrom
(Iterable<? extends ContentEntityObject> entities, Expansions expansions) ContentMetadataFactory.buildMetadataForContentEntityObjects
(Map<ContentEntityObject, Supplier<Content>> contentMap, Fauxpansions fauxpansions) Make common metadata for a set of ContentEntityObject objects.DefaultContentMetadataFactory.buildMetadataForContentEntityObjects
(Map<ContentEntityObject, Supplier<Content>> contentMap, Fauxpansions fauxpansions) HistoryFactory.buildReferences
(Iterable<ContentEntityObject> ceos, Fauxpansions historyExpansions, ContentFactory contentFactory) -
Uses of ContentEntityObject in com.atlassian.confluence.api.impl.service.content.finder
Modifier and TypeMethodDescriptionstatic Predicate<? super ContentEntityObject>
FinderPredicates.containerPredicate
(@NonNull ContentId containerId) Create a predicate that matchesContained
instances that have the same container ID, for exampleAttachment
s orComment
s on the same page.static Predicate<? super ContentEntityObject>
FinderPredicates.createCommentLocationPredicate
(Collection<String> location) static Predicate<? super ContentEntityObject>
FinderPredicates.createContentIdPredicate
(List<ContentId> contentIds) static Predicate<? super ContentEntityObject>
FinderPredicates.createContentTypePredicate
(ContentType... types) static Predicate<? super ContentEntityObject>
FinderPredicates.createCreationDatePredicate
(LocalDate createdDate) static Predicate<? super ContentEntityObject>
FinderPredicates.createFileNamePredicate
(String filename) static Predicate<? super ContentEntityObject>
FinderPredicates.createMediaTypePredicate
(String mediaType) static Predicate<? super ContentEntityObject>
FinderPredicates.createSpaceKeysPredicate
(List<String> spaceKeys) static Predicate<? super ContentEntityObject>
FinderPredicates.createTitlePredicate
(String title) static Predicate<? super ContentEntityObject>
FinderPredicates.statusPredicate
(List<ContentStatus> statuses) -
Uses of ContentEntityObject in com.atlassian.confluence.api.impl.service.content.typebinding
Modifier and TypeMethodDescriptionboolean
AttachmentContentTypeApiSupport.canCreateAttachments
(ContentEntityObject ceo) Modifier and TypeMethodDescriptionprotected PageResponse<Content>
CommentContentTypeApiSupport.getFilteredChildrenForThisType
(Comment content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super ContentEntityObject> predicate) protected PageResponse<Content>
CommentContentTypeApiSupport.getFilteredChildrenOfThisTypeForOtherType
(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super ContentEntityObject> predicate) -
Uses of ContentEntityObject in com.atlassian.confluence.api.impl.service.permissions
Modifier and TypeMethodDescriptionprotected @NonNull Map<String,
Collection<ContentPermission>> ContentRestrictionServiceImpl.getMergedContentPermissions
(@NonNull ContentEntityObject ceo, @NonNull Collection<? extends ContentRestriction> givenContentRestrictions, @NonNull ContentRestrictionServiceImpl.MergeMode mergeMode) Builds a Map ofContentPermission
s mapped to their PermissionType fromgivenContentRestrictions
provided and the ones already existing onContentEntityObject
protected @NonNull Optional<ContentPermission>
ContentRestrictionServiceImpl.getPreExistingContentPermissionForGroup
(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable Group group) Gets pre-existingContentPermission
(singular, optional) for theGroup
andOperationKey
(as String permissionType) specified.protected @NonNull Optional<ContentPermission>
ContentRestrictionServiceImpl.getPreExistingContentPermissionForSubject
(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable Subject subject) Gets pre-existingContentPermission
(singular, optional) for theSubject
andOperationKey
(as String permissionType) specified.protected @NonNull Optional<ContentPermission>
ContentRestrictionServiceImpl.getPreExistingContentPermissionForUser
(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @NonNull User user) Gets pre-existingContentPermission
(singular, optional) for theUser
andOperationKey
(as String permissionType) specified.protected @NonNull Set<ContentPermission>
ContentRestrictionServiceImpl.getPreExistingContentPermissions
(@Nullable ContentEntityObject ceo, @Nullable String permissionType) Gets Set of all the distinctContentPermission
s of the specifiedpermissionType
pre-existing on theContentEntityObject
passed.protected @NonNull Set<ContentPermission>
ContentRestrictionServiceImpl.getPreExistingContentPermissions
(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable Predicate<ContentPermission> filterBy) Gets Set of all the distinctContentPermission
s of the specifiedpermissionType
pre-existing on theContentEntityObject
passed.protected @NonNull Set<ContentPermission>
ContentRestrictionServiceImpl.getPreExistingContentPermissionsForSubjectType
(@Nullable ContentEntityObject ceo, @Nullable String permissionType, @Nullable SubjectType subjectType) Gets pre-existingContentPermission
s (plural) for theSubjectType
andOperationKey
(as String permissionType) specified. -
Uses of ContentEntityObject in com.atlassian.confluence.content
Modifier and TypeClassDescriptionclass
Generic ContentEntityObject that plugins can use to extend Confluence's content system.Modifier and TypeMethodDescription@Nullable ContentEntityObject
CustomContentEntityObject.getContainer()
ContentProperty.getContentEntity()
Content.getEntity()
Gets the ContentEntityObject that backs this piece of content.Modifier and TypeMethodDescription@NonNull PageResponse<CustomContentEntityObject>
CustomContentManager.getChildrenOfTypeAndFilter
(ContentEntityObject entity, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super CustomContentEntityObject> predicate) Returns the children of a CustomContentEntityObject, limited to the pagination requested.boolean
ContentEntityAdapter.isAllowedContainer
(ContentEntityObject child, ContentEntityObject container) Determine if a particular content is an acceptable container for a particular child.boolean
ContentEntityAdapterParent.isAllowedContainer
(ContentEntityObject child, ContentEntityObject container) boolean
DefaultContentAdapter.isAllowedContainer
(ContentEntityObject child, ContentEntityObject owner) void
CustomContentManager.saveContentEntity
(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) void
CustomContentEntityObject.setContainer
(@Nullable ContentEntityObject container) void
ContentProperty.setContentEntity
(ContentEntityObject content) -
Uses of ContentEntityObject in com.atlassian.confluence.content.apisupport
Modifier and TypeMethodDescription<T extends ContentEntityObject>
TContentCreator.cloneForUpdate
(T ceo) <T extends ContentEntityObject>
TDefaultContentCreator.cloneForUpdate
(T ceo) <T extends ContentEntityObject>
TDraftAttributesCopier.copyDraftAttributes
(T entity, Draft draft) Transfers all metadata from draft to the entity.<T extends ContentEntityObject>
TContentCreator.saveForCreate
(T entity) Deprecated.<T extends ContentEntityObject>
TContentCreator.saveForCreate
(T entity, @Nullable Version version, com.atlassian.fugue.Option<Draft> draft) Deprecated.<T extends ContentEntityObject>
TContentCreator.saveForCreate
(T entity, com.atlassian.fugue.Option<Draft> draft) Deprecated.<T extends ContentEntityObject>
TDefaultContentCreator.saveForCreate
(T entity) Deprecated.<T extends ContentEntityObject>
TDefaultContentCreator.saveForCreate
(T entity, @Nullable Version version, com.atlassian.fugue.Option<Draft> draft) Deprecated.since 7.0.1.<T extends ContentEntityObject>
TDefaultContentCreator.saveForCreate
(T entity, com.atlassian.fugue.Option<Draft> draft) Deprecated.<T extends ContentEntityObject>
TContentCreator.saveNewContent
(T entity, @Nullable Version version, @Nullable Draft draft) <T extends ContentEntityObject>
TDefaultContentCreator.saveNewContent
(T entity, @Nullable Version version, @Nullable Draft draft) Save a newly created content entity object<T extends ContentEntityObject>
TContentCreator.saveNewVersion
(T ceo, T originalCEO, Version version) <T extends ContentEntityObject>
TDefaultContentCreator.saveNewVersion
(T ceo, T originalCEO, Version version) Save a new version of the CEO due to an update<T extends ContentEntityObject>
T<T extends ContentEntityObject>
TSaves CEOModifier and TypeMethodDescriptionCustomContentApiSupportParams.getContentFactory()
CustomContentApiSupportParamsImpl.getContentFactory()
Modifier and TypeMethodDescriptionboolean
ContentCreator.setCommonMetadata
(Content updatedContent, ContentEntityObject entity) boolean
DefaultContentCreator.setCommonMetadata
(Content updatedContent, ContentEntityObject entity) Sets the common metadata on the entityvoid
ContentCreator.setCommonPropertiesForCreate
(Content newContent, ContentEntityObject entity, com.atlassian.user.User authenticatedUser) void
DefaultContentCreator.setCommonPropertiesForCreate
(Content newContent, ContentEntityObject entity, com.atlassian.user.User authenticatedUser) Sets common properties on a newly created entity in preparation for being saved.boolean
ContentCreator.setCommonPropertiesForUpdate
(Content updatedContent, ContentEntityObject entity) boolean
DefaultContentCreator.setCommonPropertiesForUpdate
(Content updatedContent, ContentEntityObject entity) Sets common properties on the entity in preparation for an update.boolean
ContentCreator.setContentBodyOnEntity
(Content updatedContent, ContentEntityObject entity) boolean
DefaultContentCreator.setContentBodyOnEntity
(Content updatedContent, ContentEntityObject entity) Sets the body content in updatedContent on the entityboolean
ContentCreator.setContentStatusOnEntity
(Content updatedContent, ContentEntityObject entity) boolean
DefaultContentCreator.setContentStatusOnEntity
(Content updatedContent, ContentEntityObject entity) Sets the content status from updatedContent on the entityboolean
ContentCreator.setLabelsMetadataOnEntity
(Content updatedContent, ContentEntityObject entity) boolean
DefaultContentCreator.setLabelsMetadataOnEntity
(Content updatedContent, ContentEntityObject entity) Sets the labels metadata on the entityboolean
ContentCreator.setOriginalVersionOnEntity
(Content updatedContent, ContentEntityObject entity) boolean
DefaultContentCreator.setOriginalVersionOnEntity
(Content updatedContent, ContentEntityObject entity) This property only applies to shared drafts.boolean
ContentCreator.setTitleOnEntity
(Content updatedContent, ContentEntityObject entity) boolean
DefaultContentCreator.setTitleOnEntity
(Content updatedContent, ContentEntityObject entity) Sets the title in updatedContent on the entityContentCreator.validateUpdate
(ConfluenceUser user, Content updatedContent, ContentEntityObject entity) DefaultContentCreator.validateUpdate
(ConfluenceUser user, Content updatedContent, ContentEntityObject entity) Perform common validation checks for updating contentModifier and TypeMethodDescriptionfinal PageResponse<Content>
BaseContentTypeApiSupport.getFilteredChildren
(ContentConvertible content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super ContentEntityObject> predicate) Retrieve the children of an item of Content.ContentTypeApiSupport.getFilteredChildren
(ContentConvertible content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super ContentEntityObject> predicate) Retrieve the children of an item of Content filtered by a predicate.protected PageResponse<Content>
BaseContentTypeApiSupport.getFilteredChildrenForThisType
(T content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super ContentEntityObject> predicate) This method includes an additional parameter "location", it will call the default one if not overriddenprotected PageResponse<Content>
BaseContentTypeApiSupport.getFilteredChildrenOfThisTypeForOtherType
(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super ContentEntityObject> predicate) This method includes an additional parameter "location", it will call the default one if not overriddenprotected PageResponse<Content>
CustomContentTypeApiSupport.getFilteredChildrenOfThisTypeForOtherType
(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super ContentEntityObject> predicate) ContentCreator.validateCreate
(ConfluenceUser confluenceUser, Content newContent, Class<? extends ContentEntityObject> entityClass) DefaultContentCreator.validateCreate
(ConfluenceUser confluenceUser, Content newContent, Class<? extends ContentEntityObject> entityClass) Perform common validation checks for creation of content in a spaceModifierConstructorDescriptionCustomContentApiSupportParamsImpl
(ApiSupportProvider provider, CustomContentManager customContentManager, ContentCreator contentCreator, ContentEntityManager contentEntityManager, ModelFactory<ContentEntityObject, Content> contentFactory) -
Uses of ContentEntityObject in com.atlassian.confluence.content.event
-
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml
Modifier and TypeMethodDescription<T extends ContentEntityObject>
TDefaultXhtmlContent.convertWikiBodyToStorage
(T ceo) Modifier and TypeMethodDescription@Nullable ContentEntityObject
ConversionContext.getEntity()
Get the current ContentEntityObject for this context.DefaultConversionContext.getEntity()
XhtmlFragmentTimeoutEvent.getEntity()
XhtmlMacroTimeoutEvent.getEntity()
Modifier and TypeMethodDescriptionPolicyConfiguredCleaner.clean
(ContentEntityObject uncleanCeo) XhtmlCleaner.clean
(ContentEntityObject uncleanCeo) Deprecated.Clean the supplied body content markup and make it safe from security concerns.PolicyConfiguredCleaner.cleanEntity
(ContentEntityObject uncleanCeo) StorageFormatCleaner.cleanEntity
(ContentEntityObject uncleanCeo) Clean the supplied body content markup and make it safe from security concerns.PolicyConfiguredCleaner.cleanQuietly
(ContentEntityObject uncleanCeo) StorageFormatCleaner.cleanQuietly
(ContentEntityObject uncleanCeo) Clean the specified body content markup and make it safe from security concerns with out reporting any clean up performedXhtmlCleaner.cleanQuietly
(ContentEntityObject uncleanCeo) Deprecated.Clean the specified body content markup and make it safe from security concerns with out reporting any clean up performedDefaultLinkRenderer.render
(ContentEntityObject content, ConversionContext conversionContext) DefaultLinkRenderer.render
(ContentEntityObject content, String linkAlias, ConversionContext conversionContext) DefaultRenderer.render
(ContentEntityObject content) DefaultRenderer.render
(ContentEntityObject contentEntityObject, ConversionContext conversionContext) DeviceTypeAwareRenderer.render
(ContentEntityObject content) DeviceTypeAwareRenderer.render
(ContentEntityObject content, ConversionContext conversionContext) LinkRenderer.render
(ContentEntityObject content, ConversionContext conversionContext) Renders link to specified content using the display name of the content as the link body.LinkRenderer.render
(ContentEntityObject content, String linkAlias, ConversionContext conversionContext) Renders link to specified content with specified alias.Renderer.render
(ContentEntityObject content) Renderer.render
(ContentEntityObject content, ConversionContext conversionContext) ModifierConstructorDescriptionXhtmlFragmentTimeoutEvent
(Object src, ContentEntityObject entity, long allowedTimeInSeconds, long exceededTimeInMilliseconds) XhtmlMacroTimeoutEvent
(Object src, String name, ContentEntityObject entity, long allowedTimeInSeconds, long exceededTimeInMilliseconds) -
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.compatibility
Modifier and TypeMethodDescriptionBodyTypeAwareRenderer.render
(ContentEntityObject content) BodyTypeAwareRenderer.render
(ContentEntityObject content, ConversionContext conversionContext) Produces an appropriate rendering of the specified content depending on itsBodyType
. -
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.links
Modifier and TypeMethodDescriptionOutgoingLinksExtractor.extract
(ContentEntityObject content) XhtmlOutgoingLinksExtractor.extract
(ContentEntityObject content) -
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.migration
Modifier and TypeMethodDescriptionContentWithTasksWorkSource.getBatch()
Returns a batch of work.WikiMarkupContentEntityObjectMigrationWorkSource.getBatch()
Returns a batch of work.ContentDao.getLatestOrderedWikiContentFromContentId
(long startContentId, int maxRows) DefaultContentDao.getLatestOrderedWikiContentFromContentId
(long startContentId, int maxRows) ContentDao.getLatestOrderedXhtmlContentFromContentIds
(long startContentId, long endContentId) This is for internal use only, Do not rely on it as a public API.DefaultContentDao.getLatestOrderedXhtmlContentFromContentIds
(long startContentId, long endContentId) ContentDao.getOrderedXhtmlContentFromContentId
(long startContentId, int maxRows) This is for internal use only, Do not rely on it as a public API.DefaultContentDao.getOrderedXhtmlContentFromContentId
(long startContentId, int maxRows) DefaultContentDao.getPersistentClass()
ContentDao.getXhtmlSpaceDescriptionsFromContentId
(long startContentId, int maxRows) This is for internal use only, Do not rely on it as a public API.DefaultContentDao.getXhtmlSpaceDescriptionsFromContentId
(long startContentId, int maxRows) Modifier and TypeMethodDescriptionprotected void
DefaultContentDao.updateModificationData
(ContentEntityObject objectToSave) This method overrides the default behaviour which is to get the current user from a thread local and to set the last updated time to the current time.ModifierConstructorDescriptionDefaultSiteMigrator
(int numberOfThreads, org.hibernate.SessionFactory sessionFactory, org.springframework.transaction.PlatformTransactionManager transactionManager, ContentEntityObjectDao contentDao, ExceptionTolerantMigrator migrator, CacheFlusher cacheFlusher, BatchableWorkSource<ContentEntityObject> workSource, String versionCommentProperty, String defaultVersionCommment, com.atlassian.scheduler.core.LifecycleAwareSchedulerService lifecycleAwareSchedulerService) -
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.migration.exceptions
ModifierConstructorDescriptionContentMigrationException
(ContentEntityObject ceo, Throwable cause) -
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.migration.macro
Modifier and TypeMethodDescriptionboolean
ContentEntityMigrationBatchTask.apply
(ContentEntityObject entity, int index, int batchSize) -
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.migration.tasks
ModifierConstructorDescriptionContentEntityMigrationTaskWrapper
(ExceptionReport report, BatchableWorkSource<ContentEntityObject> workSource, ContentEntityMigrationBatchTask batchTask, ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback, org.hibernate.SessionFactory sessionFactory) -
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Modifier and TypeMethodDescriptionAttachmentOwningContentResolver.resolve
(AttachmentResourceIdentifier resourceIdentifier, ConversionContext conversionContext) ContentEntityResourceIdentifierResolver.resolve
(ContentEntityResourceIdentifier resourceIdentifier, ConversionContext conversionContext) Modifier and TypeMethodDescriptionDefaultResourceIdentifierContextUtility.convertToAbsolute
(ResourceIdentifier ri, ContentEntityObject ceo) ResourceIdentifierContextUtility.convertToAbsolute
(ResourceIdentifier ri, ContentEntityObject ceo) Create and return a fully populated version of the supplied ResourceIdentifier with any missing attributes derived from the supplied context ContentEntityObject.DefaultResourceIdentifierContextUtility.convertToRelative
(ResourceIdentifier ri, ContentEntityObject ceo) ResourceIdentifierContextUtility.convertToRelative
(ResourceIdentifier ri, ContentEntityObject ceo) Make the provided ResourceIdentifier as relative as possible to the provided ContentEntityObject.DefaultResourceIdentifierContextUtility.createAbsoluteResourceIdentifier
(ContentEntityObject ceo) ResourceIdentifierContextUtility.createAbsoluteResourceIdentifier
(ContentEntityObject ceo) Create a fully populated (absolute) ResourceIdentifier from the supplied ContentEntityObject.DefaultResourceIdentifierContextUtility.innerConvertToRelative
(ResourceIdentifier ri, ContentEntityObject ceo) boolean
DefaultResourceIdentifierMatcher.matches
(ContentEntityObject ceo, ResourceIdentifier ri) boolean
ResourceIdentifierMatcher.matches
(ContentEntityObject ceo, ResourceIdentifier ri) -
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.view.excerpt
Modifier and TypeMethodDescriptionDefaultExcerpter.createExcerpt
(ContentEntityObject contentEntity, String outputType) DefaultExcerpter.createExcerpt
(ContentEntityObject contentEntity, String outputType, ExcerptConfig config) DefaultExcerpter.createExcerpt
(ContentEntityObject contentEntity, String outputType, Set<String> excludeSet, int maxBlocksForExcerpt) Deprecated.since 5.9.Excerpter.createExcerpt
(ContentEntityObject contentEntityObject, String outputType) Creates an excerpt of the contentEntityObject without any tags excluded including an implementation specific number of blockingExcerpter.createExcerpt
(ContentEntityObject contentEntity, String outputType, ExcerptConfig config) Creates an excerpt of the contentEntityObject excluding any html tags that are in the exclude set.List<javax.activation.DataSource>
DefaultExcerpter.extractImageSrc
(ContentEntityObject ceo, int maxImages) List<javax.activation.DataSource>
DefaultExcerpter.extractImageSrc
(ContentEntityObject ceo, int maxImages, boolean alwaysUseThumbnails) List<javax.activation.DataSource>
Excerpter.extractImageSrc
(ContentEntityObject ceo, int numImages) List<javax.activation.DataSource>
Excerpter.extractImageSrc
(ContentEntityObject ceo, int numImages, boolean useThumbnails) DefaultExcerpter.extractImageThumbnailUris
(ContentEntityObject contentEntity, int maxUris) Excerpter.extractImageThumbnailUris
(ContentEntityObject contentEntity, int maxUris) Returns the URIs of thumbnails for each of the images attached to the specified content entity.DefaultExcerpter.getExcerpt
(ContentEntityObject content) Excerpter.getExcerpt
(ContentEntityObject ceo) Returns the already created excerpts of content.DefaultExcerpter.getExcerptSummary
(ContentEntityObject content) Excerpter.getExcerptSummary
(ContentEntityObject ceo) Returns the summary of an already created excerpt of content.DefaultExcerpter.renderContent
(ContentEntityObject contentEntity, String outputType) Deprecated. -
Uses of ContentEntityObject in com.atlassian.confluence.content.service
Modifier and TypeMethodDescriptionBlogPostService.newCreateBlogPostCommand
(BlogPostProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf) DefaultBlogPostService.newCreateBlogPostCommand
(BlogPostProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf) Deprecated.DefaultPageService.newCreatePageCommand
(PageProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf) PageService.newCreatePageCommand
(PageProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf) Retrieve a command for creating a new page for the specified user.DefaultPageService.newCreatePageCommandFromExisting
(PageProvider pageProvider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider) DefaultPageService.newCreatePageCommandFromExisting
(PageProvider provider, ContentPermissionProvider permissionProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider) PageService.newCreatePageCommandFromExisting
(PageProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider) This is not a public API method! Creating a page from an existing page has different authorisation and validation logic from creating a brand new page.PageService.newCreatePageCommandFromExisting
(PageProvider provider, ContentPermissionProvider permissionProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider) This is not a public API method! Creating a page from an existing page has different authorisation and validation logic from creating a brand new page. -
Uses of ContentEntityObject in com.atlassian.confluence.content.service.blogpost
ModifierConstructorDescriptionCreateBlogPostCommandImpl
(PageManager pageManager, SpacePermissionManager spacePermissionManager, ContentPermissionManager contentPermissionManager, DraftService draftService, AttachmentManager attachmentManager, NotificationManager notificationManager, com.atlassian.event.api.EventPublisher eventPublisher, BlogPostProvider blogPostProvider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, ContentPropertyManager contentPropertyManager, LabelManager labelManager, DraftsTransitionHelper draftsTransitionHelper) Deprecated.since 5.10 -
Uses of ContentEntityObject in com.atlassian.confluence.content.service.comment
Modifier and TypeMethodDescriptionprotected ContentEntityObject
CreateCommentCommandImpl.getContent()
-
Uses of ContentEntityObject in com.atlassian.confluence.content.service.page
Modifier and TypeFieldDescriptionprotected final ContentEntityObject
CreateAbstractPageCommandImpl.draft
The draft used while creating the content.Modifier and TypeMethodDescriptionRevertContentToVersionCommand.getVersionToRevert
(ContentEntityObject latestVersion, int version) Modifier and TypeMethodDescriptionvoid
RevertContentToVersionCommand.execute
(ContentEntityObject ceo, int version, String revertComment, boolean revertTitle) RevertContentToVersionCommand.getVersionToRevert
(ContentEntityObject latestVersion, int version) boolean
RevertContentToVersionCommand.isAuthorized
(com.atlassian.user.User currentUser, ContentEntityObject contentEntityObject) void
RevertContentToVersionCommand.validate
(ServiceCommandValidator validator, ContentEntityObject ceo, ContentEntityObject possibleConflictingCeo, int versionToRevert, boolean revertTitle) ModifierConstructorDescriptionprotected
CreateAbstractPageCommandImpl
(PageManager pageManager, ContentPermissionManager contentPermissionManager, DraftService draftService, AttachmentManager attachmentManager, NotificationManager notificationManager, com.atlassian.event.api.EventPublisher eventPublisher, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, ContentPropertyManager contentPropertyManager, LabelManager labelManager, DraftsTransitionHelper draftsTransitionHelper) Deprecated.since 5.10CreatePageCommandImpl
(PageManager pageManager, PermissionManager permissionManager, ContentPermissionManager contentPermissionManager, DraftService draftService, AttachmentManager attachmentManager, NotificationManager notificationManager, com.atlassian.event.api.EventPublisher eventPublisher, PageProvider pageProvider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, ContentPropertyManager contentPropertyManager, LabelManager labelManager, DraftsTransitionHelper draftsTransitionHelper) Deprecated.since 5.10CreatePageFromExistingCommandImpl
(PageManager pageManager, PermissionManager permissionManager, ContentPermissionManager contentPermissionManager, DraftService draftService, AttachmentManager attachmentManager, NotificationManager notificationManager, com.atlassian.event.api.EventPublisher eventPublisher, PageProvider pageProvider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider, ContentPropertyManager contentPropertyManager, LabelManager labelManager, DraftsTransitionHelper draftsTransitionHelper) Deprecated.since 5.10 -
Uses of ContentEntityObject in com.atlassian.confluence.content.ui
Modifier and TypeMethodDescriptionDefaultContentUiSupport.getContentCssClass
(ContentEntityObject content) DefaultContentUiSupport.getContentTypeI18NKey
(ContentEntityObject content) DefaultContentUiSupport.getIconCssClass
(ContentEntityObject content) DefaultContentUiSupport.getIconFilePath
(ContentEntityObject content, int size) DefaultContentUiSupport.getIconPath
(ContentEntityObject content, int size) -
Uses of ContentEntityObject in com.atlassian.confluence.core
Modifier and TypeInterfaceDescriptioninterface
Modification<T extends ContentEntityObject>
Clients should implement this interface and modify the passed in reference toContentEntityObject
as they see fit.Modifier and TypeClassDescriptionclass
A ContentEntityObject that is a first-class member of a Space (i.e.Modifier and TypeMethodDescription<T extends ContentEntityObject>
voidContentEntityManager.saveNewVersion
(T current, Modification<T> modification) Applies the state changes supplied by modification and persists those changes to a new version.<T extends ContentEntityObject>
voidContentEntityManager.saveNewVersion
(T current, Modification<T> modification, @Nullable SaveContext saveContext) Applies the state changes supplied by modification and persists those changes to a new version.Modifier and TypeMethodDescription@Nullable ContentEntityObject
ContentEntityManager.getById
(long id) Deprecated.since 7.5.0, useContentService.find(Expansion...)
for plugins, or useContentEntityManagerInternal
in core where applicableprotected @Nullable ContentEntityObject
ContentEntityObject.getContainerContent()
Implementing classes wanting to beContained
in another CEO should implement the Contained interface and delegate to this methodBodyContent.getContent()
ContentEntityObject.getEntity()
@Nullable ContentEntityObject
ContentEntityManager.getNextVersion
(ContentEntityObject ceo) Deprecated.since 7.5.0, useContentService.find(Expansion...)
for plugins, or useContentEntityManagerInternal
in core where applicable@Nullable ContentEntityObject
ContentEntityManager.getOtherVersion
(ContentEntityObject ceo, int version) Deprecated.since 7.5.0, useContentService.find(Expansion...)
for plugins, or useContentEntityManagerInternal
in core where applicable@Nullable ContentEntityObject
ContentEntityManager.getPreviousVersion
(ContentEntityObject ceo) Deprecated.since 7.5.0, useContentService.find(Expansion...)
for plugins, or useContentEntityManagerInternal
in core where applicableModifier and TypeMethodDescriptionstatic Map<ContentEntityObject,
Map<String, ContentPermissionSet>> ContentPermissionUtils.getPermissionsAsMap
(List<ContentPermissionSet> contentPermissionSets) @NonNull Map<Long,
ContentEntityObject> ContentEntityManager.getVersionsLastEditedByUser
(@NonNull Collection<ContentId> contentIds, @Nullable com.atlassian.sal.api.user.UserKey userKey) Gets theContentEntityObject
objects relating to the version of the given contentIds that were last edited by the given user.Modifier and TypeMethodDescriptionvoid
ContentPermissionManager.addContentPermission
(ContentPermission permission, ContentEntityObject content) Add permissions to the content entity objecct through the manager.void
DefaultContentPermissionManager.addContentPermission
(ContentPermission permission, ContentEntityObject content) Adds a new current content permission to the CEO if it doesn't have it already.protected void
ConfluenceActionSupport.addToHistory
(ContentEntityObject content) ApiRestEntityFactory.buildRestEntityFrom
(ContentEntityObject entity, Expansions expansions) Build a REST API entity from a ContentEntityObject.protected boolean
DefaultInheritedContentPermissionManager.cannotHaveInheritedPermissions
(ContentEntityObject contentEntityObject) Check (for speed) whether we should even bother to query for possible inherited permissions.final int
ContentEntityObject.compareTo
(ContentEntityObject otherEntity) Content entities are naturally ordered alphabetically by "comparison name", which depends on the entity (it's the title for pages, the parent page title for comments, etc.).void
ContentPermissionManager.copyContentPermissions
(ContentEntityObject from, ContentEntityObject to) Copies all content permissions from one content entity to another.void
DefaultContentPermissionManager.copyContentPermissions
(ContentEntityObject from, ContentEntityObject to) ContentPermissionManager.getContentPermissionSets
(ContentEntityObject ceo, String type) Get the ContentPermissionSets that affect this ceo, both inherited and directly.DefaultContentPermissionManager.getContentPermissionSets
(ContentEntityObject ceo, String type) ContentPermissionManager.getInheritedContentPermissionSets
(ContentEntityObject contentEntityObject) ContentPermissionManager.getInheritedContentPermissionSets
(ContentEntityObject contentEntityObject, boolean includeEditPermissions) Get the inherited ContentPermissionSets that affect this ceo.DefaultContentPermissionManager.getInheritedContentPermissionSets
(ContentEntityObject contentEntityObject) DefaultContentPermissionManager.getInheritedContentPermissionSets
(ContentEntityObject contentEntityObject, boolean includeEditPermissions) DefaultInheritedContentPermissionManager.getInheritedContentPermissionSets
(ContentEntityObject contentEntityObject) InheritedContentPermissionManager.getInheritedContentPermissionSets
(ContentEntityObject contentEntityObject) DefaultInheritedContentPermissionManager.getInheritedContentPermissionSetsIncludeEdit
(ContentEntityObject contentEntityObject) InheritedContentPermissionManager.getInheritedContentPermissionSetsIncludeEdit
(ContentEntityObject contentEntityObject) ContentPermissionManager.getInheritedContentUserPermissions
(ContentEntityObject contentEntityObject) DefaultContentPermissionManager.getInheritedContentUserPermissions
(ContentEntityObject contentEntityObject) Filters the inherited content permission sets of a page for a list of inherited user permissions (of typeContentPermission.VIEW_PERMISSION
)@Nullable ContentEntityObject
ContentEntityManager.getNextVersion
(ContentEntityObject ceo) Deprecated.since 7.5.0, useContentService.find(Expansion...)
for plugins, or useContentEntityManagerInternal
in core where applicable@Nullable ContentEntityObject
ContentEntityManager.getOtherVersion
(ContentEntityObject ceo, int version) Deprecated.since 7.5.0, useContentService.find(Expansion...)
for plugins, or useContentEntityManagerInternal
in core where applicable@Nullable ContentEntityObject
ContentEntityManager.getPreviousVersion
(ContentEntityObject ceo) Deprecated.since 7.5.0, useContentService.find(Expansion...)
for plugins, or useContentEntityManagerInternal
in core where applicable@Nullable String
ContentPropertyManager.getStringProperty
(ContentEntityObject entity, String key) Get a string property associated with a content entity object, or null if that property is not set.@Nullable String
ContentPropertyManager.getTextProperty
(ContentEntityObject entity, String key) Get a text property associated with a content entity object, or null if that property is not set.@NonNull List<VersionHistorySummary>
ContentEntityManager.getVersionHistorySummaries
(ContentEntityObject ceo) Get a VersionHistorySummary for all previous versions of a ContentEntityObject, starting with the current content.boolean
ContentPermissionManager.hasContentLevelPermission
(ConfluenceUser user, String permissionType, ContentEntityObject content) fetches the inherited and explicit content level permissions for this content object and determines whether the user has access.default boolean
ContentPermissionManager.hasContentLevelPermission
(com.atlassian.user.User user, String permissionType, ContentEntityObject content) Deprecated.boolean
DefaultContentPermissionManager.hasContentLevelPermission
(ConfluenceUser user, String permissionType, ContentEntityObject contentEntityObject) void
ContentEntityManager.refreshContentEntity
(ContentEntityObject obj) Refreshes the specified entity (including content) in the Hibernate session to ensure that subsequent retrievals are up-to-date.void
ContentEntityManager.removeContentEntity
(ContentEntityObject obj) Removes given content entity object and all associated domain objects i.e.void
ContentEntityManager.removeHistoricalVersion
(ContentEntityObject historicalVersion) Removes a historical ContentEntityObject.void
ContentPropertyManager.removeProperties
(ContentEntityObject entity) Remove all the properties associated with the content entity object.void
ContentPropertyManager.removeProperty
(ContentEntityObject entity, String key) Remove the property associated with the content entity object.void
ContentEntityManager.revertContentEntityBackToVersion
(ContentEntityObject obj, int version, @Nullable String revertComment, boolean revertTitle) Reverts aContentEntityObject
back to its state at the version specified byversion
.void
ContentEntityManager.saveContentEntity
(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) In order to create a history for this object, we need to pass in the modified as well as the original version of the object.void
ContentEntityManager.saveContentEntity
(ContentEntityObject obj, @Nullable SaveContext saveContext) protected void
ContentEntityObject.setContainerContent
(@Nullable ContentEntityObject container) void
BodyContent.setContent
(ContentEntityObject content) void
ContentPermissionManager.setContentPermissions
(@NonNull Map<String, Collection<ContentPermission>> requiredPermissionsMap, ContentEntityObject content) Set the Content Permissions on the CEO to be the list ofContentPermission
s passed.void
ContentPermissionManager.setContentPermissions
(Collection<ContentPermission> contentPermissions, ContentEntityObject content, String type) Set the Content Permissions on the CEO to be the list ofContentPermission
s passed.void
DefaultContentPermissionManager.setContentPermissions
(@NonNull Map<String, Collection<ContentPermission>> requiredPermissionsMap, ContentEntityObject content) void
DefaultContentPermissionManager.setContentPermissions
(Collection<ContentPermission> requiredPermissions, ContentEntityObject content, String type) void
ContentEntityObject.setContentPropertiesFrom
(ContentEntityObject ceo) Initialises theContentProperties
of this ContentEntityObject by performing a deep clone of theContentEntityObject
object's properties.void
ContentPropertyManager.setStringProperty
(ContentEntityObject entity, String key, String value) Associate a string property with a content entity object, or null if that property is not set.void
ContentPropertyManager.setTextProperty
(ContentEntityObject entity, String key, String value) Associate a text property with a content entity object, or null if that property is not set.void
ContentPropertyManager.transferProperties
(ContentEntityObject source, ContentEntityObject destination) Copies all properties associated with the source content entity object to the destination content entity object, and then removes all properties from the source content entity object.Modifier and TypeMethodDescriptionvoid
ContentEntityObject.applyChildVersioningPolicy
(@Nullable Versioned versionToPromote, Consumer<ContentEntityObject> dao) default void
Versioned.applyChildVersioningPolicy
(@Nullable Versioned versionToPromote, Consumer<ContentEntityObject> onRemove) IfVersioned.getVersionChildPolicy(com.atlassian.confluence.api.model.content.ContentType)
specifies so, moves content from versionToPromote to this Versioned instance or makes no change.ApiRestEntityFactory.buildRestEntityFromContent
(Iterable<? extends ContentEntityObject> entities, Expansions expansions) Build a list of REST API entity objects from ContentEntityObject objects.ModifierConstructorDescriptionBodyContent
(ContentEntityObject content, String body, BodyType bodyType) -
Uses of ContentEntityObject in com.atlassian.confluence.core.persistence
Modifier and TypeMethodDescriptionContentEntityObjectDao.findDraftFor
(long contentId) Retrieves the draft for the given content if exists.ContentEntityObjectDao.getById
(long id) Retrieve the object with a particular id from the database.ContentEntityObjectDao.getFirstVersionAfter
(long originalVersionContentId, int version) ContentEntityObjectDao.getFirstVersionBefore
(long originalVersionContentId, int version) ContentEntityObjectDao.getVersion
(long originalVersionContentId, int version) Modifier and TypeMethodDescriptionContentEntityObjectDao.findAllDraftsFor
(long contentId) Retrieves a list of drafts for the given content if any drafts exist.default List<ContentEntityObject>
ContentEntityObjectDao.findDraftsWithUnpublishedChangesForUser
(ConfluenceUser creator) Retrieves the drafts for the givenUser
, which contains unpublished changesContentEntityObjectDao.findHistoricalVersionsAfterVersion
(long originalContentId, int version) ContentEntityObjectDao.findPreviousVersions
(long originalContentId) ContentEntityObjectDao.findUnpublishedContentWithUserContributions
(ConfluenceUser user) Retrieves the drafts for the givenUser
.ContentEntityObjectDao.getContentAuthoredByUser
(ConfluenceUser user) ContentEntityObjectDao.getLastEditedVersionsOf
(ContentEntityObject content) Retrieves all the last edited versions for each user who has contributed to the specified piece of content.ContentEntityObjectDao.getRecentlyAddedEntities
(String spaceKey, int maxResults) ContentEntityObjectDao.getRecentlyModifiedEntities
(int maxResults) ContentEntityObjectDao.getRecentlyModifiedEntitiesForUser
(ConfluenceUser user) ContentEntityObjectDao.getRecentlyModifiedForChangeDigest
(Date fromDate) Retrieves a list ofContentEntityObject
s that have been newly added or modified since the date specified.ContentEntityObjectDao.getTrashedContent
(String spaceKey) Deprecated.since 6.10.0 useContentEntityObjectDao.getTrashedContents(String, int, int)
default List<ContentEntityObject>
ContentEntityObjectDao.getTrashedContents
(String spaceKey, int offset, int limit) default PageResponse<ContentEntityObject>
ContentEntityObjectDao.getTrashedContents
(String spaceKey, LimitedRequest pageRequest, @Nullable Predicate<? super ContentEntityObject> filter) ContentEntityObjectDao.getVersionsLastEditedByUser
(Collection<Long> contentIds, com.atlassian.sal.api.user.UserKey userKey) Gets theContentEntityObject
objects, either the current version or historical version relating to given contentIds of the current version that was the most recent version edited by the given user.ContentEntityObjectDao.getVersionsLastEditedByUserNew
(Collection<Long> contentIds, com.atlassian.sal.api.user.UserKey userKey) Deprecated.since 6.4.0Modifier and TypeMethodDescriptiondefault Set<ConfluenceUser>
ContentEntityObjectDao.getAllModifiers
(ContentEntityObject ceo) Deprecated.since 7.14 useContentEntityObjectDao.getAllModifiers(Collection)
ContentEntityObjectDao.getLastEditedVersionsOf
(ContentEntityObject content) Retrieves all the last edited versions for each user who has contributed to the specified piece of content.void
ContentEntityObjectDao.save
(ContentEntityObject contentEntityObject) void
ContentEntityObjectDao.save
(ContentEntityObject entity, ContentEntityObject entityClone) Modifier and TypeMethodDescriptiondefault PageResponse<ContentEntityObject>
ContentEntityObjectDao.getTrashedContents
(String spaceKey, LimitedRequest pageRequest, @Nullable Predicate<? super ContentEntityObject> filter) ContentEntityObjectDao.getVersionEditContributors
(Iterable<ContentEntityObject> originalVersions) Get version edit contributors for a set of content identifiers. -
Uses of ContentEntityObject in com.atlassian.confluence.diff
Modifier and TypeMethodDescriptionDaisyHtmlDiffer.diff
(ContentEntityObject leftContent, ContentEntityObject rightContent) Differ.diff
(ContentEntityObject left, ContentEntityObject right) Computes a diff between the specified left and right input.WikiConvertingHtmlDiffer.diff
(ContentEntityObject left, ContentEntityObject right) ModifierConstructorDescriptionInterruptedDiffException
(ContentEntityObject leftContent, ContentEntityObject rightContent, int timeout) -
Uses of ContentEntityObject in com.atlassian.confluence.diff.beans
ModifierConstructorDescriptionConfluenceDiffDraftBean
(ContentEntityObject original, Draft latest, Differ differ) -
Uses of ContentEntityObject in com.atlassian.confluence.dmz
Modifier and TypeMethodDescription<T extends ContentEntityObject>
TContentDraftManagerInternal.createDraft
(T obj, SaveContext saveContext) This method sets the common properties of theContentEntityObject
to be saved as a draft<T extends ContentEntityObject>
List<T>ContentDraftManagerInternal.findAllDraftsFor
(long contentId) Retrieves a list of drafts for the given content ID if any exist.<T extends ContentEntityObject>
TContentDraftManagerInternal.findDraftFor
(long contentId) Retrieves the draft for the given content ID if it exists<T extends ContentEntityObject>
TContentDraftManagerInternal.findDraftFor
(T ceo) Retrieves the draft for the given content if exists.Modifier and TypeMethodDescriptionContentDraftManagerInternal.findAllDraftsWithUnpublishedChangesForUser
(ConfluenceUser creator) Retrieves the drafts for the givenUser
ContentDraftManagerInternal.findUnpublishedContentWithUserContributions
(ConfluenceUser user) Retrieves the drafts for the givenUser
IMPORTANT: this method doesn't return published shared drafts, only personal drafts and unpublished shared drafts@NonNull PageResponse<ContentEntityObject>
ContentEntityManagerInternal.getByIdsAndFilters
(List<ContentId> contentIds, LimitedRequest limitedRequest, Predicate<? super ContentEntityObject> filter) Modifier and TypeMethodDescription@NonNull PageResponse<ContentEntityObject>
ContentEntityManagerInternal.getByIdsAndFilters
(List<ContentId> contentIds, LimitedRequest limitedRequest, Predicate<? super ContentEntityObject> filter) -
Uses of ContentEntityObject in com.atlassian.confluence.dmz.pages
Modifier and TypeMethodDescriptionTrashManagerInternal.findTrashDate
(ContentEntityObject ceo) Trash date is only available since Confluence 7.14.AttachmentManagerInternal.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) Returns the current attachments under the CEO.void
AttachmentManagerInternal.moveAttachment
(Attachment attachment, ContentEntityObject newContainer) Moves an attachment to a differentContentEntityObject
container.Modifier and TypeMethodDescriptionAttachmentManagerInternal.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) Returns a list of all the latest versions of attachments for all the CEOs provided (including trashed) -
Uses of ContentEntityObject in com.atlassian.confluence.dmz.service.content
Modifier and TypeMethodDescriptionContentBodyConversionManager.convert
(ContentRepresentation from, String value, ContentRepresentation to, ContentEntityObject ceo, Expansion... expansions) Computes the converted value of the ContentBody and the required web resources that may be needed to render the converted value. -
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content
Modifier and TypeMethodDescription@NonNull ContentEntityObject
Contented.getContent()
@NonNull ContentEntityObject
ContentHistoricalVersionRemoveEvent.getContent()
ContentRevertedEvent.getEntity()
ModifierConstructorDescriptionContentHistoricalVersionRemoveEvent
(Object src, ContentEntityObject historicalVersion) ContentRevertedEvent
(ContentEntityObject entity, int version, @Nullable String revertComment) -
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content.attachment
Modifier and TypeMethodDescription@NonNull ContentEntityObject
AttachmentEvent.getAttachedTo()
@NonNull ContentEntityObject
AttachmentEvent.getContent()
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content.blogpost
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content.comment
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content.page
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content.user
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.internal.security
Modifier and TypeMethodDescriptionContentPermissionAddedEvent.getContent()
ContentPermissionRemovedEvent.getContent()
ModifierConstructorDescriptionContentPermissionAddedEvent
(ContentEntityObject content, ContentPermission permission) ContentPermissionRemovedEvent
(ContentEntityObject content, ContentPermission permission) -
Uses of ContentEntityObject in com.atlassian.confluence.event.events.like
ModifierConstructorDescriptionAbstractLikeEvent
(Object src, com.atlassian.user.User user, ContentEntityObject content) LikeCreatedEvent
(Object src, com.atlassian.user.User user, ContentEntityObject content) LikeRemovedEvent
(Object src, com.atlassian.user.User user, ContentEntityObject contentEntity) -
Uses of ContentEntityObject in com.atlassian.confluence.event.events.permission
Modifier and TypeMethodDescription@NonNull ContentEntityObject
ContentTreePermissionReindexEvent.getContent()
ModifierConstructorDescriptionContentTreePermissionReindexEvent
(Object src, ContentEntityObject content) -
Uses of ContentEntityObject in com.atlassian.confluence.event.events.security
Modifier and TypeMethodDescription@NonNull ContentEntityObject
ContentPermissionEvent.getContent()
ModifierConstructorDescriptionContentPermissionEvent
(Object src, ContentEntityObject content, @Nullable ContentPermission contentPermission) ContentPermissionEvent
(Object src, ContentEntityObject content, @Nullable ContentPermission contentPermission, boolean reindexNeeded) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.audit.listener
Modifier and TypeMethodDescriptionAbstractContentAuditListener.getSpaceName
(ContentEntityObject ceo) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.content
Modifier and TypeMethodDescription<T extends ContentEntityObject>
TDefaultContentEntityManager.createDraft
(T draft, SaveContext saveContext) <T extends ContentEntityObject>
List<T>DefaultContentEntityManager.findAllDraftsFor
(long contentId) <T extends ContentEntityObject>
TDefaultContentEntityManager.findDraftFor
(long contentId) <T extends ContentEntityObject>
TDefaultContentEntityManager.findDraftFor
(@NonNull T ceo) <T extends ContentEntityObject>
voidDefaultContentEntityManager.saveNewVersion
(T current, Modification<T> modification) <T extends ContentEntityObject>
voidDefaultContentEntityManager.saveNewVersion
(T current, Modification<T> modification, @Nullable SaveContext saveContext) <T extends ContentEntityObject>
voidDefaultPageManager.saveNewVersion
(T current, Modification<T> modification, @Nullable SaveContext saveContext) Modifier and TypeMethodDescription@Nullable ContentEntityObject
DefaultContentEntityManager.getById
(long id) @Nullable ContentEntityObject
@Nullable ContentEntityObject
@Nullable ContentEntityObject
DefaultContentEntityManager.getNextVersion
(ContentEntityObject ceo) @Nullable ContentEntityObject
DefaultContentEntityManager.getOtherVersion
(ContentEntityObject ceo, int version) @Nullable ContentEntityObject
DefaultContentEntityManager.getPreviousVersion
(ContentEntityObject ceo) Modifier and TypeMethodDescriptionDefaultContentEntityManager.findAllDraftsWithUnpublishedChangesForUser
(ConfluenceUser creator) DefaultContentEntityManager.findUnpublishedContentWithUserContributions
(ConfluenceUser user) @NonNull PageResponse<ContentEntityObject>
DefaultContentEntityManager.getByIdsAndFilters
(List<ContentId> contentIds, LimitedRequest limitedRequest, Predicate<? super ContentEntityObject> filter) @NonNull List<ContentEntityObject>
DefaultPageManager.getOrderedXhtmlContentFromContentId
(long startContentId, long endContentId, int maxRows) @NonNull List<ContentEntityObject>
DefaultPageManager.getPreviousVersionsOfPageWithTaskId
(long pageId, long taskId, int maxRows) @NonNull Map<Long,
ContentEntityObject> DefaultContentEntityManager.getVersionsLastEditedByUser
(@NonNull Collection<ContentId> contentIds, @Nullable com.atlassian.sal.api.user.UserKey userKey) Modifier and TypeMethodDescription@NonNull Comment
DefaultCommentManager.addCommentToObject
(ContentEntityObject ceo, Comment parent, String content) @NonNull Comment
DefaultCommentManager.addCommentToObject
(ContentEntityObject ceo, Comment parent, String content, @Nullable NewCommentDeduplicator commentDeduplicator) protected @NonNull BodyContent
DefaultContentEntityManager.convertFromWikiToStorageFormatIfRequired
(ContentEntityObject historicalVersion) ContentTreePermissionReindexEventBackgroundSender.createParametersForContentEntityObject
(ContentEntityObject page) @NonNull PageResponse<CustomContentEntityObject>
DefaultCustomContentManager.getChildrenOfTypeAndFilter
(ContentEntityObject entity, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super CustomContentEntityObject> predicate) This method is used by the Content API to retrieve children of a specific type and filter them by a predicate.@Nullable ContentEntityObject
DefaultContentEntityManager.getNextVersion
(ContentEntityObject ceo) @Nullable ContentEntityObject
DefaultContentEntityManager.getOtherVersion
(ContentEntityObject ceo, int version) @Nullable ContentEntityObject
DefaultContentEntityManager.getPreviousVersion
(ContentEntityObject ceo) @NonNull List<VersionHistorySummary>
DefaultContentEntityManager.getVersionHistorySummaries
(ContentEntityObject ceo) protected void
DefaultContentEntityManager.publishCreateEvent
(ContentEntityObject obj, @Nullable SaveContext saveContext) protected void
DefaultContentEntityManager.publishRemoveEvent
(ContentEntityObject obj) protected void
DefaultContentEntityManager.publishUpdateEvent
(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) void
DefaultContentEntityManager.refreshContentEntity
(ContentEntityObject obj) void
DefaultPageManager.refreshPage
(ContentEntityObject page) void
DefaultContentEntityManager.removeContentEntity
(ContentEntityObject obj) void
DefaultCustomContentManager.removeContentEntity
(ContentEntityObject obj) void
DefaultContentEntityManager.removeHistoricalVersion
(ContentEntityObject historicalVersion) void
DefaultContentEntityManager.revertContentEntityBackToVersion
(ContentEntityObject entity, int version, @Nullable String revertComment, boolean revertTitle) void
DefaultContentEntityManager.revertContentEntityBackToVersion
(ContentEntityObject entity, int version, @Nullable String revertComment, boolean revertTitle, Function<ContentEntityObject, BodyContent> revertBodyContentFactory) void
DefaultPageManager.revertContentEntityBackToVersion
(ContentEntityObject entity, int version, @Nullable String revertComment, boolean revertTitle) void
DefaultContentEntityManager.saveContentEntity
(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) void
DefaultContentEntityManager.saveContentEntity
(ContentEntityObject obj, @Nullable SaveContext saveContext) void
DefaultPageManager.saveContentEntity
(ContentEntityObject obj, @Nullable ContentEntityObject origObj, @Nullable SaveContext saveContext) void
DefaultPageManager.saveContentEntity
(ContentEntityObject obj, @Nullable SaveContext saveContext) Modifier and TypeMethodDescription@NonNull PageResponse<ContentEntityObject>
DefaultContentEntityManager.getByIdsAndFilters
(List<ContentId> contentIds, LimitedRequest limitedRequest, Predicate<? super ContentEntityObject> filter) protected void
DefaultContentEntityManager.removeContentEntities
(Iterable<? extends ContentEntityObject> contentEntityObjects) void
DefaultContentEntityManager.revertContentEntityBackToVersion
(ContentEntityObject entity, int version, @Nullable String revertComment, boolean revertTitle, Function<ContentEntityObject, BodyContent> revertBodyContentFactory) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.content.render.prefetch.event
Modifier and TypeMethodDescriptionAttachmentPrefetchEvent.builder
(@Nullable ContentEntityObject renderedContentEntity) static UserPrefetchEvent.Builder
UserPrefetchEvent.builder
(@Nullable ContentEntityObject renderedContentEntity) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.content.render.xhtml
Modifier and TypeMethodDescription<T extends ContentEntityObject>
TWikiToStorageConverterImpl.convertWikiBodyToStorage
(T ceo) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.labels
Modifier and TypeMethodDescriptionCachingLabelManager.getAllContentForAllLabels
(int offset, int maxResults, Label... labels) CachingLabelManager.getAllContentForLabel
(int offset, int maxResults, Label label) CachingLabelManager.getContentForAllLabels
(int offset, int maxResults, Label... labels) CachingLabelManager.getContentForLabel
(int offset, int maxResults, Label label) CachingLabelManager.getContentInSpaceForAllLabels
(int offset, int maxResults, String spaceKey, Label... labels) CachingLabelManager.getContentInSpaceForLabel
(int offset, int maxResults, String spaceKey, Label label) CachingLabelManager.getContentInSpacesForAllLabels
(int offset, int maxResults, Set<String> spaceKeys, Label... labels) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.mail.notification.persistence
Modifier and TypeMethodDescriptionboolean
CachingNotificationDao.isWatchingContent
(@NonNull ConfluenceUser user, @NonNull ContentEntityObject content) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.notifications
Modifier and TypeMethodDescriptionContentEntityAutoWatcher.AutowatchIfRequiredEvent.getContentEntity()
Modifier and TypeMethodDescriptionvoid
ContentEntityAutoWatcher.autowatchIfRequired
(ContentEntityObject ceo, SaveContext saveContext) ModifierConstructorDescriptionAutowatchIfRequiredEvent
(ContentEntityObject ceo, SaveContext saveContext) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.pages.attachments
Modifier and TypeMethodDescriptionvoid
ReadThroughCachingAttachmentManager.copyAttachment
(Attachment attachment, ContentEntityObject destinationContent) void
ReadThroughCachingAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent) void
ReadThroughCachingAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) int
ReadThroughCachingAttachmentManager.countLatestVersionsOfAttachments
(ContentEntityObject content) int
ReadThroughCachingAttachmentManager.countLatestVersionsOfAttachmentsOnPageSince
(ContentEntityObject content, Date since) int
ReadThroughCachingAttachmentManager.countLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) ReadThroughCachingAttachmentManager.getAllVersionsOfAttachments
(ContentEntityObject content) ReadThroughCachingAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName) ReadThroughCachingAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName, int version) ReadThroughCachingAttachmentManager.getAttachmentDownloadPath
(ContentEntityObject content, String attachmentFileName) ReadThroughCachingAttachmentManager.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) Returns the current attachments under the CEO.ReadThroughCachingAttachmentDao.getLatestAttachment
(ContentEntityObject content, String fileName) ReadThroughCachingAttachmentManager.getLatestVersionsOfAttachments
(ContentEntityObject content) ReadThroughCachingAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) void
ReadThroughCachingAttachmentDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) void
ReadThroughCachingAttachmentManager.moveAttachment
(Attachment latestVersion, ContentEntityObject newContainer) void
ReadThroughCachingAttachmentManager.moveAttachment
(Attachment latestVersion, String fileName, ContentEntityObject newContent) ReadThroughAttachmentDownloadPathCache.toKey
(ContentEntityObject content, String attachmentFileName) Modifier and TypeMethodDescriptionReadThroughCachingAttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) ReadThroughCachingAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.pages.attachments.filesystem
Modifier and TypeMethodDescriptionvoid
FileSystemAttachmentDataDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) void
FileSystemAttachmentDataDao.removeDataForAttachment
(Attachment attachment, ContentEntityObject originalContent) Removes all attachment data for the given attachment.void
FileSystemAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachment, ContentEntityObject originalContent) Removes the attachment data for the given attachment version.void
FileSystemAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachment, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.pages.attachments.filesystem.model
Modifier and TypeMethodDescriptionstatic AttachmentRef.Container
Refs.ref
(ContentEntityObject attachmentContainer) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.propertyset
Modifier and TypeMethodDescription@Nullable String
ReadThroughCachingContentPropertyManager.getStringProperty
(ContentEntityObject entity, String key) @Nullable String
ReadThroughCachingContentPropertyManager.getTextProperty
(ContentEntityObject entity, String key) void
ReadThroughCachingContentPropertyManager.removeProperties
(ContentEntityObject entity) void
ReadThroughCachingContentPropertyManager.removeProperty
(ContentEntityObject entity, String key) void
ReadThroughCachingContentPropertyManager.setStringProperty
(ContentEntityObject entity, String key, @Nullable String value) void
ReadThroughCachingContentPropertyManager.setTextProperty
(ContentEntityObject entity, String key, String value) void
ReadThroughCachingContentPropertyManager.transferProperties
(ContentEntityObject source, ContentEntityObject destination) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.search.actions
Modifier and TypeMethodDescriptionSearchSiteAction.getContentLabels
(ContentEntityObject content, int amount) Deprecated. -
Uses of ContentEntityObject in com.atlassian.confluence.impl.search.v2
Modifier and TypeMethodDescriptionDefaultContentPermissionCalculator.calculate
(@Nullable ContentEntityObject contentEntityObject) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.search.v2.extractor
Modifier and TypeMethodDescriptionstatic @Nullable ContentEntityObject
ContentPermissionExtractorHelper.getContainerForPermissions
(@Nullable Searchable searchable) For the givenSearchable
entity, determine the container of that entity which would have content permissions applied to it.Modifier and TypeMethodDescriptionstatic Collection<ContentPermissionSet>
IndexablePermissionSetFilter.filterPermissionSets
(ContentEntityObject contentEntity, @Nullable ContentPermissionSet directViewPermissions, @Nullable ContentPermissionSet directSharedPermissions, Collection<ContentPermissionSet> inheritedViewPermissions) static Collection<ContentPermissionSet>
IndexablePermissionSetFilter.filterPermissionSets
(ContentEntityObject contentEntity, Collection<ContentPermissionSet> directPermissions, Collection<ContentPermissionSet> inheritedPermissions) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.security
Modifier and TypeMethodDescriptionNeverPermittedContentPermissionSet.buildFrom
(String type, ContentEntityObject owningContent) CachingInheritedContentPermissionManager.getInheritedContentPermissionSets
(ContentEntityObject contentEntityObject) CachingInheritedContentPermissionManager.getInheritedContentPermissionSetsIncludeEdit
(ContentEntityObject contentEntityObject) -
Uses of ContentEntityObject in com.atlassian.confluence.impl.velocity
ModifierConstructorDescriptionBeanContextItemProvider
(PermissionHelper permissionHelper, AttachmentManager attachmentManager, com.atlassian.webresource.api.WebResourceManager webResourceManager, WebMenuManager webMenuManager, SpaceManager spaceManager, com.atlassian.xwork.XsrfTokenGenerator xsrfTokenGenerator, ContentUiSupport<ContentEntityObject> contentUiSupport, Deprecated deprecated, com.atlassian.theme.api.request.RequestScopeThemeService requestScopeThemeService, SpaceToolsTabsHelper spaceToolsTabsHelper, UserHelper userHelper, IndexUrlHelper indexUrlHelper, ApiContentUiSupport<Content> apiContentUiSupport, SpaceSettingsManager spaceSettingsManager, UserAccessorInternal userAccessor, com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager, LanguageManager languageManager, PageManager pageManager) -
Uses of ContentEntityObject in com.atlassian.confluence.importexport.impl
Modifier and TypeMethodDescriptionstatic String
ExportUtils.getTitleAsFilename
(ContentEntityObject ceo) Utility method to return a version of the content entity's title that's suitable to be used as a filename in an export.static String
ExportUtils.getTitleAsHref
(ContentEntityObject ceo) For a URL encoded filename to be used in a link it will need to be double encoded (since the browser will decode the single encoding when resolving the link, and we have files with encoded names on the filesystem).Modifier and TypeMethodDescriptionSet<com.atlassian.sal.api.user.UserKey>
ContentUserKeyExtractor.extractUserKeysFromContentEntities
(Iterable<? extends ContentEntityObject> contentEntities, boolean includeComments) -
Uses of ContentEntityObject in com.atlassian.confluence.internal.content
Modifier and TypeMethodDescriptionstatic boolean
DraftUtils.isBlogPost
(ContentEntityObject content) Returnstrue
if givenContentEntityObject
represents Blog poststatic boolean
DraftUtils.isDraft
(ContentEntityObject content) Returnstrue
ifcontent
is shared or personal draft.static boolean
DraftUtils.isPageOrBlogPost
(ContentEntityObject content) Returnstrue
if givenContentEntityObject
represents Page or Blog poststatic boolean
DraftUtils.isPersonalDraft
(ContentEntityObject content) Returnstrue
ifcontent
is personal draft.static boolean
DraftUtils.isSharedDraft
(ContentEntityObject content) Returnstrue
ifcontent
is shared draft. -
Uses of ContentEntityObject in com.atlassian.confluence.internal.content.collab
Modifier and TypeMethodDescriptionvoid
ContentReconciliationManager.handleContentUpdateAfterSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext, @NonNull Optional<Date> lastUpdateDate) This part of the content update must run after the content has an ID.void
DefaultContentReconciliationManager.handleContentUpdateAfterSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext, @NonNull Optional<Date> lastUpdateDate) void
ContentReconciliationManager.handleContentUpdateBeforeSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) Prepares Synchrony flags for reconciliationIfNeeded.void
DefaultContentReconciliationManager.handleContentUpdateBeforeSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) void
ContentReconciliationManager.handleEditorOnlyContentUpdateAfterSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext, @NonNull Optional<Date> lastUpdateDate) Used for Editor only changes where-in storage doesn't change.void
DefaultContentReconciliationManager.handleEditorOnlyContentUpdateAfterSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext, @NonNull Optional<Date> lastUpdateDate) void
ContentReconciliationManager.handleEditorOnlyContentUpdateBeforeSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) Used for Editor only changes where-in storage doesn't change.void
DefaultContentReconciliationManager.handleEditorOnlyContentUpdateBeforeSave
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) boolean
ContentReconciliationManager.isReconciled
(@NonNull ContentEntityObject content) boolean
DefaultContentReconciliationManager.isReconciled
(@NonNull ContentEntityObject ceo) void
ContentReconciliationManager.reconcileIfNeeded
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) This method triggersSynchronyRecoveryEvent
if collab editing is turned on and data recovery is needed.void
DefaultContentReconciliationManager.reconcileIfNeeded
(@NonNull ContentEntityObject content, @Nullable SaveContext saveContext) static void
AttachmentRelatedContentReconciliationListener.updateCEOWithAttachmentChange
(ContentEntityObject ceo, ContentEntityObjectDaoInternal contentEntityObjectDao) This will help to mark CEO with attachment change.ModifierConstructorDescriptionAttachmentMacroVisitor
(List<Attachment> attachments, ContentEntityObject contentEntityObject, ContentEntityObject parentCeo) -
Uses of ContentEntityObject in com.atlassian.confluence.internal.notification.persistence
Modifier and TypeMethodDescriptionDelegatingNotificationDaoInternal.findNotificationByUserAndContent
(com.atlassian.user.User user, ContentEntityObject content) DelegatingNotificationDaoInternal.findNotificationsByContent
(ContentEntityObject content) boolean
DelegatingNotificationDaoInternal.isWatchingContent
(@NonNull ConfluenceUser user, @NonNull ContentEntityObject content) Modifier and TypeMethodDescriptionDelegatingNotificationDaoInternal.findNotificationsByContents
(List<ContentEntityObject> contents) -
Uses of ContentEntityObject in com.atlassian.confluence.internal.pages.persistence
Modifier and TypeMethodDescriptionAbstractPageDaoInternal.getStaleSharedDrafts
(LimitedRequest limitedRequest) Get all stale shared drafts in the database.Modifier and TypeMethodDescriptionAttachmentDaoInternal.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) Retrieves the latest versions of all attachments for all CEOs provided (including trashed) -
Uses of ContentEntityObject in com.atlassian.confluence.internal.persistence
Modifier and TypeMethodDescriptionContentEntityObjectDaoInternal.findByClassIds
(Set<Long> ids, LimitedRequest limitedRequest) Modifier and TypeMethodDescriptionvoid
ContentEntityObjectDaoInternal.refresh
(ContentEntityObject contentEntityObject) void
ContentEntityObjectDaoInternal.remove
(ContentEntityObject contentEntityObject) void
ContentEntityObjectDaoInternal.saveRaw
(ContentEntityObject contentEntityObject) saves the object. -
Uses of ContentEntityObject in com.atlassian.confluence.internal.persistence.hibernate
Modifier and TypeMethodDescriptionContentEntityObjectHibernateDao.findDraftFor
(long contentId) protected ContentEntityObject
ContentEntityObjectHibernateDao.getByClassId
(long id) ContentEntityObjectHibernateDao.getById
(long id) ContentEntityObjectHibernateDao.getFirstVersionAfter
(long originalVersionContentId, int version) ContentEntityObjectHibernateDao.getFirstVersionBefore
(long originalVersionContentId, int version) ContentEntityObjectHibernateDao.getVersion
(long originalVersionContentId, int version) Modifier and TypeMethodDescriptionContentEntityObjectHibernateDao.findAllDraftsFor
(long contentId) @NonNull List<ContentEntityObject>
ContentEntityObjectHibernateDao.findByClassIds
(Set<Long> ids, LimitedRequest request) ContentEntityObjectHibernateDao.findDraftsWithUnpublishedChangesForUser
(ConfluenceUser creator) ContentEntityObjectHibernateDao.findHistoricalVersionsAfterVersion
(long originalContentId, int version) ContentEntityObjectHibernateDao.findPreviousVersions
(long originalContentId) ContentEntityObjectHibernateDao.findUnpublishedContentWithUserContributions
(ConfluenceUser user) ContentEntityObjectHibernateDao.getContentAuthoredByUser
(ConfluenceUser user) ContentEntityObjectHibernateDao.getLastEditedVersionsOf
(ContentEntityObject content) ContentEntityObjectHibernateDao.getPersistentClass()
ContentEntityObjectHibernateDao.getRecentlyAddedEntities
(String spaceKey, int maxResults) ContentEntityObjectHibernateDao.getRecentlyModifiedEntities
(int maxResults) ContentEntityObjectHibernateDao.getRecentlyModifiedEntitiesForUser
(ConfluenceUser user) ContentEntityObjectHibernateDao.getRecentlyModifiedForChangeDigest
(Date fromDate) ContentEntityObjectHibernateDao.getTrashedContent
(String spaceKey) ContentEntityObjectHibernateDao.getTrashedContents
(String spaceKey, int offset, int limit) ContentEntityObjectHibernateDao.getTrashedContents
(String spaceKey, LimitedRequest pageRequest, Predicate<? super ContentEntityObject> filter) ContentEntityObjectHibernateDao.getVersionsLastEditedByUser
(Collection<Long> contentIds, com.atlassian.sal.api.user.UserKey userKey) ContentEntityObjectHibernateDao.getVersionsLastEditedByUserNew
(Collection<Long> contentIds, com.atlassian.sal.api.user.UserKey userKey) Deprecated.since 6.4.0Modifier and TypeMethodDescriptionContentEntityObjectHibernateDao.getLastEditedVersionsOf
(ContentEntityObject content) void
ContentEntityObjectHibernateDao.refresh
(ContentEntityObject contentEntityObject) void
ContentEntityObjectHibernateDao.remove
(ContentEntityObject contentEntityObject) void
ContentEntityObjectHibernateDao.saveRaw
(ContentEntityObject contentEntityObject) Modifier and TypeMethodDescriptionContentEntityObjectHibernateDao.getTrashedContents
(String spaceKey, LimitedRequest pageRequest, Predicate<? super ContentEntityObject> filter) ContentEntityObjectHibernateDao.getVersionEditContributors
(Iterable<ContentEntityObject> originalVersions) -
Uses of ContentEntityObject in com.atlassian.confluence.internal.relations
Modifier and TypeMethodDescriptionstatic RelatableEntityTypeEnum
RelatableEntityTypeEnum.getByContentEntityObject
(ContentEntityObject object) -
Uses of ContentEntityObject in com.atlassian.confluence.internal.relations.dao.hibernate
Modifier and TypeMethodDescriptionprotected RelationEntity<ConfluenceUser,
ContentEntityObject> User2ContentHibernateRelationDao.constructRelationEntity
(RelationEntity<ConfluenceUser, ContentEntityObject> relationEntity, ConfluenceUser source, ContentEntityObject target, RelationDescriptor<?, ?> relationDescriptor) @NonNull List<ContentEntityObject>
Content2ContentHibernateRelationDao.getSources
(RelationQuery<ContentEntityObject> request, int start, int limit) @NonNull List<ContentEntityObject>
Content2ContentHibernateRelationDao.getTargets
(RelationQuery<ContentEntityObject> request, int start, int limit) @NonNull List<ContentEntityObject>
User2ContentHibernateRelationDao.getTargets
(RelationQuery<ConfluenceUser> request, int start, int limit) Modifier and TypeMethodDescriptionprotected RelationEntity<ConfluenceUser,
ContentEntityObject> User2ContentHibernateRelationDao.constructRelationEntity
(RelationEntity<ConfluenceUser, ContentEntityObject> relationEntity, ConfluenceUser source, ContentEntityObject target, RelationDescriptor<?, ?> relationDescriptor) @Nullable Content2ContentRelationEntity
Content2ContentHibernateRelationDao.getRelationEntity
(ContentEntityObject source, ContentEntityObject target, RelationDescriptor<?, ?> relationDescriptor) @Nullable User2ContentRelationEntity
User2ContentHibernateRelationDao.getRelationEntity
(ConfluenceUser source, ContentEntityObject target, RelationDescriptor<?, ?> relationDescriptor) int
Content2ContentHibernateRelationDao.getRelationsCount
(ContentEntityObject source, ContentEntityObject target, RelationDescriptor<?, ?> relationDescriptor) int
User2ContentHibernateRelationDao.getRelationsCount
(ConfluenceUser source, ContentEntityObject target, RelationDescriptor<?, ?> relationDescriptor) protected Content2ContentRelationEntity
Content2ContentHibernateRelationDao.newRelationEntity
(ContentEntityObject source, ContentEntityObject target) protected User2ContentRelationEntity
User2ContentHibernateRelationDao.newRelationEntity
(ConfluenceUser source, ContentEntityObject target) Modifier and TypeMethodDescriptionprotected RelationEntity<ConfluenceUser,
ContentEntityObject> User2ContentHibernateRelationDao.constructRelationEntity
(RelationEntity<ConfluenceUser, ContentEntityObject> relationEntity, ConfluenceUser source, ContentEntityObject target, RelationDescriptor<?, ?> relationDescriptor) @NonNull List<ContentEntityObject>
Content2ContentHibernateRelationDao.getSources
(RelationQuery<ContentEntityObject> request, int start, int limit) @NonNull List<ConfluenceUser>
User2ContentHibernateRelationDao.getSources
(RelationQuery<ContentEntityObject> request, int start, int limit) int
Content2ContentHibernateRelationDao.getSourcesCount
(RelationQuery<ContentEntityObject> request) int
User2ContentHibernateRelationDao.getSourcesCount
(RelationQuery<ContentEntityObject> request) @NonNull List<ContentEntityObject>
Content2ContentHibernateRelationDao.getTargets
(RelationQuery<ContentEntityObject> request, int start, int limit) int
Content2ContentHibernateRelationDao.getTargetsCount
(RelationQuery<ContentEntityObject> request) -
Uses of ContentEntityObject in com.atlassian.confluence.it.api.test.plugin.apiavailable
Modifier and TypeMethodDescriptionboolean
DummyAvailableContentEntityAdapter.isAllowedContainer
(ContentEntityObject child, ContentEntityObject container) -
Uses of ContentEntityObject in com.atlassian.confluence.json.jsonator
-
Uses of ContentEntityObject in com.atlassian.confluence.labels
Modifier and TypeMethodDescriptionDefaultLabelManager.getAllContentForAllLabels
(int offset, int maxResults, Label... labels) LabelManager.getAllContentForAllLabels
(int offset, int maxResults, Label... labels) Retrieve all ContentEntityObjects, current or deleted which are labelled with ALL provided labels.DefaultLabelManager.getAllContentForLabel
(int offset, int maxResults, Label label) LabelManager.getAllContentForLabel
(int offset, int maxResults, Label label) Retrieve all ContentEntityObjects, current or deleted which are labelled with the provided label.DefaultLabelManager.getContentForAllLabels
(int offset, int maxResults, Label... labels) LabelManager.getContentForAllLabels
(int offset, int maxResults, Label... labels) Retrieve current ContentEntityObjects which are labelled with ALL provided labels.DefaultLabelManager.getContentForLabel
(int offset, int maxResults, Label label) LabelManager.getContentForLabel
(int offset, int maxResults, Label label) Retrieve current ContentEntityObjects which are labelled with the provided label.DefaultLabelManager.getContentInSpaceForAllLabels
(int offset, int maxResults, String spaceKey, Label... labels) LabelManager.getContentInSpaceForAllLabels
(int offset, int maxResults, String spaceKey, Label... labels) Retrieve current ContentEntityObjects in the given space which are labelled with ALL provided labels.DefaultLabelManager.getContentInSpaceForLabel
(int offset, int maxResults, String spaceKey, Label label) LabelManager.getContentInSpaceForLabel
(int offset, int maxResults, String spaceKey, Label label) Retrieve current ContentEntityObjects in the given space which are labelled with the provided label.DefaultLabelManager.getContentInSpacesForAllLabels
(int offset, int maxResults, Set<String> spaceKeys, Label... labels) LabelManager.getContentInSpacesForAllLabels
(int offset, int maxResults, Set<String> spaceKeys, Label... labels) Retrieve current ContentEntityObjects in the given spaces which are labelled with ALL provided labels. -
Uses of ContentEntityObject in com.atlassian.confluence.labels.persistence.dao
Modifier and TypeMethodDescriptionLabelDao.findAllContentForAllLabels
(int offset, int maxResults, Label... labels) Retrieve all ContentEntityObjects which are labelled with ALL provided labels.LabelDao.findContentInSpaceForAllLabels
(int offset, int maxResults, String spaceKey, Label... labels) Retrieve current ContentEntityObjects in the space which are labelled with ALL provided labels.LabelDao.findContentInSpacesForAllLabels
(int offset, int maxResults, Set<String> spaceKeys, Label... labels) Retrieve current ContentEntityObjects in the given spaces which are labelled with ALL provided labels. -
Uses of ContentEntityObject in com.atlassian.confluence.labels.persistence.dao.hibernate
Modifier and TypeMethodDescriptionHibernateLabelDao.findAllContentForAllLabels
(int offset, int maxResults, Label... labels) HibernateLabelDao.findContentInSpaceForAllLabels
(int offset, int maxResults, String spaceKey, Label... labels) HibernateLabelDao.findContentInSpacesForAllLabels
(int offset, int maxResults, Set<String> spaceKeys, Label... labels) -
Uses of ContentEntityObject in com.atlassian.confluence.like
Modifier and TypeMethodDescriptionDefaultLikeManager.addLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) HibernateLikeEntityDao.addLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) @NonNull LikeEntity
LikeEntityDao.addLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) Add a like on the content entity for the given user.LikeManager.addLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) Add a like for the provided user.DefaultLikeManager.getLikes
(ContentEntityObject contentEntity) LikeManager.getLikes
(ContentEntityObject contentEntity) Gets all the likes for the specified content entity (likes are ordered such that recent likes come first)boolean
DefaultLikeManager.hasLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) boolean
HibernateLikeEntityDao.hasLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) boolean
LikeEntityDao.hasLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) Returns true if the given user likes this content entity.boolean
LikeManager.hasLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) Returns true if the provided user likes this content entity.void
DefaultLikeManager.removeAllLikesOn
(ContentEntityObject contentEntity) void
HibernateLikeEntityDao.removeAllLikesOn
(ContentEntityObject contentEntity) void
LikeEntityDao.removeAllLikesOn
(ContentEntityObject contentEntity) Removes all likes (for any user) from the specified content entity.void
LikeManager.removeAllLikesOn
(ContentEntityObject content) Removes all likes (for any user) from the specified content entity.void
DefaultLikeManager.removeLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) void
HibernateLikeEntityDao.removeLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) void
LikeEntityDao.removeLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) Remove like from content entity for the given user.void
LikeManager.removeLike
(ContentEntityObject contentEntity, com.atlassian.user.User user) Remove like from content entity for the current logged in user.void
LikeEntity.setContent
(ContentEntityObject content) Modifier and TypeMethodDescriptionHibernateLikeEntityDao.getLikeEntities
(Collection<? extends ContentEntityObject> contentEntities) @NonNull List<LikeEntity>
LikeEntityDao.getLikeEntities
(Collection<? extends ContentEntityObject> contentEntities) DefaultLikeManager.getLikes
(Collection<? extends ContentEntityObject> contentEntities) LikeManager.getLikes
(Collection<? extends ContentEntityObject> contentEntities) Gets all the likes for the specified content entities (likes are ordered such that recent likes come first).ModifierConstructorDescriptionLikeEntity
(ContentEntityObject content, ConfluenceUser user, Date creationDate) -
Uses of ContentEntityObject in com.atlassian.confluence.links
Modifier and TypeMethodDescriptionAbstractLink.getSourceContent()
The source content of this link (FROM).Modifier and TypeMethodDescriptionDefaultLinkManager.getReferringContent
(ContentEntityObject content) DefaultLinkManager.getReferringContent
(String spaceKey, List<ContentEntityObject> collection) LinkManager.getReferringContent
(ContentEntityObject content) LinkManager.getReferringContent
(String spaceKey, List<ContentEntityObject> collection) Gets collection of referring content with given set of pages within single spaceModifier and TypeMethodDescriptionDefaultLinkManager.getIncomingLinksToContent
(ContentEntityObject content) LinkManager.getIncomingLinksToContent
(ContentEntityObject content) DefaultLinkManager.getReferringContent
(ContentEntityObject content) LinkManager.getReferringContent
(ContentEntityObject content) void
AbstractLink.setSourceContent
(ContentEntityObject sourceContent) void
DefaultLinkManager.updateOutgoingLinks
(ContentEntityObject content) void
LinkManager.updateOutgoingLinks
(ContentEntityObject content) Modifier and TypeMethodDescriptionDefaultLinkManager.getReferringContent
(String spaceKey, List<ContentEntityObject> collection) LinkManager.getReferringContent
(String spaceKey, List<ContentEntityObject> collection) Gets collection of referring content with given set of pages within single spaceModifierConstructorDescriptionOutgoingLink
(ContentEntityObject sourceContent, String destinationSpaceKey, String destinationPageTitle) Convenience constructor -
Uses of ContentEntityObject in com.atlassian.confluence.links.linktypes
Modifier and TypeMethodDescriptionabstract @Nullable ContentEntityObject
AbstractContentEntityLink.getDestinationContent()
@Nullable ContentEntityObject
AbstractPageLink.getDestinationContent()
BlogPostLink.getDestinationContent()
ContentLink.getDestinationContent()
PageLink.getDestinationContent()
SpaceLink.getDestinationContent()
UserProfileLink.getDestinationContent()
Modifier and TypeMethodDescriptionAbstractPageLink.toOutgoingLink
(ContentEntityObject sourceContent) BlogPostLink.toOutgoingLink
(ContentEntityObject sourceContent) IncludePageMacroLink.toOutgoingLink
(ContentEntityObject sourceContent) -
Uses of ContentEntityObject in com.atlassian.confluence.links.persistence.dao
Modifier and TypeMethodDescriptionLinkDao.getReferringContent
(ContentEntityObject content) LinkDao.getReferringContent
(String spaceKey, List<ContentEntityObject> content) Modifier and TypeMethodDescriptionLinkDao.getLinksTo
(ContentEntityObject content) LinkDao.getReferringContent
(ContentEntityObject content) Modifier and TypeMethodDescriptionLinkDao.getReferringContent
(String spaceKey, List<ContentEntityObject> content) -
Uses of ContentEntityObject in com.atlassian.confluence.links.persistence.dao.hibernate
Modifier and TypeMethodDescriptionHibernateLinkDao.getReferringContent
(ContentEntityObject content) HibernateLinkDao.getReferringContent
(String spaceKey, List<ContentEntityObject> contents) Modifier and TypeMethodDescriptionHibernateLinkDao.getLinksTo
(ContentEntityObject theContent) HibernateLinkDao.getReferringContent
(ContentEntityObject content) Modifier and TypeMethodDescriptionHibernateLinkDao.getReferringContent
(String spaceKey, List<ContentEntityObject> contents) -
Uses of ContentEntityObject in com.atlassian.confluence.macro
Modifier and TypeMethodDescriptionMacroExecutionContext.getContent()
Returns theContentEntityObject
associated with this macro. -
Uses of ContentEntityObject in com.atlassian.confluence.macro.count
Modifier and TypeMethodDescriptionstatic @NonNull MacroCountEvent
MacroCountEventFactory.newMacroCreateCountEvent
(Object src, @Nullable ContentEntityObject entity, ConversionContext context, MacroCount macroCount) Constructs a macro creation analytics event.MacroCountStore.updateAndGetNewCounts
(MacroCounter counter, ContentEntityObject entity, int entityVersion) Calculates the number of newly added macros by comparing results from the supplied MacroCounter with the counts stored in theContentProperties
of the entity, and updates those counts after the difference has been calculated. -
Uses of ContentEntityObject in com.atlassian.confluence.mail
Modifier and TypeMethodDescriptionChangeDigestNotificationBean.getAllChangeReportForUser
(com.atlassian.user.User user, List<? extends ContentEntityObject> changes) Generates a change digest report for the list of changes passed in. -
Uses of ContentEntityObject in com.atlassian.confluence.mail.jobs
ModifierConstructorDescriptionDefaultDailyReportManager
(com.atlassian.core.task.MultiQueueTaskManager taskManager, ChangeDigestNotificationBean changeNotificationBean, UserPreferencesAccessor userPreferencesAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, GlobalSettingsManager settingsManager, DataSourceFactory dataSourceFactory, ContentUiSupport<ContentEntityObject> contentUiSupport, I18NBeanFactory i18NBeanFactory) -
Uses of ContentEntityObject in com.atlassian.confluence.mail.notification
Modifier and TypeMethodDescriptionNotificationEmailHelper.extractTargetContentFromEmailReply
(Map<String, List<String>> headers, NotificationEmailHelper.ContentFinder contentFinder) Deprecated.Retrieves the relevant content object from the given (reply) email headers.NotificationEmailHelper.ContentFinder.findContentById
(long contentId) Finds the ContentEntityObject with the given content idNotification.getContent()
Modifier and TypeMethodDescription@Nullable Notification
DefaultNotificationManager.addContentNotification
(com.atlassian.user.User user, ContentEntityObject content) @Nullable Notification
NotificationManager.addContentNotification
(com.atlassian.user.User user, ContentEntityObject content) ConversionContextCreator.createConversionContext
(ContentEntityObject ceo) DefaultNotificationManager.getNotificationByUserAndContent
(com.atlassian.user.User user, ContentEntityObject content) NotificationManager.getNotificationByUserAndContent
(com.atlassian.user.User user, ContentEntityObject content) DefaultNotificationManager.getNotificationsByContent
(ContentEntityObject content) NotificationManager.getNotificationsByContent
(ContentEntityObject content) boolean
DefaultNotificationManager.isWatchingContent
(@Nullable com.atlassian.user.User user, @Nullable ContentEntityObject content) boolean
NotificationManager.isWatchingContent
(@Nullable com.atlassian.user.User user, @Nullable ContentEntityObject content) Returns true if the given user is directly watching the given content.void
DefaultNotificationManager.removeContentNotification
(com.atlassian.user.User user, ContentEntityObject content) void
NotificationManager.removeContentNotification
(com.atlassian.user.User user, ContentEntityObject content) void
Notification.setContent
(ContentEntityObject content) Modifier and TypeMethodDescriptionDefaultNotificationManager.getNotificationsByContents
(List<ContentEntityObject> contents) NotificationManager.getNotificationsByContents
(List<ContentEntityObject> contents) -
Uses of ContentEntityObject in com.atlassian.confluence.mail.notification.listeners
Modifier and TypeMethodDescriptionprotected abstract ContentEntityObject
AbstractContentNotificationsListener.getContentEntityObject
(Map contextMap) Deprecated.protected abstract ContentEntityObject
AbstractNotificationsListener.getContentEntityObject
(Map contextMap) Deprecated.Returns the content entity used for the render context.protected final ContentEntityObject
BlogPostNotificationsListener.getContentEntityObject
(Map contextMap) Deprecated.protected final ContentEntityObject
CommentNotificationsListener.getContentEntityObject
(Map contextMap) Deprecated. -
Uses of ContentEntityObject in com.atlassian.confluence.mail.notification.persistence
Modifier and TypeMethodDescriptionNotificationDao.findNotificationByUserAndContent
(com.atlassian.user.User user, ContentEntityObject content) Find any user notification linked to the specified content.NotificationDao.findNotificationsByContent
(ContentEntityObject content) boolean
NotificationDao.isWatchingContent
(@NonNull ConfluenceUser user, @NonNull ContentEntityObject content) Returns true if the given user is directly watching the given content.Modifier and TypeMethodDescriptionNotificationDao.findNotificationsByContents
(List<ContentEntityObject> contents) -
Uses of ContentEntityObject in com.atlassian.confluence.mail.notification.persistence.dao.hibernate
Modifier and TypeMethodDescriptionHibernateNotificationDao.findNotificationByUserAndContent
(com.atlassian.user.User user, ContentEntityObject content) HibernateNotificationDao.findNotificationsByContent
(ContentEntityObject content) boolean
HibernateNotificationDao.isWatchingContent
(@NonNull ConfluenceUser user, @NonNull ContentEntityObject content) Modifier and TypeMethodDescriptionHibernateNotificationDao.findNotificationsByContents
(List<ContentEntityObject> contents) -
Uses of ContentEntityObject in com.atlassian.confluence.mail.reports
Modifier and TypeMethodDescriptionCommentReport.getCommentOwner()
AbstractContentEntityReport.getContentEntityObject()
ModifierConstructorDescriptionAbstractContentEntityReport
(ContentEntityObject content, ChangeDigestReport parentReport) -
Uses of ContentEntityObject in com.atlassian.confluence.pages
Modifier and TypeInterfaceDescriptioninterface
Contained<T extends ContentEntityObject>
represents content that has an ownerModifier and TypeClassDescriptionclass
Parent of the concrete Page and BlogPost classesclass
class
class
class
This is the old way of dealing with drafts in Confluence and will be deprecated soon.class
Represents a Page within Confluence.class
Deprecated, for removal: This API element is subject to removal in a future version.since 9.1, useAttachment
directly.Modifier and TypeMethodDescriptionDefaultDraftsTransitionHelper.createDraft
(String contentType, String spaceKey) DefaultDraftsTransitionHelper.createDraft
(String contentType, String spaceKey, long parentPageId) DraftsTransitionHelper.createDraft
(String contentType, String spaceKey) This method should attempt to create a draft based on whether or not the Shared Drafts Dark Feature is enabled or disabled.DraftsTransitionHelper.createDraft
(String contentType, String spaceKey, long parentPageId) This method should attempt to create a draft based on whether or not the Shared Drafts Dark Feature is enabled or disabled.@Nullable ContentEntityObject
Attachment.getContainer()
@Nullable ContentEntityObject
Comment.getContainer()
@Nullable ContentEntityObject
ReadOnlyAttachment.getContainer()
Deprecated, for removal: This API element is subject to removal in a future version.Comment.getContentEntityObject()
DefaultDraftsTransitionHelper.getDraft
(long draftId) DraftsTransitionHelper.getDraft
(long draftId) This method should attempt to retrieve a draft, and based on whether or not the Shared Draft dark feature is enabled (determined by the isSharedDraftsFeatureEnabled method) or disabled should return a Shared Draft or Legacy Draft respectively.DefaultDraftsTransitionHelper.getDraftForPage
(AbstractPage abstractPage) DraftsTransitionHelper.getDraftForPage
(AbstractPage abstractPage) This method should retrieve a draft from a given AbstractPage respecting the Shared Drafts feature state.ReadOnlyAttachment.getEntity()
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescription@NonNull List<ContentEntityObject>
PageManager.getOrderedXhtmlContentFromContentId
(long startContentId, long endContentId, int maxRows) Gets the latest versions of AbstractPages between the given IDs limited by the specified number of rows.@NonNull List<ContentEntityObject>
PageManager.getPreviousVersionsOfPageWithTaskId
(long pageId, long taskId, int maxRows) Get previous versions of a CEO that contain the given task ID sorted by versions in descending order.DefaultTrashManager.getTrashContents
(Space space, int offset, int count) DefaultTrashManager.getTrashContents
(String spaceKey, LimitedRequest request) TrashManager.getTrashContents
(Space space, int offset, int count) Retrieve a subset of the contents of the trash for a particular space.TrashManager.getTrashContents
(String spaceKey, LimitedRequest request) Retrieve a subset of the contents of the trash for a particular space.Modifier and TypeMethodDescription@NonNull Comment
CommentManager.addCommentToObject
(ContentEntityObject ceo, @Nullable Comment parent, String content) @NonNull Comment
CommentManager.addCommentToObject
(ContentEntityObject ceo, @Nullable Comment parent, String content, NewCommentDeduplicator commentDeduplicator) Add a new comment if the given deduplicator determines that it's not a duplicate, or just return the existing duplicate otherwise.void
AttachmentManager.copyAttachment
(Attachment attachment, ContentEntityObject destinationContent) Copy specified attachment to specified destination content.void
DefaultAttachmentManager.copyAttachment
(Attachment attachment, ContentEntityObject destinationContent) void
DelegatorAttachmentManager.copyAttachment
(Attachment attachment, ContentEntityObject destinationContent) void
ReadOnlyAttachmentManager.copyAttachment
(Attachment attachment, ContentEntityObject destinationContent) Deprecated, for removal: This API element is subject to removal in a future version.void
AttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent) Copy the latest version of all the attachments on the sourceContent to the destinationContent.void
AttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) Copy the latest version of all the attachments on the sourceContent to the destinationContent.void
DefaultAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent) void
DefaultAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) void
DelegatorAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent) void
DelegatorAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) void
ReadOnlyAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent) Deprecated, for removal: This API element is subject to removal in a future version.void
ReadOnlyAttachmentManager.copyAttachments
(ContentEntityObject sourceContent, ContentEntityObject destinationContent, SaveContext saveContext) Deprecated, for removal: This API element is subject to removal in a future version.int
AttachmentManager.countLatestVersionsOfAttachments
(ContentEntityObject content) Returns a count of the number of latest versions of attachmentsint
DefaultAttachmentManager.countLatestVersionsOfAttachments
(ContentEntityObject content) int
DelegatorAttachmentManager.countLatestVersionsOfAttachments
(ContentEntityObject content) int
ReadOnlyAttachmentManager.countLatestVersionsOfAttachments
(ContentEntityObject content) Deprecated, for removal: This API element is subject to removal in a future version.int
AttachmentManager.countLatestVersionsOfAttachmentsOnPageSince
(ContentEntityObject content, Date since) Fetches number of attachments changed on a page since a specific timestampint
DefaultAttachmentManager.countLatestVersionsOfAttachmentsOnPageSince
(ContentEntityObject content, Date since) int
DelegatorAttachmentManager.countLatestVersionsOfAttachmentsOnPageSince
(ContentEntityObject content, Date since) int
ReadOnlyAttachmentManager.countLatestVersionsOfAttachmentsOnPageSince
(ContentEntityObject content, Date since) Deprecated, for removal: This API element is subject to removal in a future version.int
AttachmentManager.countLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) Returns a count of the number of latest versions of attachments (including trashed)int
DefaultAttachmentManager.countLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) int
DelegatorAttachmentManager.countLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) int
ReadOnlyAttachmentManager.countLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) Deprecated, for removal: This API element is subject to removal in a future version.DefaultTrashManager.findTrashDate
(ContentEntityObject ceo) AttachmentManager.getAllVersionsOfAttachments
(ContentEntityObject content) Returns a list of all attachments, old and new.DefaultAttachmentManager.getAllVersionsOfAttachments
(ContentEntityObject content) DelegatorAttachmentManager.getAllVersionsOfAttachments
(ContentEntityObject content) ReadOnlyAttachmentManager.getAllVersionsOfAttachments
(ContentEntityObject content) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName) Deprecated.since 7.5.0, useAttachmentService
instead in plugins, or useAttachmentManagerInternal
in core where applicableAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName, int version) Deprecated.since 7.5.0, useAttachmentService
instead in plugins, or useAttachmentManagerInternal
in core where applicableDefaultAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName) Get the most recent version of an attachment with a given name for a particular page.DefaultAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName, int version) Retrieve a named attachment from a page.DelegatorAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName) DelegatorAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName, int version) ReadOnlyAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName) Deprecated, for removal: This API element is subject to removal in a future version.ReadOnlyAttachmentManager.getAttachment
(ContentEntityObject content, String attachmentFileName, int version) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getAttachmentDownloadPath
(ContentEntityObject content, String attachmentFileName) Get the download path for the most recent version of an attachment with the given name for some contentDefaultAttachmentManager.getAttachmentDownloadPath
(ContentEntityObject content, String attachmentFileName) DelegatorAttachmentManager.getAttachmentDownloadPath
(ContentEntityObject content, String attachmentFileName) ReadOnlyAttachmentManager.getAttachmentDownloadPath
(ContentEntityObject content, String attachmentFileName) Deprecated, for removal: This API element is subject to removal in a future version.static Long
DraftsTransitionHelper.getContentId
(ContentEntityObject draft) static String
DraftsTransitionHelper.getContentType
(ContentEntityObject draft) DefaultAttachmentManager.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) DelegatorAttachmentManager.getFilteredAttachments
(ContentEntityObject content, LimitedRequest pageRequest, Predicate<? super Attachment> filterPredicate) Returns the current attachments under the CEO.AttachmentManager.getLatestVersionsOfAttachments
(ContentEntityObject content) Returns a list of only latest versions of attachments.DefaultAttachmentManager.getLatestVersionsOfAttachments
(ContentEntityObject content) DelegatorAttachmentManager.getLatestVersionsOfAttachments
(ContentEntityObject content) ReadOnlyAttachmentManager.getLatestVersionsOfAttachments
(ContentEntityObject content) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) Returns a list of only latest versions of attachments (including trashed).DefaultAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) DelegatorAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) ReadOnlyAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) Deprecated, for removal: This API element is subject to removal in a future version.static String
DraftsTransitionHelper.getSpaceKey
(ContentEntityObject draft) static boolean
DraftsTransitionHelper.isLegacyDraft
(ContentEntityObject draft) static boolean
DraftsTransitionHelper.isSharedDraft
(ContentEntityObject draft) void
AttachmentManager.moveAttachment
(Attachment latestVersion, String fileName, ContentEntityObject newContent) void
DefaultAttachmentManager.moveAttachment
(Attachment attachment, ContentEntityObject newContainer) void
DefaultAttachmentManager.moveAttachment
(Attachment latestVersion, String newFileName, ContentEntityObject newContent) void
DelegatorAttachmentManager.moveAttachment
(Attachment attachment, ContentEntityObject newContainer) void
DelegatorAttachmentManager.moveAttachment
(Attachment attachment, String newFileName, ContentEntityObject newName) void
ReadOnlyAttachmentManager.moveAttachment
(Attachment latestVersion, String fileName, ContentEntityObject newContent) Deprecated, for removal: This API element is subject to removal in a future version.void
PageManager.refreshPage
(ContentEntityObject page) Refresh the page object in the hibernate session.void
Attachment.setContainer
(ContentEntityObject content) void
Comment.setContainer
(ContentEntityObject container) void
ReadOnlyAttachment.setContainer
(ContentEntityObject content) Deprecated, for removal: This API element is subject to removal in a future version.void
ReadOnlyAttachment.setContentPropertiesFrom
(ContentEntityObject ceo) Deprecated, for removal: This API element is subject to removal in a future version.void
DefaultFileUploadManager.storeResource
(AttachmentResource resource, ContentEntityObject ceo) void
FileUploadManager.storeResource
(AttachmentResource attachmentResource, ContentEntityObject content) Stores the attachmentResource as anAttachment
on the specified content object.void
DefaultFileUploadManager.storeResources
(Collection<AttachmentResource> attachmentResources, ContentEntityObject content) void
FileUploadManager.storeResources
(Collection<AttachmentResource> attachmentResources, ContentEntityObject content) Stores the attachmentResource as anAttachment
on the specified content object.void
DefaultDraftsTransitionHelper.transitionContentObjects
(ContentEntityObject from, ContentEntityObject to) void
DraftsTransitionHelper.transitionContentObjects
(ContentEntityObject from, ContentEntityObject to) Transitions content objects such as attachments, content properties, labels and permissions from one content object to another.Modifier and TypeMethodDescriptionvoid
ReadOnlyAttachment.applyChildVersioningPolicy
(@Nullable Versioned versionToPromote, Consumer<ContentEntityObject> dao) Deprecated, for removal: This API element is subject to removal in a future version.AttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) Returns a list of all the latest versions of attachments for all the CEOs providedDefaultAttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) DelegatorAttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) ReadOnlyAttachmentManager.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) Deprecated, for removal: This API element is subject to removal in a future version.DefaultAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) DelegatorAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) -
Uses of ContentEntityObject in com.atlassian.confluence.pages.actions
Modifier and TypeFieldDescriptionprotected ContentEntityObject
PurgeTrashItemAction.contentEntityObject
Modifier and TypeFieldDescriptionprotected Collection<ContentEntityObject>
MoveAttachmentAction.suggestedContentToBeRefactored
Modifier and TypeMethodDescriptionAbstractCreatePageAction.getAttachmentSourceContent()
AbstractPageAction.getAttachmentSourceContent()
Returns theConfluenceEntityObject
that contains attachments relevant to the current action.abstract ContentEntityObject
AbstractViewAttachmentsAction.getContentEntityObject()
PurgeTrashItemAction.getContentEntityObject()
RestoreExistingTrashItemAction.getContentEntityObject()
RestoreTrashItemAction.getContentEntityObject()
ViewPageAttachmentsAction.getContentEntityObject()
PageInfoAction.getDestinationContentEntity
(OutgoingLink link) ResumeDraftAction.getDraft()
AbstractCreateAndEditPageAction.getDraftAsCEO()
Deprecated.since 5.10 only use if still transitioning from legacy drafts, otherwise useAbstractCreateAndEditPageAction.getContentDraft()
RestoreExistingTrashItemAction.getExistingContentEntityObject()
Modifier and TypeMethodDescriptionListUndefinedPagesAction.UndefinedPage.getReferencedFrom()
MoveAttachmentAction.getSuggestedContentToBeRefactored()
Modifier and TypeMethodDescriptionprotected void
AbstractCreatePageAction.assignParentPage
(ContentEntityObject page, Page parentPage) protected void
CreatePageAction.assignParentPage
(ContentEntityObject page, Page parentPage) protected void
AbstractCreatePageAction.assignSpace
(ContentEntityObject draft, Space space) protected void
CreatePageAction.assignSpace
(ContentEntityObject page, Space space) -
Uses of ContentEntityObject in com.atlassian.confluence.pages.actions.beans
Modifier and TypeMethodDescriptionAttachmentStorer.attachFiles
(ContentEntityObject contentEntityObject) ModifierConstructorDescriptionFileStorer
(com.opensymphony.xwork2.ActionSupport action, ContentEntityObject content) ImageStorer
(com.opensymphony.xwork2.ActionSupport action, ContentEntityObject content, ThumbnailManager thumbnailManager) -
Uses of ContentEntityObject in com.atlassian.confluence.pages.attachments
Modifier and TypeMethodDescriptionint
AbstractDelegatingAttachmentDao.countLatestVersionsOfAttachments
(ContentEntityObject content) int
AbstractDelegatingAttachmentDao.countLatestVersionsOfAttachmentsOnPageSince
(ContentEntityObject content, Date since) int
AbstractDelegatingAttachmentDao.countLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) AbstractDelegatingAttachmentDao.getAttachment
(ContentEntityObject content, String fileName, int version) AbstractDelegatingAttachmentDao.getLatestAttachment
(ContentEntityObject content, String fileName) AbstractDelegatingAttachmentDao.getLatestVersionsOfAttachments
(ContentEntityObject ceo) AbstractDelegatingAttachmentDao.getLatestVersionsOfAttachments
(ContentEntityObject ceo, LimitedRequest pageRequest) AbstractDelegatingAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject ceo) void
AbstractDelegatingAttachmentDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) Modifier and TypeMethodDescriptionAbstractDelegatingAttachmentDao.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) AbstractDelegatingAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) -
Uses of ContentEntityObject in com.atlassian.confluence.pages.persistence.dao
Modifier and TypeMethodDescriptionAbstractPageDao.getOrderedXhtmlContentFromContentId
(long startContentId, long endContentId, int maxRows) Gets the latest versions of AbstractPages between the given IDs limited by the specified number of rows.AbstractPageDao.getPreviousVersionsOfPageWithTaskId
(long pageId, long taskId, int maxRows) Get previous versions of a CEO that contain the given task ID sorted by versions in descending order.AbstractPageDao.getStaleSharedDrafts()
Get all stale shared drafts in the database.Modifier and TypeMethodDescriptionint
AttachmentDao.countLatestVersionsOfAttachments
(ContentEntityObject content) int
AttachmentDao.countLatestVersionsOfAttachmentsOnPageSince
(ContentEntityObject content, Date since) int
AttachmentDao.countLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) AttachmentDao.getAttachment
(ContentEntityObject content, String fileName, int version) Return the attachment on the specified content with the given filename and version.protected File
FileSystemAttachmentDataDao.getDirectoryForAttachment
(ContentEntityObject content, Attachment attachment) Deprecated.Retrieves the location of the containing folder for an Attachmentprotected File
FileSystemAttachmentDataDao.getDirectoryForContent
(ContentEntityObject content) Deprecated.AttachmentDao.getLatestAttachment
(ContentEntityObject content, String fileName) Return the latest version of the attachment on the specified content with the given filename.AttachmentDao.getLatestVersionsOfAttachments
(ContentEntityObject ceo) Retrieves the latest versions of all attachments to ceoAttachmentDao.getLatestVersionsOfAttachments
(ContentEntityObject ceo, LimitedRequest request) AttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject ceo) Retrieves the latest versions of all attachments to ceo (including trashed)protected boolean
AbstractAttachmentCopier.isContentExcluded
(ContentEntityObject content) Returns whether a ContentEntityObject is excluded from the copyprotected boolean
AbstractAttachmentCopier.isContentSpaceIncluded
(ContentEntityObject content) Returns whether the content's Space is in the inclusion List.void
AttachmentDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) Moves an Attachment to a new file name or content objectvoid
AttachmentDataDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) Moves an attachment to a new file name or content objectvoid
FileSystemAttachmentDataDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) Deprecated.void
AttachmentDataDao.removeDataForAttachment
(Attachment attachment, ContentEntityObject originalContent) Removes all attachment data for the given attachment.void
FileSystemAttachmentDataDao.removeDataForAttachment
(Attachment attachment, ContentEntityObject originalContent) Deprecated.Removes all attachment data for the given attachment.void
AttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachmentVersion, ContentEntityObject originalContent) Removes the attachment data for the given attachment version.void
AttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachmentVersion, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType) Removes the attachment data of the specific stream type for the given attachment version.void
FileSystemAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachment, ContentEntityObject originalContent) Deprecated.Removes the attachment data for the given attachment version.void
FileSystemAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachment, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType) Deprecated.Modifier and TypeMethodDescriptionAttachmentDao.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) Retrieves the latest versions of all attachments for all CEOs provided -
Uses of ContentEntityObject in com.atlassian.confluence.pages.persistence.dao.hibernate
Modifier and TypeMethodDescriptionHibernateAbstractPageDao.getOrderedXhtmlContentFromContentId
(long startContentId, long endContentId, int maxRows) HibernateAbstractPageDao.getPreviousVersionsOfPageWithTaskId
(long pageId, long taskId, int maxRows) HibernateAbstractPageDao.getStaleSharedDrafts()
HibernateAbstractPageDao.getStaleSharedDrafts
(LimitedRequest limitedRequest) Modifier and TypeMethodDescriptionint
AbstractHibernateAttachmentDao.countLatestVersionsOfAttachments
(ContentEntityObject content) int
AbstractHibernateAttachmentDao.countLatestVersionsOfAttachmentsOnPageSince
(ContentEntityObject content, Date since) int
AbstractHibernateAttachmentDao.countLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) AbstractHibernateAttachmentDao.getAttachment
(ContentEntityObject content, String fileName, int version) AbstractHibernateAttachmentDao.getLatestAttachment
(ContentEntityObject content, String fileName) AbstractHibernateAttachmentDao.getLatestVersionsOfAttachments
(ContentEntityObject content) AbstractHibernateAttachmentDao.getLatestVersionsOfAttachments
(ContentEntityObject ceo, LimitedRequest request) AbstractHibernateAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatus
(ContentEntityObject content) void
AbstractHibernateAttachmentDao.moveAttachment
(Attachment latestVersion, Attachment oldAttachment, ContentEntityObject newContent) void
HibernateAttachmentDataDao.moveAttachment
(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent) Deprecated, for removal: This API element is subject to removal in a future version.protected List<Attachment>
AbstractHibernateAttachmentDao.removeAllAttachmentVersions
(Attachment latestVersion, ContentEntityObject content) protected void
AbstractHibernateAttachmentDao.removeAttachment
(Attachment attachment, ContentEntityObject content) Severs the connection between attachment and content, and removes the attachment from the databasevoid
HibernateAttachmentDataDao.removeDataForAttachment
(Attachment attachment, ContentEntityObject originalContent) Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachment, ContentEntityObject originalContent) Deprecated, for removal: This API element is subject to removal in a future version.void
HibernateAttachmentDataDao.removeDataForAttachmentVersion
(Attachment attachmentVersion, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType) Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionAbstractHibernateAttachmentDao.getLatestVersionsOfAttachmentsForMultipleCeos
(Iterable<? extends ContentEntityObject> contentEntityObjects) AbstractHibernateAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatusForContainers
(Iterable<? extends ContentEntityObject> contentEntityObjects) -
Uses of ContentEntityObject in com.atlassian.confluence.pages.templates
Modifier and TypeMethodDescriptionContentBlueprintInstanceFactory.convertToInstance
(ContentEntityObject ceo, ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions) -
Uses of ContentEntityObject in com.atlassian.confluence.pages.wysiwyg
Modifier and TypeMethodDescriptionConfluenceWysiwygConverter.convertWikiMarkupToXHtml
(ContentEntityObject content, String wikiMarkup) Converts wiki markup text into XHTML, using the page context of the content object.ConfluenceWysiwygConverter.convertWikiMarkupToXHtml
(ContentEntityObject content, String spaceKey, String wikiMarkup) Converts wiki markup text into XHTML, using the page context of the content object.DefaultConfluenceWysiwygConverter.convertWikiMarkupToXHtml
(ContentEntityObject content, String wikiMarkup) DefaultConfluenceWysiwygConverter.convertWikiMarkupToXHtml
(ContentEntityObject content, String spaceKey, String wikiMarkup) ConfluenceWysiwygConverter.convertXHtmlToWikiMarkup
(ContentEntityObject content, String xhtml) Converts XHTML into wiki markup, using the page context of the content objectDefaultConfluenceWysiwygConverter.convertXHtmlToWikiMarkup
(ContentEntityObject content, String xhtml) -
Uses of ContentEntityObject in com.atlassian.confluence.plugin.descriptor.web
Modifier and TypeMethodDescription@Nullable ContentEntityObject
DefaultWebInterfaceContext.getContentDraft()
Deprecated.since 5.9.@Nullable ContentEntityObject
WebInterfaceContext.getContentDraft()
Deprecated.since 5.9. -
Uses of ContentEntityObject in com.atlassian.confluence.plugins.contentproperty
Modifier and TypeMethodDescriptionboolean
JsonPropertyEntityAdapter.isAllowedContainer
(ContentEntityObject child, ContentEntityObject container) static boolean
JsonPropertyEntityAdapter.isContentProperty
(ContentEntityObject o) JsonPropertyFactory.makeVersion
(ContentEntityObject entity) JsonPropertyFactory.makeVersion
(ContentEntityObject entity, boolean expanded) -
Uses of ContentEntityObject in com.atlassian.confluence.plugins.edgeindex
Modifier and TypeMethodDescriptionDefaultEdgeContentQueries.getContentCreatedSince
(Date startDate) EdgeContentQueries.getContentCreatedSince
(Date startDate) Get all contents created since a date in the pastList<com.atlassian.fugue.Pair<ContentEntityObject,
LikeEntity>> DefaultEdgeContentQueries.getLikesSince
(Date startDate) List<com.atlassian.fugue.Pair<ContentEntityObject,
LikeEntity>> EdgeContentQueries.getLikesSince
(Date startDate) Get all likes associated to each content since a date in the pastDefaultPopularContentQueries.getMostPopular
(int maxResults, EdgeQueryParameter queryParameter) PopularContentQueries.getMostPopular
(int maxResults, EdgeQueryParameter queryParameter) find popular content that have occurred in the last period of timeModifier and TypeMethodDescriptionDefaultEdgeDocumentFactory.buildDocument
(String edgeId, com.atlassian.sal.api.user.UserKey userKey, ContentEntityObject target, Date date, String edgeTypeKey) EdgeDocumentFactory.buildDocument
(String edgeId, com.atlassian.sal.api.user.UserKey userKey, ContentEntityObject target, Date date, String edgeTypeKey) Build the AtlassianDocument which will be stored as an edge index documentboolean
DefaultEdgeFactory.canBuildCreatEdge
(ContentEntityObject contentEntity) boolean
EdgeFactory.canBuildCreatEdge
(ContentEntityObject contentEntity) Determines if the edge factory is capable of building create edges for a particular piece of content.void
DefaultEdgeIndexManager.contentEntityRemoved
(boolean deletingVersion, ContentEntityObject contentEntity) void
DefaultEdgeIndexManager.contentEntityRemoved
(ContentEntityObject contentEntity) void
EdgeIndexManager.contentEntityRemoved
(ContentEntityObject contentEntity) Update the index to reflect the deletion of the specified content entity.void
DefaultEdgeIndexManager.contentEntityVersionRemoved
(ContentEntityObject contentEntity) void
EdgeIndexManager.contentEntityVersionRemoved
(ContentEntityObject contentEntity) Update the index to reflect the deletion of the specified content entity version.DefaultEdgeIndexTaskFactory.createAddDocumentTask
(String edgeId, com.atlassian.sal.api.user.UserKey userKey, ContentEntityObject target, Date date, String edgeTypeKey) EdgeIndexTaskFactory.createAddDocumentTask
(String edgeId, com.atlassian.sal.api.user.UserKey userKey, ContentEntityObject target, Date date, String edgeTypeKey) DefaultEdgeIndexTaskFactory.createReIndexPermissionsTask
(ContentEntityObject ceo) EdgeIndexTaskFactory.createReIndexPermissionsTask
(ContentEntityObject ceo) void
EdgeIndexTaskQueue.enqueue
(IndexTaskType indexTaskType, ContentEntityObject target) Add a new task to this queue.void
JournalEdgeIndexTaskQueue.enqueue
(IndexTaskType indexTaskType, ContentEntityObject target) DefaultEdgeFactory.getCreateEdge
(ContentEntityObject contentEntity) EdgeFactory.getCreateEdge
(ContentEntityObject contentEntity) Creates a new instance of an edge which indicates new content creation.DefaultEdgeFactory.getLikeEdge
(ConfluenceUser liker, ContentEntityObject likedContent, Date likeDate) EdgeFactory.getLikeEdge
(ConfluenceUser liker, ContentEntityObject likedContent, Date likeDate) Creates a new instance of an edge which represents a user liking content. -
Uses of ContentEntityObject in com.atlassian.confluence.plugins.edgeindex.rest
Modifier and TypeMethodDescriptionContentEntityHelper.getContentEntities
(List<Long> contentIds) HibernateContentEntityHelper.getContentEntities
(List<Long> contentIds) ModifierConstructorDescriptionStreamItemFactory
(ContextPathHolder contextPathHolder, UserDtoFactory userDtoFactory, DateEntityFactory dateEntityFactory, ContentEntityHelper contentEntityHelper, EdgeTypeRepository edgeTypeRepository, ContentUiSupport<ContentEntityObject> contentUiSupport) -
Uses of ContentEntityObject in com.atlassian.confluence.plugins.like.graphql
ModifierConstructorDescriptionLikesResponse
(LikeManager likeManager, PersonService personService, UserAccessor userAccessor, ContentEntityObject content, ConfluenceUser currentUser, com.google.common.base.Supplier<Set<String>> followeeUsernames) -
Uses of ContentEntityObject in com.atlassian.confluence.plugins.like.notifications
ModifierConstructorDescriptionLikeNotification
(ConfluenceUser recipient, com.atlassian.user.User liker, com.atlassian.user.User author, ContentEntityObject contentEntity, com.atlassian.plugin.notifications.spi.UserRole role) Construct a like notification -
Uses of ContentEntityObject in com.atlassian.confluence.plugins.rest.jackson2.entities.builders
Modifier and TypeInterfaceDescriptioninterface
ContentEntityBuilder<T extends ContentEntityObject>
class
DefaultContentEntityBuilder<T extends ContentEntityObject>
class
Modifier and TypeMethodDescription<T extends ContentEntityObject>
ContentEntityBuilder<? super T>DefaultEntityBuilderFactory.createContentEntityBuilder
(Class<? extends T> clazz) <T extends ContentEntityObject>
ContentEntityBuilder<? super T>EntityBuilderFactory.createContentEntityBuilder
(Class<? extends T> clazz) A builder for constructing a REST entity from a {{com.atlassian.confluence.core.ContentEntityObject}} -
Uses of ContentEntityObject in com.atlassian.confluence.plugins.rest.jackson2.manager
Modifier and TypeMethodDescriptionDefaultRestContentManager.convertToContentEntity
(ContentEntityObject object) RestContentManager.convertToContentEntity
(ContentEntityObject object) Convert a Confluence model object into its REST representation.DefaultRestAttachmentManager.createAttachmentEntityListForContent
(ContentEntityObject object) RestAttachmentManager.createAttachmentEntityListForContent
(ContentEntityObject object) Create aAttachmentEntityList
object for the given ContentEntityObjectModifierConstructorDescriptionChildrenListWrapperCallback
(RestContentManager restContentManager, ContentEntityObject parentConfluenceObject) ContentEntityMapping
(ContentEntity contentEntity, ContentEntityObject confluenceObject) -
Uses of ContentEntityObject in com.atlassian.confluence.plugins.soy
ModifierConstructorDescriptionGetContentTypeI18nKeyFunction
(ContentUiSupport<ContentEntityObject> contentUiSupport) -
Uses of ContentEntityObject in com.atlassian.confluence.plugins.viewsource
-
Uses of ContentEntityObject in com.atlassian.confluence.renderer
Modifier and TypeMethodDescriptionPageContext.getEntity()
PageTemplateContext.getEntity()
static ContentEntityObject
ContentIncludeStack.peek()
static ContentEntityObject
ContentIncludeStack.pop()
Modifier and TypeMethodDescriptionstatic boolean
ContentIncludeStack.contains
(ContentEntityObject c) static PageContext
PageContext.newContextWithTimeout
(ContentEntityObject entity, io.atlassian.util.concurrent.Timeout timeout) Construct a new PageContext for the rendering of some entity within a given time.static void
ContentIncludeStack.push
(ContentEntityObject c) ModifierConstructorDescriptionPageContext
(ContentEntityObject entity) PageContext
(ContentEntityObject entity, PageContext previousContext) Deprecated.since 4.3. -
Uses of ContentEntityObject in com.atlassian.confluence.rpc.soap.beans
-
Uses of ContentEntityObject in com.atlassian.confluence.rpc.soap.services
Modifier and TypeMethodDescriptionSoapServiceHelper.retrieveContent
(long contentId) Retrieves the content with the given ID, throwing an exception if the content can not be found, or the current user has not permission to view it.SoapServiceHelperImpl.retrieveContent
(long contentId) -
Uses of ContentEntityObject in com.atlassian.confluence.rss
Modifier and TypeClassDescriptionclass
-
Uses of ContentEntityObject in com.atlassian.confluence.search.v2
Modifier and TypeMethodDescriptionContentPermissionCalculator.calculate
(@Nullable ContentEntityObject contentEntityObject) -
Uses of ContentEntityObject in com.atlassian.confluence.security
Modifier and TypeMethodDescriptionstatic String
PermissionUtils.getRestrictionsHash
(ContentEntityObject content) void
ContentPermissionSet.setOwningContent
(ContentEntityObject owningContent) Hibernate setter.ModifierConstructorDescriptionContentPermissionSet
(String type, ContentEntityObject owningContent) -
Uses of ContentEntityObject in com.atlassian.confluence.servlet.download
Modifier and TypeMethodDescriptionGets the entity that the attachment is attached to based on the given url. -
Uses of ContentEntityObject in com.atlassian.confluence.setup.settings
Modifier and TypeClassDescriptionclass
Content Entity Object that is associated with the whole confluence rather then a specific space/page/user. -
Uses of ContentEntityObject in com.atlassian.confluence.spaces
Modifier and TypeMethodDescriptionReadOnlySpaceDescription.getEntity()
ReadOnlySpaceDescription.getLatestVersion()
SpaceDescription.getLatestVersion()
Modifier and TypeMethodDescriptionvoid
ReadOnlySpaceDescription.setContentPropertiesFrom
(ContentEntityObject ceo) Modifier and TypeMethodDescriptionvoid
ReadOnlySpaceDescription.applyChildVersioningPolicy
(@Nullable Versioned versionToPromote, Consumer<ContentEntityObject> dao) -
Uses of ContentEntityObject in com.atlassian.confluence.spaces.actions
Modifier and TypeMethodDescriptionprotected abstract ContentEntityObject
AbstractLogoAction.getContentToAttachLogoTo()
-
Uses of ContentEntityObject in com.atlassian.confluence.ui.rest.builder
Modifier and TypeMethodDescriptionLegacyContentBuilder.buildFrom
(ContentEntityObject entity, Expansions expansions) Deprecated. -
Uses of ContentEntityObject in com.atlassian.confluence.upgrade.upgradetask
Modifier and TypeMethodDescriptionboolean
ChangeSpaceDescriptionsBodyTypeTask.apply
(ContentEntityObject entity, int index, int batchSize) boolean
ConvertToRelativeLinksTask.apply
(ContentEntityObject entity, int index, int batchSize) -
Uses of ContentEntityObject in com.atlassian.confluence.user
-
Uses of ContentEntityObject in com.atlassian.confluence.user.actions
Modifier and TypeMethodDescriptionViewMyFavouritesAction.getContent()
ViewMyDraftsAction.getContentDrafts()
ViewMyDraftsAction.getDraftsBySpace()
Deprecated.ViewUserHistoryAction.getHistory()
ViewMyDraftsAction.getNonResumableDraftsBySpace()
ViewMyFavouritesAction.getPaginatedItems()
ViewMyFavouritesAction.getPaginationSupport()
ViewMyDraftsAction.getResumableDraftsBySpace()
Modifier and TypeMethodDescriptionboolean
ViewMyDraftsAction.isDiscardableDraft
(ContentEntityObject contentEntityObject) boolean
ViewMyDraftsAction.isLegacyDraft
(ContentEntityObject contentEntityObject) boolean
ViewMyDraftsAction.isViewableDraft
(ContentEntityObject contentEntityObject) -
Uses of ContentEntityObject in com.atlassian.confluence.user.history
Modifier and TypeMethodDescriptionUserHistoryHelper.getHistoryContent
(int maxResults, ContentTypeEnum... requestedTypes) Returns user historyContentEntityObject
s, filtered to only include the requested types.UserHistoryHelper.getHistoryContent
(ContentTypeEnum... requestedTypes) -
Uses of ContentEntityObject in com.atlassian.confluence.user.notifications
Modifier and TypeMethodDescriptionprotected ContentEntityObject
UserSignUpNotificationsListener.getContentEntityObject
(Map contextMap) Deprecated. -
Uses of ContentEntityObject in com.atlassian.confluence.util
Modifier and TypeMethodDescriptionstatic @Nullable String
ConfluenceRenderUtils.getAttachmentRemotePath
(@Nullable ContentEntityObject content) Returns the remote path to the attachments of the givenContentEntityObject
.static String
ConfluenceRenderUtils.getAttachmentsPathForContent
(@NonNull ContentEntityObject content) Returns the download path for all the attachments on a given content object, excluding the context path and base URL.ContentMacrosHelper.getExcerpt
(ContentEntityObject content, PageContext pageContext) ExcerptHelper.getExcerpt
(ContentEntityObject contentEntityObject) Returns the body of an excerpt macro (including any xhtml tags).ExcerptHelper.getExcerptSummary
(ContentEntityObject contentEntityObject) Returns the first line of an excerpt macro as plain text (all xhtml tags will be stripped)ExcerptHelper.getMacroDefinition
(ContentEntityObject contentEntityObject, String macroName) Gets the firstMacroDefinition
in the supplied (@code contentEntityObject}.LabelUtil.getRecentAndPopularLabelsForEntity
(ContentEntityObject entity, LabelManager labelManager, int maxResults, String user) static String
ContentUtils.getSpaceKeyFromCeo
(ContentEntityObject ceo) -
Uses of ContentEntityObject in com.atlassian.confluence.web.service
Modifier and TypeMethodDescriptionWebContextFactory.createWebInterfaceContext
(ContentEntityObject content) WebContextFactory.createWebInterfaceContext
(ContentEntityObject content, Map<String, Object> additionalContext) WebContextFactoryImpl.createWebInterfaceContext
(ContentEntityObject content) WebContextFactoryImpl.createWebInterfaceContext
(ContentEntityObject content, Map<String, Object> additionalContext) -
Uses of ContentEntityObject in com.atlassian.confluence.xhtml.api
Modifier and TypeMethodDescription<T extends ContentEntityObject>
TWikiToStorageConverter.convertWikiBodyToStorage
(T ceo) Convert the body of the supplied ContentEntityObject to Confluence Storage Format XHTML (if necessary).<T extends ContentEntityObject>
TXhtmlContent.convertWikiBodyToStorage
(T ceo) Convert the body of the supplied ContentEntityObject to Confluence Storage Format XHTML (if necessary). -
Uses of ContentEntityObject in com.atlassian.synchrony
DefaultContentCreator.saveNewContent(ContentEntityObject, Version, Draft)