Uses of Class
com.atlassian.confluence.core.ContentEntityObject
-
-
Uses of ContentEntityObject in com.atlassian.confluence.admin.actions
Methods in com.atlassian.confluence.admin.actions that return ContentEntityObject Modifier and Type Method Description protected ContentEntityObject
ConfigureDefaultSpaceLogoAction. getContentToAttachLogoTo()
-
Uses of ContentEntityObject in com.atlassian.confluence.api.impl
Methods in com.atlassian.confluence.api.impl with parameters of type ContentEntityObject Modifier and Type Method Description RestEntity
DefaultApiRestEntityFactory. buildRestEntityFrom(ContentEntityObject entity, Expansions expansions)
Method parameters in com.atlassian.confluence.api.impl with type arguments of type ContentEntityObject Modifier and Type Method Description Iterable<RestEntity>
DefaultApiRestEntityFactory. buildRestEntityFromContent(Iterable<? extends ContentEntityObject> entities, Expansions expansions)
-
Uses of ContentEntityObject in com.atlassian.confluence.api.impl.service.content
Methods in com.atlassian.confluence.api.impl.service.content with parameters of type ContentEntityObject Modifier and Type Method Description Content
ContentServiceImpl. buildContent(ContentEntityObject entity, List<ContentStatus> statuses, Expansion... expansions)
com.atlassian.fugue.Pair<String,Reference<WebResourceDependencies>>
ContentBodyConversionManager. 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.com.atlassian.fugue.Pair<String,Reference<WebResourceDependencies>>
ContentBodyConversionManagerImpl. convert(ContentRepresentation fromFormat, String value, ContentRepresentation toFormat, ContentEntityObject ceo, Expansion... expansions)
protected ValidationResult
ContentServiceImpl.ValidatorImpl. validateUpdate(Content updatedContent, ContentEntityObject currentCeo)
-
Uses of ContentEntityObject in com.atlassian.confluence.api.impl.service.content.factory
Methods in com.atlassian.confluence.api.impl.service.content.factory with type parameters of type ContentEntityObject Modifier and Type Method Description <HC extends ContentEntityObject>
Iterable<Content>ContentFactory. buildFrom(Iterable<HC> entities, Expansions expansions)
Methods in com.atlassian.confluence.api.impl.service.content.factory that return types with arguments of type ContentEntityObject Modifier and Type Method Description Map<ContentEntityObject,Map<String,Object>>
ContentMetadataFactory. buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap, Fauxpansions fauxpansions)
Deprecated.since 7.0.1.Map<ContentEntityObject,Map<String,Object>>
DefaultContentMetadataFactory. buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap, Fauxpansions fauxpansions)
Deprecated.since 7.0.1.default Map<ContentEntityObject,Map<String,Object>>
ContentMetadataFactory. buildMetadataForContentEntityObjects(Map<ContentEntityObject,Supplier<Content>> contentMap, Fauxpansions fauxpansions)
Make common metadata for a set of ContentEntityObject objects.Map<ContentEntityObject,Reference<History>>
HistoryFactory. buildReferences(Iterable<ContentEntityObject> ceos, Fauxpansions historyExpansions, ContentFactory contentFactory)
Methods in com.atlassian.confluence.api.impl.service.content.factory with parameters of type ContentEntityObject Modifier and Type Method Description ContentBody
ContentBodyFactory. build(ContentEntityObject ceo, BodyContent bodyContent, ContentRepresentation representation)
Version
VersionFactory. build(ContentEntityObject entity, Expansions subExpansions, ContentFactory contentFactory)
Content.ContentBuilder
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.Content
ContentFactory. buildFrom(ContentEntityObject entity, Expansions expansions)
Reference<Content>
ContentFactory. buildRef(ContentEntityObject entity, Fauxpansions fauxpansions)
Reference<History>
HistoryFactory. buildRef(ContentEntityObject entity, Reference<Content> contentReference, List<ConfluenceUser> editContributors, Fauxpansions fauxpansions, ContentFactory contentFactory)
Reference<Version>
VersionFactory. buildRef(ContentEntityObject entity, Fauxpansions fauxpansions, ContentFactory contentFactory)
ContentBlueprintInstance
ContentBlueprintInstanceFactory. convertToInstance(ContentEntityObject ceo, ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
Deprecated.ContentBlueprintInstance
DefaultContentBlueprintInstanceFactory. convertToInstance(ContentEntityObject ceo, ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
Map<ContentRepresentation,ContentBody>
ContentBodyFactory. makeContentBodies(ContentEntityObject ceo, BodyContent bodyContent, Expansions expansions, ContentFactory contentFactory)
Method parameters in com.atlassian.confluence.api.impl.service.content.factory with type arguments of type ContentEntityObject Modifier and Type Method Description Map<ContentEntityObject,Map<String,Object>>
ContentMetadataFactory. buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap, Fauxpansions fauxpansions)
Deprecated.since 7.0.1.Map<ContentEntityObject,Map<String,Object>>
DefaultContentMetadataFactory. buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap, Fauxpansions fauxpansions)
Deprecated.since 7.0.1.default Map<ContentEntityObject,Map<String,Object>>
ContentMetadataFactory. buildMetadataForContentEntityObjects(Map<ContentEntityObject,Supplier<Content>> contentMap, Fauxpansions fauxpansions)
Make common metadata for a set of ContentEntityObject objects.Map<ContentEntityObject,Reference<History>>
HistoryFactory. buildReferences(Iterable<ContentEntityObject> ceos, Fauxpansions historyExpansions, ContentFactory contentFactory)
-
Uses of ContentEntityObject in com.atlassian.confluence.api.impl.service.content.finder
Methods in com.atlassian.confluence.api.impl.service.content.finder that return types with arguments of type ContentEntityObject Modifier and Type Method Description static 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(org.joda.time.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
Methods in com.atlassian.confluence.api.impl.service.content.typebinding with parameters of type ContentEntityObject Modifier and Type Method Description boolean
AttachmentContentTypeApiSupport. canCreateAttachments(ContentEntityObject ceo)
Method parameters in com.atlassian.confluence.api.impl.service.content.typebinding with type arguments of type ContentEntityObject Modifier and Type Method Description protected PageResponse<Content>
CommentContentTypeApiSupport. getChildrenForThisType(Comment content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)
protected PageResponse<Content>
CommentContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)
-
Uses of ContentEntityObject in com.atlassian.confluence.api.impl.service.permissions
Methods in com.atlassian.confluence.api.impl.service.permissions with parameters of type ContentEntityObject Modifier and Type Method Description protected @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
Subclasses of ContentEntityObject in com.atlassian.confluence.content Modifier and Type Class Description class
CustomContentEntityObject
Generic ContentEntityObject that plugins can use to extend Confluence's content system.Methods in com.atlassian.confluence.content that return ContentEntityObject Modifier and Type Method Description @Nullable ContentEntityObject
CustomContentEntityObject. getContainer()
ContentEntityObject
ContentProperty. getContentEntity()
ContentEntityObject
Content. getEntity()
Gets the ContentEntityObject that backs this piece of content.Methods in com.atlassian.confluence.content with parameters of type ContentEntityObject Modifier and Type Method Description @NonNull PageResponse<Content>
CustomContentManager. getChildrenOfType(ContentEntityObject entity, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super CustomContentEntityObject> predicate)
Deprecated.since 7.0.1.default @NonNull PageResponse<Content>
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
Methods in com.atlassian.confluence.content.apisupport with type parameters of type ContentEntityObject Modifier and Type Method Description <T extends ContentEntityObject>
TContentCreator. 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.since 6.13.0, useContentCreator.saveNewContent(ContentEntityObject, Version, Draft)
<T extends ContentEntityObject>
TContentCreator. saveForCreate(T entity, @Nullable Version version, com.atlassian.fugue.Option<Draft> draft)
Deprecated.since 7.0.1.<T extends ContentEntityObject>
TContentCreator. saveForCreate(T entity, com.atlassian.fugue.Option<Draft> draft)
Deprecated.since 6.13.0, useContentCreator.saveNewContent(ContentEntityObject, Version, Draft)
<T extends ContentEntityObject>
TContentCreator. 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)
Save a new version of the CEO due to an update<T extends ContentEntityObject>
TContentCreator. update(T ceo, T originalCEO, Version version)
Saves CEOMethods in com.atlassian.confluence.content.apisupport with parameters of type ContentEntityObject Modifier and Type Method Description boolean
ContentCreator. setCommonMetadata(Content updatedContent, ContentEntityObject entity)
Sets the common metadata on the entityvoid
ContentCreator. 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)
Sets common properties on the entity in preparation for an update.boolean
ContentCreator. setContentBodyOnEntity(Content updatedContent, ContentEntityObject entity)
Sets the body content in updatedContent on the entityboolean
ContentCreator. setContentStatusOnEntity(Content updatedContent, ContentEntityObject entity)
Sets the content status from updatedContent on the entityboolean
ContentCreator. setLabelsMetadataOnEntity(Content updatedContent, ContentEntityObject entity)
Sets the labels metadata on the entityboolean
ContentCreator. setTitleOnEntity(Content updatedContent, ContentEntityObject entity)
Sets the title in updatedContent on the entityValidationResult
ContentCreator. validateUpdate(ConfluenceUser user, Content updatedContent, ContentEntityObject entity)
Perform common validation checks for updating contentMethod parameters in com.atlassian.confluence.content.apisupport with type arguments of type ContentEntityObject Modifier and Type Method Description PageResponse<Content>
BaseContentTypeApiSupport. getChildren(ContentConvertible content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)
Deprecated.since 7.0.1.PageResponse<Content>
ContentTypeApiSupport. getChildren(ContentConvertible content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)
Deprecated.since 7.0.1.protected PageResponse<Content>
BaseContentTypeApiSupport. getChildrenForThisType(T content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)
Deprecated.since 7.0.1.protected PageResponse<Content>
BaseContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)
Deprecated.since 7.0.1.protected PageResponse<Content>
CustomContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)
Deprecated.since 7.0.1.default PageResponse<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 overriddenValidationResult
ContentCreator. validateCreate(ConfluenceUser confluenceUser, Content newContent, Class<? extends ContentEntityObject> entityClass)
Perform common validation checks for creation of content in a space -
Uses of ContentEntityObject in com.atlassian.confluence.content.event
Methods in com.atlassian.confluence.content.event that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
PluginContentUpdatedEvent. getContent()
-
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml
Methods in com.atlassian.confluence.content.render.xhtml with type parameters of type ContentEntityObject Modifier and Type Method Description <T extends ContentEntityObject>
TDefaultXhtmlContent. convertWikiBodyToStorage(T ceo)
Methods in com.atlassian.confluence.content.render.xhtml that return ContentEntityObject Modifier and Type Method Description @Nullable ContentEntityObject
ConversionContext. getEntity()
Get the current ContentEntityObject for this context.ContentEntityObject
DefaultConversionContext. getEntity()
ContentEntityObject
XhtmlFragmentTimeoutEvent. getEntity()
ContentEntityObject
XhtmlMacroTimeoutEvent. getEntity()
Methods in com.atlassian.confluence.content.render.xhtml with parameters of type ContentEntityObject Modifier and Type Method Description XhtmlCleaner.Result
PolicyConfiguredCleaner. clean(ContentEntityObject uncleanCeo)
XhtmlCleaner.Result
XhtmlCleaner. clean(ContentEntityObject uncleanCeo)
Deprecated.Clean the supplied body content markup and make it safe from security concerns.StorageFormatCleaner.Result
PolicyConfiguredCleaner. cleanEntity(ContentEntityObject uncleanCeo)
StorageFormatCleaner.Result
StorageFormatCleaner. cleanEntity(ContentEntityObject uncleanCeo)
Clean the supplied body content markup and make it safe from security concerns.String
PolicyConfiguredCleaner. cleanQuietly(ContentEntityObject uncleanCeo)
String
StorageFormatCleaner. cleanQuietly(ContentEntityObject uncleanCeo)
Clean the specified body content markup and make it safe from security concerns with out reporting any clean up performedString
XhtmlCleaner. cleanQuietly(ContentEntityObject uncleanCeo)
Deprecated.Clean the specified body content markup and make it safe from security concerns with out reporting any clean up performedString
DefaultLinkRenderer. render(ContentEntityObject content, ConversionContext conversionContext)
String
DefaultLinkRenderer. render(ContentEntityObject content, String linkAlias, ConversionContext conversionContext)
String
DefaultRenderer. render(ContentEntityObject content)
String
DefaultRenderer. render(ContentEntityObject contentEntityObject, ConversionContext conversionContext)
String
DeviceTypeAwareRenderer. render(ContentEntityObject content)
String
DeviceTypeAwareRenderer. render(ContentEntityObject content, ConversionContext conversionContext)
String
LinkRenderer. render(ContentEntityObject content, ConversionContext conversionContext)
Renders link to specified content using the display name of the content as the link body.String
LinkRenderer. render(ContentEntityObject content, String linkAlias, ConversionContext conversionContext)
Renders link to specified content with specified alias.String
Renderer. render(ContentEntityObject content)
String
Renderer. render(ContentEntityObject content, ConversionContext conversionContext)
Constructors in com.atlassian.confluence.content.render.xhtml with parameters of type ContentEntityObject Constructor Description XhtmlFragmentTimeoutEvent(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
Methods in com.atlassian.confluence.content.render.xhtml.compatibility with parameters of type ContentEntityObject Modifier and Type Method Description String
BodyTypeAwareRenderer. render(ContentEntityObject content)
String
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
Methods in com.atlassian.confluence.content.render.xhtml.links with parameters of type ContentEntityObject Modifier and Type Method Description Set<OutgoingLink>
OutgoingLinksExtractor. extract(ContentEntityObject content)
Set<OutgoingLink>
XhtmlOutgoingLinksExtractor. extract(ContentEntityObject content)
-
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.migration
Methods in com.atlassian.confluence.content.render.xhtml.migration that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
ContentDao. getById(long id)
Methods in com.atlassian.confluence.content.render.xhtml.migration that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
ContentWithTasksWorkSource. getBatch()
Returns a batch of work.List<ContentEntityObject>
WikiMarkupContentEntityObjectMigrationWorkSource. getBatch()
Returns a batch of work.List<ContentEntityObject>
XhtmlContentWorkSource. getBatch()
Returns a batch of work.List<ContentEntityObject>
XhtmlSpaceDescriptionsWorkSource. getBatch()
Returns a batch of work.List<ContentEntityObject>
ContentDao. getLatestOrderedWikiContentFromContentId(long startContentId, int maxRows)
List<ContentEntityObject>
DefaultContentDao. getLatestOrderedWikiContentFromContentId(long startContentId, int maxRows)
List<ContentEntityObject>
ContentDao. getLatestOrderedXhtmlContentFromContentIds(long startContentId, long endContentId)
This is for internal use only, Do not rely on it as a public API.List<ContentEntityObject>
DefaultContentDao. getLatestOrderedXhtmlContentFromContentIds(long startContentId, long endContentId)
List<ContentEntityObject>
ContentDao. getOrderedXhtmlContentFromContentId(long startContentId, int maxRows)
This is for internal use only, Do not rely on it as a public API.List<ContentEntityObject>
DefaultContentDao. getOrderedXhtmlContentFromContentId(long startContentId, int maxRows)
Class<ContentEntityObject>
DefaultContentDao. getPersistentClass()
List<ContentEntityObject>
ContentDao. getXhtmlSpaceDescriptionsFromContentId(long startContentId, int maxRows)
This is for internal use only, Do not rely on it as a public API.List<ContentEntityObject>
DefaultContentDao. getXhtmlSpaceDescriptionsFromContentId(long startContentId, int maxRows)
Methods in com.atlassian.confluence.content.render.xhtml.migration with parameters of type ContentEntityObject Modifier and Type Method Description protected void
DefaultContentDao. updateEntityModificationData(ContentEntityObject objectToSave)
Constructor parameters in com.atlassian.confluence.content.render.xhtml.migration with type arguments of type ContentEntityObject Constructor Description DefaultSiteMigrator(int numberOfThreads, org.hibernate.SessionFactory sessionFactory, org.springframework.transaction.PlatformTransactionManager transactionManager, ContentDao 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
Constructors in com.atlassian.confluence.content.render.xhtml.migration.exceptions with parameters of type ContentEntityObject Constructor Description ContentMigrationException(ContentEntityObject ceo, Throwable cause)
-
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.migration.macro
Methods in com.atlassian.confluence.content.render.xhtml.migration.macro with parameters of type ContentEntityObject Modifier and Type Method Description boolean
ContentEntityMigrationBatchTask. apply(ContentEntityObject entity, int index, int batchSize)
-
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.migration.tasks
-
Uses of ContentEntityObject in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Methods in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
AttachmentOwningContentResolver. resolve(AttachmentResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
ContentEntityObject
ContentEntityResourceIdentifierResolver. resolve(ContentEntityResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Methods in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers with parameters of type ContentEntityObject Modifier and Type Method Description ResourceIdentifier
DefaultResourceIdentifierContextUtility. convertToAbsolute(ResourceIdentifier ri, ContentEntityObject ceo)
ResourceIdentifier
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.ResourceIdentifier
DefaultResourceIdentifierContextUtility. convertToRelative(ResourceIdentifier ri, ContentEntityObject ceo)
ResourceIdentifier
ResourceIdentifierContextUtility. convertToRelative(ResourceIdentifier ri, ContentEntityObject ceo)
Make the provided ResourceIdentifier as relative as possible to the provided ContentEntityObject.ResourceIdentifier
DefaultResourceIdentifierContextUtility. createAbsoluteResourceIdentifier(ContentEntityObject ceo)
ResourceIdentifier
ResourceIdentifierContextUtility. createAbsoluteResourceIdentifier(ContentEntityObject ceo)
Create a fully populated (absolute) ResourceIdentifier from the supplied ContentEntityObject.ResourceIdentifier
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
Methods in com.atlassian.confluence.content.render.xhtml.view.excerpt with parameters of type ContentEntityObject Modifier and Type Method Description String
DefaultExcerpter. createExcerpt(ContentEntityObject contentEntity, String outputType)
String
DefaultExcerpter. createExcerpt(ContentEntityObject contentEntity, String outputType, ExcerptConfig config)
String
DefaultExcerpter. createExcerpt(ContentEntityObject contentEntity, String outputType, Set<String> excludeSet, int maxBlocksForExcerpt)
Deprecated.since 5.9.String
Excerpter. createExcerpt(ContentEntityObject contentEntityObject, String outputType)
Creates an excerpt of the contentEntityObject without any tags excluded including an implementation specific number of blockingString
Excerpter. 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)
List<URI>
DefaultExcerpter. extractImageThumbnailUris(ContentEntityObject contentEntity, int maxUris)
List<URI>
Excerpter. extractImageThumbnailUris(ContentEntityObject contentEntity, int maxUris)
Returns the URIs of thumbnails for each of the images attached to the specified content entity.String
DefaultExcerpter. getExcerpt(ContentEntityObject content)
String
Excerpter. getExcerpt(ContentEntityObject ceo)
Returns the already created excerpts of content.String
DefaultExcerpter. getExcerptSummary(ContentEntityObject content)
String
Excerpter. getExcerptSummary(ContentEntityObject ceo)
Returns the summary of an already created excerpt of content.String
DefaultExcerpter. renderContent(ContentEntityObject contentEntity, String outputType)
Deprecated. -
Uses of ContentEntityObject in com.atlassian.confluence.content.service
Methods in com.atlassian.confluence.content.service with parameters of type ContentEntityObject Modifier and Type Method Description ServiceCommand
BlogPostService. newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf)
ServiceCommand
DefaultBlogPostService. newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf)
Deprecated.ServiceCommand
DefaultPageService. newCreatePageCommand(PageProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf)
ServiceCommand
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.ServiceCommand
DefaultPageService. newCreatePageCommandFromExisting(PageProvider pageProvider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider)
ServiceCommand
DefaultPageService. newCreatePageCommandFromExisting(PageProvider provider, ContentPermissionProvider permissionProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider)
ServiceCommand
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.ServiceCommand
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
Constructors in com.atlassian.confluence.content.service.blogpost with parameters of type ContentEntityObject Constructor Description CreateBlogPostCommandImpl(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
Methods in com.atlassian.confluence.content.service.comment that return ContentEntityObject Modifier and Type Method Description protected ContentEntityObject
CreateCommentCommandImpl. getContent()
-
Uses of ContentEntityObject in com.atlassian.confluence.content.service.page
Fields in com.atlassian.confluence.content.service.page declared as ContentEntityObject Modifier and Type Field Description protected ContentEntityObject
CreateAbstractPageCommandImpl. draft
The draft used while creating the content.Methods in com.atlassian.confluence.content.service.page that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
RevertContentToVersionCommand. getVersionToRevert(ContentEntityObject latestVersion, int version)
Methods in com.atlassian.confluence.content.service.page with parameters of type ContentEntityObject Modifier and Type Method Description void
RevertContentToVersionCommand. execute(ContentEntityObject ceo, int version, String revertComment, boolean revertTitle)
ContentEntityObject
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)
Constructors in com.atlassian.confluence.content.service.page with parameters of type ContentEntityObject Constructor Description 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
Classes in com.atlassian.confluence.content.ui with type parameters of type ContentEntityObject Modifier and Type Class Description class
SimpleUiSupport<T extends ContentEntityObject>
Methods in com.atlassian.confluence.content.ui with parameters of type ContentEntityObject Modifier and Type Method Description String
DefaultContentUiSupport. getContentCssClass(ContentEntityObject content)
String
DefaultContentUiSupport. getContentTypeI18NKey(ContentEntityObject content)
String
DefaultContentUiSupport. getIconCssClass(ContentEntityObject content)
String
DefaultContentUiSupport. getIconFilePath(ContentEntityObject content, int size)
String
DefaultContentUiSupport. getIconPath(ContentEntityObject content, int size)
-
Uses of ContentEntityObject in com.atlassian.confluence.core
Classes in com.atlassian.confluence.core with type parameters of type ContentEntityObject Modifier and Type Interface Description interface
Modification<T extends ContentEntityObject>
Clients should implement this interface and modify the passed in reference toContentEntityObject
as they see fit.Subclasses of ContentEntityObject in com.atlassian.confluence.core Modifier and Type Class Description class
SpaceContentEntityObject
A ContentEntityObject that is a first-class member of a Space (i.e.Methods in com.atlassian.confluence.core with type parameters of type ContentEntityObject Modifier and Type Method Description <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.Methods in com.atlassian.confluence.core that return ContentEntityObject Modifier and Type Method Description @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 methodContentEntityObject
BodyContent. getContent()
ContentEntityObject
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 applicableMethods in com.atlassian.confluence.core that return types with arguments of type ContentEntityObject Modifier and Type Method Description static 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.Methods in com.atlassian.confluence.core with parameters of type ContentEntityObject Modifier and Type Method Description void
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)
RestEntity<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.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)
List<ContentPermissionSet>
ContentPermissionManager. getContentPermissionSets(ContentEntityObject ceo, String type)
Get the ContentPermissionSets that affect this ceo, both inherited and directly.List<ContentPermissionSet>
DefaultContentPermissionManager. getContentPermissionSets(ContentEntityObject ceo, String type)
List<ContentPermissionSet>
ContentPermissionManager. getInheritedContentPermissionSets(ContentEntityObject contentEntityObject)
List<ContentPermissionSet>
ContentPermissionManager. getInheritedContentPermissionSets(ContentEntityObject contentEntityObject, boolean includeEditPermissions)
Get the inherited ContentPermissionSets that affect this ceo.List<ContentPermissionSet>
DefaultContentPermissionManager. getInheritedContentPermissionSets(ContentEntityObject contentEntityObject)
List<ContentPermissionSet>
DefaultContentPermissionManager. getInheritedContentPermissionSets(ContentEntityObject contentEntityObject, boolean includeEditPermissions)
List<ContentPermissionSet>
DefaultInheritedContentPermissionManager. getInheritedContentPermissionSets(ContentEntityObject contentEntityObject)
List<ContentPermissionSet>
InheritedContentPermissionManager. getInheritedContentPermissionSets(ContentEntityObject contentEntityObject)
List<ContentPermissionSet>
DefaultInheritedContentPermissionManager. getInheritedContentPermissionSetsIncludeEdit(ContentEntityObject contentEntityObject)
List<ContentPermissionSet>
InheritedContentPermissionManager. getInheritedContentPermissionSetsIncludeEdit(ContentEntityObject contentEntityObject)
List<ContentPermission>
ContentPermissionManager. getInheritedContentUserPermissions(ContentEntityObject contentEntityObject)
List<ContentPermission>
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 applicableString
ConfluenceActionSupport. getNiceContentType(ContentEntityObject entityObject)
Deprecated.since 4.2 - use ContentUiSupport directly@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(com.atlassian.user.User user, String permissionType, ContentEntityObject content)
fetches the inherited and explicit content level permissions for this content object and determines whether the user has access.boolean
DefaultContentPermissionManager. hasContentLevelPermission(com.atlassian.user.User 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.Method parameters in com.atlassian.confluence.core with type arguments of type ContentEntityObject Modifier and Type Method Description Iterable<RestEntity>
ApiRestEntityFactory. buildRestEntityFromContent(Iterable<? extends ContentEntityObject> entities, Expansions expansions)
Build a list of REST API entity objects from ContentEntityObject objects.Constructors in com.atlassian.confluence.core with parameters of type ContentEntityObject Constructor Description BodyContent(ContentEntityObject content, String body, BodyType bodyType)
VersionHistorySummary(ContentEntityObject entity)
-
Uses of ContentEntityObject in com.atlassian.confluence.core.persistence
Classes in com.atlassian.confluence.core.persistence with type parameters of type ContentEntityObject Modifier and Type Interface Description interface
ContentEntityObjectDao<T extends ContentEntityObject>
Methods in com.atlassian.confluence.core.persistence that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
ContentEntityObjectDao. findDraftFor(long contentId)
Retrieves the draft for the given content if exists.ContentEntityObject
ContentEntityObjectDao. getFirstVersionAfter(long originalVersionContentId, int version)
ContentEntityObject
ContentEntityObjectDao. getFirstVersionBefore(long originalVersionContentId, int version)
ContentEntityObject
ContentEntityObjectDao. getVersion(long originalVersionContentId, int version)
Methods in com.atlassian.confluence.core.persistence that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
ContentEntityObjectDao. findAllDraftsFor(long contentId)
Retrieves a list of drafts for the given content if any drafts exist.default List<ContentEntityObject>
ContentEntityObjectDao. findDraftsWithUnpublishedChangesForUser(String creatorName)
Retrieves the drafts for the givenUser
, which contains unpublished changesList<ContentEntityObject>
ContentEntityObjectDao. findHistoricalVersionsAfterVersion(long originalContentId, int version)
List<ContentEntityObject>
ContentEntityObjectDao. findPreviousVersions(long originalContentId)
List<ContentEntityObject>
ContentEntityObjectDao. findUnpublishedContentWithUserContributions(String username)
Retrieves the drafts for the givenUser
.List<ContentEntityObject>
ContentEntityObjectDao. getContentAuthoredByUser(String username)
Iterator<ContentEntityObject>
ContentEntityObjectDao. getRecentlyAddedEntities(String spaceKey, int maxResults)
Iterator<ContentEntityObject>
ContentEntityObjectDao. getRecentlyModifiedEntities(int maxResults)
Iterator<ContentEntityObject>
ContentEntityObjectDao. getRecentlyModifiedEntitiesForUser(String username)
List<ContentEntityObject>
ContentEntityObjectDao. getRecentlyModifiedForChangeDigest(Date fromDate)
Retrieves a list ofContentEntityObject
s that have been newly added or modified since the date specified.List<ContentEntityObject>
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)
Map<Long,ContentEntityObject>
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.Map<Long,ContentEntityObject>
ContentEntityObjectDao. getVersionsLastEditedByUserNew(Collection<Long> contentIds, com.atlassian.sal.api.user.UserKey userKey)
Deprecated.since 6.4.0Method parameters in com.atlassian.confluence.core.persistence with type arguments of type ContentEntityObject Modifier and Type Method Description default PageResponse<ContentEntityObject>
ContentEntityObjectDao. getTrashedContents(String spaceKey, LimitedRequest pageRequest, @Nullable Predicate<? super ContentEntityObject> filter)
-
Uses of ContentEntityObject in com.atlassian.confluence.core.persistence.hibernate
Methods in com.atlassian.confluence.core.persistence.hibernate that return types with arguments of type ContentEntityObject Modifier and Type Method Description Class<ContentEntityObject>
ContentEntityObjectHibernateDao. getPersistentClass()
-
Uses of ContentEntityObject in com.atlassian.confluence.diff
Methods in com.atlassian.confluence.diff with parameters of type ContentEntityObject Modifier and Type Method Description String
DaisyHtmlDiffer. diff(ContentEntityObject leftContent, ContentEntityObject rightContent)
String
Differ. diff(ContentEntityObject left, ContentEntityObject right)
Computes a diff between the specified left and right input.String
WikiConvertingHtmlDiffer. diff(ContentEntityObject left, ContentEntityObject right)
Constructors in com.atlassian.confluence.diff with parameters of type ContentEntityObject Constructor Description InterruptedDiffException(ContentEntityObject leftContent, ContentEntityObject rightContent, int timeout)
-
Uses of ContentEntityObject in com.atlassian.confluence.diff.beans
Constructors in com.atlassian.confluence.diff.beans with parameters of type ContentEntityObject Constructor Description ConfluenceDiffDraftBean(ContentEntityObject original, Draft latest, Differ differ)
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content
Methods in com.atlassian.confluence.event.events.content that return ContentEntityObject Modifier and Type Method Description @NonNull ContentEntityObject
Contented. getContent()
@NonNull ContentEntityObject
ContentHistoricalVersionRemoveEvent. getContent()
ContentEntityObject
ContentRevertedEvent. getEntity()
Constructors in com.atlassian.confluence.event.events.content with parameters of type ContentEntityObject Constructor Description ContentHistoricalVersionRemoveEvent(Object src, ContentEntityObject historicalVersion)
ContentRevertedEvent(ContentEntityObject entity, int version, @Nullable String revertComment)
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content.attachment
Methods in com.atlassian.confluence.event.events.content.attachment that return ContentEntityObject Modifier and Type Method Description @NonNull ContentEntityObject
AttachmentEvent. getAttachedTo()
@NonNull ContentEntityObject
AttachmentEvent. getContent()
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content.blogpost
Methods in com.atlassian.confluence.event.events.content.blogpost that return ContentEntityObject Modifier and Type Method Description @NonNull ContentEntityObject
BlogPostEvent. getContent()
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content.comment
Methods in com.atlassian.confluence.event.events.content.comment that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
CommentEvent. getContent()
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content.page
Methods in com.atlassian.confluence.event.events.content.page that return ContentEntityObject Modifier and Type Method Description @NonNull ContentEntityObject
PageEvent. getContent()
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.content.user
Methods in com.atlassian.confluence.event.events.content.user that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
PersonalInformationEvent. getContent()
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.internal.security
Methods in com.atlassian.confluence.event.events.internal.security that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
ContentPermissionAddedEvent. getContent()
ContentEntityObject
ContentPermissionRemovedEvent. getContent()
Constructors in com.atlassian.confluence.event.events.internal.security with parameters of type ContentEntityObject Constructor Description ContentPermissionAddedEvent(ContentEntityObject content, ContentPermission permission)
ContentPermissionRemovedEvent(ContentEntityObject content, ContentPermission permission)
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.like
Methods in com.atlassian.confluence.event.events.like that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
AbstractLikeEvent. getContent()
Constructors in com.atlassian.confluence.event.events.like with parameters of type ContentEntityObject Constructor Description AbstractLikeEvent(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
Methods in com.atlassian.confluence.event.events.permission that return ContentEntityObject Modifier and Type Method Description @NonNull ContentEntityObject
ContentTreePermissionReindexEvent. getContent()
Constructors in com.atlassian.confluence.event.events.permission with parameters of type ContentEntityObject Constructor Description ContentTreePermissionReindexEvent(Object src, ContentEntityObject content)
-
Uses of ContentEntityObject in com.atlassian.confluence.event.events.security
Methods in com.atlassian.confluence.event.events.security that return ContentEntityObject Modifier and Type Method Description @NonNull ContentEntityObject
ContentPermissionEvent. getContent()
Constructors in com.atlassian.confluence.event.events.security with parameters of type ContentEntityObject Constructor Description ContentPermissionEvent(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
Methods in com.atlassian.confluence.impl.audit.listener with parameters of type ContentEntityObject Modifier and Type Method Description protected Optional<String>
AbstractContentAuditListener. getSpaceName(ContentEntityObject ceo)
-
Uses of ContentEntityObject in com.atlassian.confluence.impl.content
Methods in com.atlassian.confluence.impl.content with type parameters of type ContentEntityObject Modifier and Type Method Description <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)
Methods in com.atlassian.confluence.impl.content that return ContentEntityObject Modifier and Type Method Description @Nullable ContentEntityObject
DefaultContentEntityManager. getById(long id)
@Nullable ContentEntityObject
DefaultContentEntityManager. getById(ContentId id)
@Nullable ContentEntityObject
DefaultContentEntityManager. getById(ContentId id, int version)
@Nullable ContentEntityObject
DefaultContentEntityManager. getNextVersion(ContentEntityObject ceo)
@Nullable ContentEntityObject
DefaultContentEntityManager. getOtherVersion(ContentEntityObject ceo, int version)
@Nullable ContentEntityObject
DefaultContentEntityManager. getPreviousVersion(ContentEntityObject ceo)
Methods in com.atlassian.confluence.impl.content that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
DefaultContentEntityManager. findAllDraftsWithUnpublishedChangesForUser(String creatorName)
List<ContentEntityObject>
DefaultContentEntityManager. findUnpublishedContentWithUserContributions(String username)
PageResponse<ContentEntityObject>
DefaultContentEntityManager. getByIds(List<ContentId> contentIds, LimitedRequest limitedRequest, com.google.common.base.Predicate<? super ContentEntityObject>... filters)
Deprecated.since 7.0.1.@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)
Methods in com.atlassian.confluence.impl.content with parameters of type ContentEntityObject Modifier and Type Method Description @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)
static Map<String,Object>
ContentTreePermissionReindexEventBackgroundSender. createParametersForContentEntityObject(ContentEntityObject page)
@NonNull PageResponse<Content>
DefaultCustomContentManager. getChildrenOfType(ContentEntityObject entity, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super CustomContentEntityObject> predicate)
Deprecated.since 7.0.1.@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)
Method parameters in com.atlassian.confluence.impl.content with type arguments of type ContentEntityObject Modifier and Type Method Description protected void
DefaultContentEntityManager. removeContentEntities(Iterable<? extends ContentEntityObject> contentEntityObjects)
void
DefaultContentEntityManager. revertContentEntityBackToVersion(ContentEntityObject entity, int version, @Nullable String revertComment, boolean revertTitle, Function<ContentEntityObject,BodyContent> revertBodyContentFactory)
Constructor parameters in com.atlassian.confluence.impl.content with type arguments of type ContentEntityObject Constructor Description DefaultCommentManager(ContentEntityObjectDao<ContentEntityObject> contentEntityObjectDao, org.hibernate.SessionFactory sessionFactory, WikiToStorageConverter wikiToStorageConverter, com.atlassian.event.api.EventPublisher eventPublisher, CommentDaoInternal commentDao, RelationManager relationManager, CollaborativeEditingHelper collaborativeEditingHelper, AuditingContext auditingContext, RetentionFeatureChecker retentionFeatureChecker)
DefaultContentEntityManager(ContentEntityObjectDao<? extends ContentEntityObject> contentEntityObjectDao, org.hibernate.SessionFactory sessionFactory, WikiToStorageConverter wikiToStorageConverter, com.atlassian.event.api.EventPublisher eventPublisher, RelationManager relationManager, CollaborativeEditingHelper collaborativeEditingHelper, AuditingContext auditingContext, RetentionFeatureChecker retentionFeatureChecker)
DefaultPersonalInformationManager(ContentEntityObjectDao<ContentEntityObject> contentEntityObjectDao, org.hibernate.SessionFactory sessionFactory, WikiToStorageConverter wikiToStorageConverter, com.atlassian.event.api.EventPublisher eventPublisher, PersonalInformationDao personalInformationDao, RelationManager relationManager, CollaborativeEditingHelper collaborativeEditingHelper, AuditingContext auditingContext, RetentionFeatureChecker retentionFeatureChecker)
DefaultSpaceDescriptionManager(ContentEntityObjectDao<ContentEntityObject> contentEntityObjectDao, org.hibernate.SessionFactory sessionFactory, WikiToStorageConverter wikiToStorageConverter, com.atlassian.event.api.EventPublisher eventPublisher, RelationManager relationManager, CollaborativeEditingHelper collaborativeEditingHelper, AuditingContext auditingContext, RetentionFeatureChecker retentionFeatureChecker)
-
Uses of ContentEntityObject in com.atlassian.confluence.impl.content.render.prefetch.event
Methods in com.atlassian.confluence.impl.content.render.prefetch.event with parameters of type ContentEntityObject Modifier and Type Method Description static AttachmentPrefetchEvent.Builder
AttachmentPrefetchEvent. builder(@Nullable ContentEntityObject renderedContentEntity)
static UserPrefetchEvent.Builder
UserPrefetchEvent. builder(@Nullable ContentEntityObject renderedContentEntity)
-
Uses of ContentEntityObject in com.atlassian.confluence.impl.content.render.xhtml
Methods in com.atlassian.confluence.impl.content.render.xhtml with type parameters of type ContentEntityObject Modifier and Type Method Description <T extends ContentEntityObject>
TWikiToStorageConverterImpl. convertWikiBodyToStorage(T ceo)
-
Uses of ContentEntityObject in com.atlassian.confluence.impl.labels
Methods in com.atlassian.confluence.impl.labels that return types with arguments of type ContentEntityObject Modifier and Type Method Description PartialList<ContentEntityObject>
CachingLabelManager. getAllContentForAllLabels(int offset, int maxResults, Label... labels)
PartialList<ContentEntityObject>
CachingLabelManager. getAllContentForLabel(int offset, int maxResults, Label label)
PartialList<ContentEntityObject>
CachingLabelManager. getContentForAllLabels(int offset, int maxResults, Label... labels)
PartialList<ContentEntityObject>
CachingLabelManager. getContentForLabel(int offset, int maxResults, Label label)
PartialList<ContentEntityObject>
CachingLabelManager. getContentInSpaceForAllLabels(int offset, int maxResults, String spaceKey, Label... labels)
PartialList<ContentEntityObject>
CachingLabelManager. getContentInSpaceForLabel(int offset, int maxResults, String spaceKey, Label label)
PartialList<ContentEntityObject>
CachingLabelManager. getContentInSpacesForAllLabels(int offset, int maxResults, Set<String> spaceKeys, Label... labels)
-
Uses of ContentEntityObject in com.atlassian.confluence.impl.mail.notification.persistence
Methods in com.atlassian.confluence.impl.mail.notification.persistence with parameters of type ContentEntityObject Modifier and Type Method Description boolean
CachingNotificationDao. isWatchingContent(@NonNull ConfluenceUser user, @NonNull ContentEntityObject content)
-
Uses of ContentEntityObject in com.atlassian.confluence.impl.notifications
Methods in com.atlassian.confluence.impl.notifications that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
ContentEntityAutoWatcher.AutowatchIfRequiredEvent. getContentEntity()
Methods in com.atlassian.confluence.impl.notifications with parameters of type ContentEntityObject Modifier and Type Method Description void
ContentEntityAutoWatcher. autowatchIfRequired(ContentEntityObject ceo, SaveContext saveContext)
Constructors in com.atlassian.confluence.impl.notifications with parameters of type ContentEntityObject Constructor Description AutowatchIfRequiredEvent(ContentEntityObject ceo, SaveContext saveContext)
-
Uses of ContentEntityObject in com.atlassian.confluence.impl.pages.attachments
Methods in com.atlassian.confluence.impl.pages.attachments with parameters of type ContentEntityObject Modifier and Type Method Description void
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)
List<Attachment>
ReadThroughCachingAttachmentManager. getAllVersionsOfAttachments(ContentEntityObject content)
Attachment
ReadThroughCachingAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName)
Attachment
ReadThroughCachingAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName, int version)
String
ReadThroughCachingAttachmentManager. getAttachmentDownloadPath(ContentEntityObject content, String attachmentFileName)
PageResponse<Attachment>
ReadThroughCachingAttachmentManager. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.since 7.0.1.Attachment
ReadThroughCachingAttachmentDao. getLatestAttachment(ContentEntityObject content, String fileName)
List<Attachment>
ReadThroughCachingAttachmentManager. getLatestVersionsOfAttachments(ContentEntityObject content)
List<Attachment>
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.AttachmentDownloadPathCacheKey
ReadThroughAttachmentDownloadPathCache. toKey(ContentEntityObject content, String attachmentFileName)
Method parameters in com.atlassian.confluence.impl.pages.attachments with type arguments of type ContentEntityObject Modifier and Type Method Description List<Attachment>
ReadThroughCachingAttachmentManager. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)
List<Attachment>
ReadThroughCachingAttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)
-
Uses of ContentEntityObject in com.atlassian.confluence.impl.pages.attachments.filesystem
Methods in com.atlassian.confluence.impl.pages.attachments.filesystem with parameters of type ContentEntityObject Modifier and Type Method Description void
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
Methods in com.atlassian.confluence.impl.pages.attachments.filesystem.model with parameters of type ContentEntityObject Modifier and Type Method Description static AttachmentRef.Container
Refs. ref(ContentEntityObject attachmentContainer)
-
Uses of ContentEntityObject in com.atlassian.confluence.impl.propertyset
Methods in com.atlassian.confluence.impl.propertyset with parameters of type ContentEntityObject Modifier and Type Method Description @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
Methods in com.atlassian.confluence.impl.search.actions with parameters of type ContentEntityObject Modifier and Type Method Description List
SearchSiteAction. getContentLabels(ContentEntityObject content, int amount)
Deprecated. -
Uses of ContentEntityObject in com.atlassian.confluence.impl.search.v2
Methods in com.atlassian.confluence.impl.search.v2 with parameters of type ContentEntityObject Modifier and Type Method Description List<ContentPermissionSet>
DefaultContentPermissionCalculator. calculate(ContentEntityObject contentEntityObject)
-
Uses of ContentEntityObject in com.atlassian.confluence.impl.search.v2.extractor
Methods in com.atlassian.confluence.impl.search.v2.extractor that return ContentEntityObject Modifier and Type Method Description static ContentEntityObject
ContentPermissionExtractorHelper. getContainerForPermissions(Searchable searchable)
For the givenSearchable
entity, determine the container of that entity which would have content permissions applied to it.Methods in com.atlassian.confluence.impl.search.v2.extractor with parameters of type ContentEntityObject Modifier and Type Method Description static Collection<ContentPermissionSet>
IndexablePermissionSetFilter. filterPermissionSets(ContentEntityObject contentEntity, ContentPermissionSet directViewPermissions, ContentPermissionSet directSharedPermissions, Collection<ContentPermissionSet> inheritedViewPermissions)
static Collection<ContentPermissionSet>
IndexablePermissionSetFilter. filterPermissionSets(ContentEntityObject contentEntity, Collection<ContentPermissionSet> directPermissions, Collection<ContentPermissionSet> inheritedPermissions)
Constructor parameters in com.atlassian.confluence.impl.search.v2.extractor with type arguments of type ContentEntityObject Constructor Description ContentModifiersBulkExtractor(ContentEntityObjectDao<ContentEntityObject> contentEntityObjectDao)
-
Uses of ContentEntityObject in com.atlassian.confluence.impl.security
Methods in com.atlassian.confluence.impl.security with parameters of type ContentEntityObject Modifier and Type Method Description static NeverPermittedContentPermissionSet
NeverPermittedContentPermissionSet. buildFrom(String type, ContentEntityObject owningContent)
List<ContentPermissionSet>
CachingInheritedContentPermissionManager. getInheritedContentPermissionSets(ContentEntityObject contentEntityObject)
List<ContentPermissionSet>
CachingInheritedContentPermissionManager. getInheritedContentPermissionSetsIncludeEdit(ContentEntityObject contentEntityObject)
-
Uses of ContentEntityObject in com.atlassian.confluence.importexport.impl
Methods in com.atlassian.confluence.importexport.impl with parameters of type ContentEntityObject Modifier and Type Method Description static 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).Method parameters in com.atlassian.confluence.importexport.impl with type arguments of type ContentEntityObject Modifier and Type Method Description Set<com.atlassian.sal.api.user.UserKey>
ContentUserKeyExtractor. extractUserKeysFromContentEntities(Iterable<? extends ContentEntityObject> contentEntities, boolean includeComments)
-
Uses of ContentEntityObject in com.atlassian.confluence.internal
Methods in com.atlassian.confluence.internal with type parameters of type ContentEntityObject Modifier and Type Method Description <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.Methods in com.atlassian.confluence.internal that return ContentEntityObject Modifier and Type Method Description @Nullable ContentEntityObject
ContentEntityManagerInternal. getById(ContentId id)
@Nullable ContentEntityObject
ContentEntityManagerInternal. getById(ContentId id, int version)
Methods in com.atlassian.confluence.internal that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
ContentDraftManagerInternal. findAllDraftsWithUnpublishedChangesForUser(String creatorName)
Retrieves the drafts for the givenUser
List<ContentEntityObject>
ContentDraftManagerInternal. findUnpublishedContentWithUserContributions(String username)
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. getByIds(List<ContentId> contentIds, LimitedRequest limitedRequest, com.google.common.base.Predicate<? super ContentEntityObject>... filter)
Deprecated.since 7.0.1.default @NonNull PageResponse<ContentEntityObject>
ContentEntityManagerInternal. getByIdsAndFilters(List<ContentId> contentIds, LimitedRequest limitedRequest, Predicate<? super ContentEntityObject>... filter)
-
Uses of ContentEntityObject in com.atlassian.confluence.internal.content
Methods in com.atlassian.confluence.internal.content with parameters of type ContentEntityObject Modifier and Type Method Description static 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
Methods in com.atlassian.confluence.internal.content.collab with parameters of type ContentEntityObject Modifier and Type Method Description void
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. -
Uses of ContentEntityObject in com.atlassian.confluence.internal.notification.persistence
Methods in com.atlassian.confluence.internal.notification.persistence with parameters of type ContentEntityObject Modifier and Type Method Description Notification
DelegatingNotificationDaoInternal. findNotificationByUserAndContent(com.atlassian.user.User user, ContentEntityObject content)
List<Notification>
DelegatingNotificationDaoInternal. findNotificationsByContent(ContentEntityObject content)
boolean
DelegatingNotificationDaoInternal. isWatchingContent(@NonNull ConfluenceUser user, @NonNull ContentEntityObject content)
Method parameters in com.atlassian.confluence.internal.notification.persistence with type arguments of type ContentEntityObject Modifier and Type Method Description List<Notification>
DelegatingNotificationDaoInternal. findNotificationsByContents(List<ContentEntityObject> contents)
-
Uses of ContentEntityObject in com.atlassian.confluence.internal.pages
Methods in com.atlassian.confluence.internal.pages with parameters of type ContentEntityObject Modifier and Type Method Description Optional<Instant>
TrashManagerInternal. findTrashDate(ContentEntityObject ceo)
Trash date is only available since Confluence 7.14.PageResponse<Attachment>
AttachmentManagerInternal. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.since 7.0.1.default PageResponse<Attachment>
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.Method parameters in com.atlassian.confluence.internal.pages with type arguments of type ContentEntityObject Modifier and Type Method Description List<Attachment>
AttachmentManagerInternal. 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.internal.pages.persistence
Methods in com.atlassian.confluence.internal.pages.persistence that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
AbstractPageDaoInternal. getStaleSharedDrafts(LimitedRequest limitedRequest)
Get all stale shared drafts in the database.Methods in com.atlassian.confluence.internal.pages.persistence with parameters of type ContentEntityObject Modifier and Type Method Description default PageResponse<Attachment>
AttachmentDaoInternal. getFilteredLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest pageRequest, Predicate<? super Attachment> predicate)
Retrieves a paginated list of the latest version of attachments to the ceo filtered by the predicateMethod parameters in com.atlassian.confluence.internal.pages.persistence with type arguments of type ContentEntityObject Modifier and Type Method Description List<Attachment>
AttachmentDaoInternal. 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
Classes in com.atlassian.confluence.internal.persistence with type parameters of type ContentEntityObject Modifier and Type Interface Description interface
ContentEntityObjectDaoInternal<T extends ContentEntityObject>
A Dao for ContentEntityObjects. -
Uses of ContentEntityObject in com.atlassian.confluence.internal.persistence.hibernate
Classes in com.atlassian.confluence.internal.persistence.hibernate with type parameters of type ContentEntityObject Modifier and Type Class Description class
AbstractContentEntityObjectHibernateDao<T extends ContentEntityObject>
Methods in com.atlassian.confluence.internal.persistence.hibernate that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
AbstractContentEntityObjectHibernateDao. findDraftFor(long contentId)
ContentEntityObject
AbstractContentEntityObjectHibernateDao. getFirstVersionAfter(long originalVersionContentId, int version)
ContentEntityObject
AbstractContentEntityObjectHibernateDao. getFirstVersionBefore(long originalVersionContentId, int version)
ContentEntityObject
AbstractContentEntityObjectHibernateDao. getVersion(long originalVersionContentId, int version)
Methods in com.atlassian.confluence.internal.persistence.hibernate that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. findAllDraftsFor(long contentId)
List<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. findDraftsWithUnpublishedChangesForUser(String creatorName)
List<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. findHistoricalVersionsAfterVersion(long originalContentId, int version)
List<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. findPreviousVersions(long originalContentId)
List<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. findUnpublishedContentWithUserContributions(String username)
List<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. getContentAuthoredByUser(String username)
Iterator<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. getRecentlyAddedEntities(String spaceKey, int maxResults)
Iterator<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. getRecentlyModifiedEntities(int maxResults)
Iterator<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. getRecentlyModifiedEntitiesForUser(String username)
List<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. getRecentlyModifiedForChangeDigest(Date fromDate)
List<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. getTrashedContent(String spaceKey)
List<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. getTrashedContents(String spaceKey, int offset, int limit)
PageResponse<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. getTrashedContents(String spaceKey, LimitedRequest pageRequest, Predicate<? super ContentEntityObject> filter)
Map<Long,ContentEntityObject>
AbstractContentEntityObjectHibernateDao. getVersionsLastEditedByUser(Collection<Long> contentIds, com.atlassian.sal.api.user.UserKey userKey)
Map<Long,ContentEntityObject>
AbstractContentEntityObjectHibernateDao. getVersionsLastEditedByUserNew(Collection<Long> contentIds, com.atlassian.sal.api.user.UserKey userKey)
Deprecated.since 6.4.0Method parameters in com.atlassian.confluence.internal.persistence.hibernate with type arguments of type ContentEntityObject Modifier and Type Method Description PageResponse<ContentEntityObject>
AbstractContentEntityObjectHibernateDao. getTrashedContents(String spaceKey, LimitedRequest pageRequest, Predicate<? super ContentEntityObject> filter)
-
Uses of ContentEntityObject in com.atlassian.confluence.internal.relations
Methods in com.atlassian.confluence.internal.relations with parameters of type ContentEntityObject Modifier and Type Method Description static RelatableEntityTypeEnum
RelatableEntityTypeEnum. getByContentEntityObject(ContentEntityObject object)
-
Uses of ContentEntityObject in com.atlassian.confluence.internal.relations.dao.hibernate
Methods in com.atlassian.confluence.internal.relations.dao.hibernate that return types with arguments of type ContentEntityObject Modifier and Type Method Description protected 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)
Method parameters in com.atlassian.confluence.internal.relations.dao.hibernate with type arguments of type ContentEntityObject Modifier and Type Method Description protected 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
Methods in com.atlassian.confluence.it.api.test.plugin.apiavailable with parameters of type ContentEntityObject Modifier and Type Method Description boolean
DummyAvailableContentEntityAdapter. isAllowedContainer(ContentEntityObject child, ContentEntityObject container)
-
Uses of ContentEntityObject in com.atlassian.confluence.json.jsonator
Methods in com.atlassian.confluence.json.jsonator with parameters of type ContentEntityObject Modifier and Type Method Description Json
ContentMetadataJsonator. convert(ContentEntityObject content)
-
Uses of ContentEntityObject in com.atlassian.confluence.labels
Methods in com.atlassian.confluence.labels that return ContentEntityObject Modifier and Type Method Description protected ContentEntityObject
Labelling. getContent()
Methods in com.atlassian.confluence.labels that return types with arguments of type ContentEntityObject Modifier and Type Method Description PartialList<ContentEntityObject>
DefaultLabelManager. getAllContentForAllLabels(int offset, int maxResults, Label... labels)
PartialList<ContentEntityObject>
LabelManager. getAllContentForAllLabels(int offset, int maxResults, Label... labels)
Retrieve all ContentEntityObjects, current or deleted which are labelled with ALL provided labels.PartialList<ContentEntityObject>
DefaultLabelManager. getAllContentForLabel(int offset, int maxResults, Label label)
PartialList<ContentEntityObject>
LabelManager. getAllContentForLabel(int offset, int maxResults, Label label)
Retrieve all ContentEntityObjects, current or deleted which are labelled with the provided label.PartialList<ContentEntityObject>
DefaultLabelManager. getContentForAllLabels(int offset, int maxResults, Label... labels)
PartialList<ContentEntityObject>
LabelManager. getContentForAllLabels(int offset, int maxResults, Label... labels)
Retrieve current ContentEntityObjects which are labelled with ALL provided labels.PartialList<ContentEntityObject>
DefaultLabelManager. getContentForLabel(int offset, int maxResults, Label label)
PartialList<ContentEntityObject>
LabelManager. getContentForLabel(int offset, int maxResults, Label label)
Retrieve current ContentEntityObjects which are labelled with the provided label.PartialList<ContentEntityObject>
DefaultLabelManager. getContentInSpaceForAllLabels(int offset, int maxResults, String spaceKey, Label... labels)
PartialList<ContentEntityObject>
LabelManager. getContentInSpaceForAllLabels(int offset, int maxResults, String spaceKey, Label... labels)
Retrieve current ContentEntityObjects in the given space which are labelled with ALL provided labels.PartialList<ContentEntityObject>
DefaultLabelManager. getContentInSpaceForLabel(int offset, int maxResults, String spaceKey, Label label)
PartialList<ContentEntityObject>
LabelManager. getContentInSpaceForLabel(int offset, int maxResults, String spaceKey, Label label)
Retrieve current ContentEntityObjects in the given space which are labelled with the provided label.PartialList<ContentEntityObject>
DefaultLabelManager. getContentInSpacesForAllLabels(int offset, int maxResults, Set<String> spaceKeys, Label... labels)
PartialList<ContentEntityObject>
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.Methods in com.atlassian.confluence.labels with parameters of type ContentEntityObject Modifier and Type Method Description protected void
Labelling. setContent(ContentEntityObject ceo)
-
Uses of ContentEntityObject in com.atlassian.confluence.labels.persistence.dao
Methods in com.atlassian.confluence.labels.persistence.dao that return types with arguments of type ContentEntityObject Modifier and Type Method Description PartialList<ContentEntityObject>
LabelDao. findAllContentForAllLabels(int offset, int maxResults, Label... labels)
Retrieve all ContentEntityObjects which are labelled with ALL provided labels.PartialList<ContentEntityObject>
LabelDao. findContentInSpaceForAllLabels(int offset, int maxResults, String spaceKey, Label... labels)
Retrieve current ContentEntityObjects in the space which are labelled with ALL provided labels.PartialList<ContentEntityObject>
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
Methods in com.atlassian.confluence.labels.persistence.dao.hibernate that return types with arguments of type ContentEntityObject Modifier and Type Method Description PartialList<ContentEntityObject>
HibernateLabelDao. findAllContentForAllLabels(int offset, int maxResults, Label... labels)
PartialList<ContentEntityObject>
HibernateLabelDao. findContentInSpaceForAllLabels(int offset, int maxResults, String spaceKey, Label... labels)
PartialList<ContentEntityObject>
HibernateLabelDao. findContentInSpacesForAllLabels(int offset, int maxResults, Set<String> spaceKeys, Label... labels)
-
Uses of ContentEntityObject in com.atlassian.confluence.like
Methods in com.atlassian.confluence.like that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
LikeEntity. getContent()
Methods in com.atlassian.confluence.like with parameters of type ContentEntityObject Modifier and Type Method Description Like
DefaultLikeManager. addLike(ContentEntityObject contentEntity, com.atlassian.user.User user)
LikeEntity
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.Like
LikeManager. addLike(ContentEntityObject contentEntity, com.atlassian.user.User user)
Add a like for the provided user.List<Like>
DefaultLikeManager. getLikes(ContentEntityObject contentEntity)
List<Like>
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)
Method parameters in com.atlassian.confluence.like with type arguments of type ContentEntityObject Modifier and Type Method Description List<LikeEntity>
HibernateLikeEntityDao. getLikeEntities(Collection<? extends ContentEntityObject> contentEntities)
@NonNull List<LikeEntity>
LikeEntityDao. getLikeEntities(Collection<? extends ContentEntityObject> contentEntities)
Map<Long,List<Like>>
DefaultLikeManager. getLikes(Collection<? extends ContentEntityObject> contentEntities)
Map<Long,List<Like>>
LikeManager. getLikes(Collection<? extends ContentEntityObject> contentEntities)
Gets all the likes for the specified content entities (likes are ordered such that recent likes come first).Constructors in com.atlassian.confluence.like with parameters of type ContentEntityObject Constructor Description LikeEntity(ContentEntityObject content, ConfluenceUser user, Date creationDate)
-
Uses of ContentEntityObject in com.atlassian.confluence.links
Methods in com.atlassian.confluence.links that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
AbstractLink. getSourceContent()
The source content of this link (FROM).Methods in com.atlassian.confluence.links that return types with arguments of type ContentEntityObject Modifier and Type Method Description Collection<ContentEntityObject>
DefaultLinkManager. getReferringContent(ContentEntityObject content)
Collection<ContentEntityObject>
DefaultLinkManager. getReferringContent(String spaceKey, List<ContentEntityObject> collection)
Collection<ContentEntityObject>
LinkManager. getReferringContent(ContentEntityObject content)
Collection<ContentEntityObject>
LinkManager. getReferringContent(String spaceKey, List<ContentEntityObject> collection)
Gets collection of referring content with given set of pages within single spaceMethods in com.atlassian.confluence.links with parameters of type ContentEntityObject Modifier and Type Method Description List<OutgoingLink>
DefaultLinkManager. getIncomingLinksToContent(ContentEntityObject content)
List
LinkManager. getIncomingLinksToContent(ContentEntityObject content)
Collection<ContentEntityObject>
DefaultLinkManager. getReferringContent(ContentEntityObject content)
Collection<ContentEntityObject>
LinkManager. getReferringContent(ContentEntityObject content)
void
AbstractLink. setSourceContent(ContentEntityObject sourceContent)
void
DefaultLinkManager. updateOutgoingLinks(ContentEntityObject content)
void
LinkManager. updateOutgoingLinks(ContentEntityObject content)
Method parameters in com.atlassian.confluence.links with type arguments of type ContentEntityObject Modifier and Type Method Description Collection<ContentEntityObject>
DefaultLinkManager. getReferringContent(String spaceKey, List<ContentEntityObject> collection)
Collection<ContentEntityObject>
LinkManager. getReferringContent(String spaceKey, List<ContentEntityObject> collection)
Gets collection of referring content with given set of pages within single spaceConstructors in com.atlassian.confluence.links with parameters of type ContentEntityObject Constructor Description OutgoingLink(ContentEntityObject sourceContent, String destinationSpaceKey, String destinationPageTitle)
Convenience constructor -
Uses of ContentEntityObject in com.atlassian.confluence.links.linktypes
Methods in com.atlassian.confluence.links.linktypes that return ContentEntityObject Modifier and Type Method Description abstract @Nullable ContentEntityObject
AbstractContentEntityLink. getDestinationContent()
@Nullable ContentEntityObject
AbstractPageLink. getDestinationContent()
ContentEntityObject
BlogPostLink. getDestinationContent()
ContentEntityObject
ContentLink. getDestinationContent()
ContentEntityObject
PageLink. getDestinationContent()
ContentEntityObject
SpaceLink. getDestinationContent()
ContentEntityObject
UserProfileLink. getDestinationContent()
Methods in com.atlassian.confluence.links.linktypes with parameters of type ContentEntityObject Modifier and Type Method Description OutgoingLink
AbstractPageLink. toOutgoingLink(ContentEntityObject sourceContent)
OutgoingLink
BlogPostLink. toOutgoingLink(ContentEntityObject sourceContent)
OutgoingLink
IncludePageMacroLink. toOutgoingLink(ContentEntityObject sourceContent)
-
Uses of ContentEntityObject in com.atlassian.confluence.links.persistence.dao
Methods in com.atlassian.confluence.links.persistence.dao that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
LinkDao. getReferringContent(ContentEntityObject content)
List<ContentEntityObject>
LinkDao. getReferringContent(String spaceKey, List<ContentEntityObject> content)
Methods in com.atlassian.confluence.links.persistence.dao with parameters of type ContentEntityObject Modifier and Type Method Description List<OutgoingLink>
LinkDao. getLinksTo(ContentEntityObject content)
List<ContentEntityObject>
LinkDao. getReferringContent(ContentEntityObject content)
Method parameters in com.atlassian.confluence.links.persistence.dao with type arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
LinkDao. getReferringContent(String spaceKey, List<ContentEntityObject> content)
-
Uses of ContentEntityObject in com.atlassian.confluence.links.persistence.dao.hibernate
Methods in com.atlassian.confluence.links.persistence.dao.hibernate that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
HibernateLinkDao. getReferringContent(ContentEntityObject content)
List<ContentEntityObject>
HibernateLinkDao. getReferringContent(String spaceKey, List<ContentEntityObject> contents)
Methods in com.atlassian.confluence.links.persistence.dao.hibernate with parameters of type ContentEntityObject Modifier and Type Method Description List<OutgoingLink>
HibernateLinkDao. getLinksTo(ContentEntityObject theContent)
List<ContentEntityObject>
HibernateLinkDao. getReferringContent(ContentEntityObject content)
Method parameters in com.atlassian.confluence.links.persistence.dao.hibernate with type arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
HibernateLinkDao. getReferringContent(String spaceKey, List<ContentEntityObject> contents)
-
Uses of ContentEntityObject in com.atlassian.confluence.macro
Methods in com.atlassian.confluence.macro that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
MacroExecutionContext. getContent()
Returns theContentEntityObject
associated with this macro. -
Uses of ContentEntityObject in com.atlassian.confluence.macro.count
Methods in com.atlassian.confluence.macro.count with parameters of type ContentEntityObject Modifier and Type Method Description static @NonNull MacroCountEvent
MacroCountEventFactory. newMacroCreateCountEvent(Object src, @Nullable ContentEntityObject entity, ConversionContext context, MacroCount macroCount)
Constructs a macro creation analytics event event.List<MacroCount>
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
Method parameters in com.atlassian.confluence.mail with type arguments of type ContentEntityObject Modifier and Type Method Description ChangeDigestReport
ChangeDigestNotificationBean. 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
Constructor parameters in com.atlassian.confluence.mail.jobs with type arguments of type ContentEntityObject Constructor Description DefaultDailyReportManager(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
Methods in com.atlassian.confluence.mail.notification that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
NotificationEmailHelper. extractTargetContentFromEmailReply(Map<String,List<String>> headers, NotificationEmailHelper.ContentFinder contentFinder)
Deprecated.Retrieves the relevant content object from the given (reply) email headers.ContentEntityObject
NotificationEmailHelper.ContentFinder. findContentById(long contentId)
Finds the ContentEntityObject with the given content idContentEntityObject
Notification. getContent()
Methods in com.atlassian.confluence.mail.notification with parameters of type ContentEntityObject Modifier and Type Method Description @Nullable Notification
DefaultNotificationManager. addContentNotification(com.atlassian.user.User user, ContentEntityObject content)
@Nullable Notification
NotificationManager. addContentNotification(com.atlassian.user.User user, ContentEntityObject content)
ConversionContext
ConversionContextCreator. createConversionContext(ContentEntityObject ceo)
Notification
DefaultNotificationManager. getNotificationByUserAndContent(com.atlassian.user.User user, ContentEntityObject content)
Notification
NotificationManager. getNotificationByUserAndContent(com.atlassian.user.User user, ContentEntityObject content)
List<Notification>
DefaultNotificationManager. getNotificationsByContent(ContentEntityObject content)
List<Notification>
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)
Method parameters in com.atlassian.confluence.mail.notification with type arguments of type ContentEntityObject Modifier and Type Method Description List<Notification>
DefaultNotificationManager. getNotificationsByContents(List<ContentEntityObject> contents)
List<Notification>
NotificationManager. getNotificationsByContents(List<ContentEntityObject> contents)
-
Uses of ContentEntityObject in com.atlassian.confluence.mail.notification.listeners
Methods in com.atlassian.confluence.mail.notification.listeners that return ContentEntityObject Modifier and Type Method Description protected 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 ContentEntityObject
BlogPostNotificationsListener. getContentEntityObject(Map contextMap)
Deprecated.protected ContentEntityObject
CommentNotificationsListener. getContentEntityObject(Map contextMap)
Deprecated. -
Uses of ContentEntityObject in com.atlassian.confluence.mail.notification.persistence
Methods in com.atlassian.confluence.mail.notification.persistence with parameters of type ContentEntityObject Modifier and Type Method Description Notification
NotificationDao. findNotificationByUserAndContent(com.atlassian.user.User user, ContentEntityObject content)
Find any user notification linked to the specified content.List<Notification>
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.Method parameters in com.atlassian.confluence.mail.notification.persistence with type arguments of type ContentEntityObject Modifier and Type Method Description List<Notification>
NotificationDao. findNotificationsByContents(List<ContentEntityObject> contents)
-
Uses of ContentEntityObject in com.atlassian.confluence.mail.notification.persistence.dao.hibernate
Methods in com.atlassian.confluence.mail.notification.persistence.dao.hibernate with parameters of type ContentEntityObject Modifier and Type Method Description Notification
HibernateNotificationDao. findNotificationByUserAndContent(com.atlassian.user.User user, ContentEntityObject content)
List<Notification>
HibernateNotificationDao. findNotificationsByContent(ContentEntityObject content)
boolean
HibernateNotificationDao. isWatchingContent(@NonNull ConfluenceUser user, @NonNull ContentEntityObject content)
Method parameters in com.atlassian.confluence.mail.notification.persistence.dao.hibernate with type arguments of type ContentEntityObject Modifier and Type Method Description List<Notification>
HibernateNotificationDao. findNotificationsByContents(List<ContentEntityObject> contents)
-
Uses of ContentEntityObject in com.atlassian.confluence.mail.reports
Methods in com.atlassian.confluence.mail.reports that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
CommentReport. getCommentOwner()
ContentEntityObject
AbstractContentEntityReport. getContentEntityObject()
Constructors in com.atlassian.confluence.mail.reports with parameters of type ContentEntityObject Constructor Description AbstractContentEntityReport(ContentEntityObject content, ChangeDigestReport parentReport)
-
Uses of ContentEntityObject in com.atlassian.confluence.pages
Classes in com.atlassian.confluence.pages with type parameters of type ContentEntityObject Modifier and Type Interface Description interface
Contained<T extends ContentEntityObject>
represents content that has an ownerSubclasses of ContentEntityObject in com.atlassian.confluence.pages Modifier and Type Class Description class
AbstractPage
Parent of the concrete Page and BlogPost classesclass
Attachment
class
BlogPost
class
Comment
class
Draft
This is the old way of dealing with drafts in Confluence and will be deprecated soon.class
Page
Represents a Page within Confluence.Methods in com.atlassian.confluence.pages that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
DefaultDraftsTransitionHelper. createDraft(String contentType, String spaceKey)
ContentEntityObject
DefaultDraftsTransitionHelper. createDraft(String contentType, String spaceKey, long parentPageId)
ContentEntityObject
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.ContentEntityObject
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()
ContentEntityObject
Comment. getContentEntityObject()
ContentEntityObject
DefaultDraftsTransitionHelper. getDraft(long draftId)
ContentEntityObject
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.ContentEntityObject
DefaultDraftsTransitionHelper. getDraftForPage(AbstractPage abstractPage)
ContentEntityObject
DraftsTransitionHelper. getDraftForPage(AbstractPage abstractPage)
This method should retrieve a draft from a given AbstractPage respecting the Shared Drafts feature state.Methods in com.atlassian.confluence.pages that return types with arguments of type ContentEntityObject Modifier and Type Method Description @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.List<ContentEntityObject>
DefaultTrashManager. getTrashContents(Space space, int offset, int count)
List<ContentEntityObject>
TrashManager. getTrashContents(Space space, int offset, int count)
Retrieve a subset of the contents of the trash for a particular space.Methods in com.atlassian.confluence.pages with parameters of type ContentEntityObject Modifier and Type Method Description @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
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)
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
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
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)
Optional<Instant>
DefaultTrashManager. findTrashDate(ContentEntityObject ceo)
List<Attachment>
AttachmentManager. getAllVersionsOfAttachments(ContentEntityObject content)
Returns a list of all attachments, old and new.List<Attachment>
DefaultAttachmentManager. getAllVersionsOfAttachments(ContentEntityObject content)
List<Attachment>
DelegatorAttachmentManager. getAllVersionsOfAttachments(ContentEntityObject content)
Attachment
AttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName)
Deprecated.since 7.5.0, useAttachmentService
instead in plugins, or useAttachmentManagerInternal
in core where applicableAttachment
AttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName, int version)
Deprecated.since 7.5.0, useAttachmentService
instead in plugins, or useAttachmentManagerInternal
in core where applicableAttachment
DefaultAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName)
Get the most recent version of an attachment with a given name for a particular page.Attachment
DefaultAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName, int version)
Retrieve a named attachment from a page.Attachment
DelegatorAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName)
Attachment
DelegatorAttachmentManager. getAttachment(ContentEntityObject content, String attachmentFileName, int version)
String
AttachmentManager. getAttachmentDownloadPath(ContentEntityObject content, String attachmentFileName)
Get the download path for the most recent version of an attachment with the given name for some contentString
DefaultAttachmentManager. getAttachmentDownloadPath(ContentEntityObject content, String attachmentFileName)
String
DelegatorAttachmentManager. getAttachmentDownloadPath(ContentEntityObject content, String attachmentFileName)
PageResponse<Attachment>
DefaultAttachmentManager. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.since 7.0.1.PageResponse<Attachment>
DelegatorAttachmentManager. getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.since 7.0.1.static Long
DraftsTransitionHelper. getContentId(ContentEntityObject draft)
static String
DraftsTransitionHelper. getContentType(ContentEntityObject draft)
List<Attachment>
AttachmentManager. getLatestVersionsOfAttachments(ContentEntityObject content)
Returns a list of only latest versions of attachments.List<Attachment>
DefaultAttachmentManager. getLatestVersionsOfAttachments(ContentEntityObject content)
List<Attachment>
DelegatorAttachmentManager. getLatestVersionsOfAttachments(ContentEntityObject content)
List<Attachment>
AttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)
Returns a list of only latest versions of attachments (including trashed).List<Attachment>
DefaultAttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)
List<Attachment>
DelegatorAttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)
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
PageManager. refreshPage(ContentEntityObject page)
Refresh the page object in the hibernate session.void
Attachment. setContainer(ContentEntityObject content)
void
Comment. setContainer(ContentEntityObject container)
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.Method parameters in com.atlassian.confluence.pages with type arguments of type ContentEntityObject Modifier and Type Method Description List<Attachment>
AttachmentManager. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)
Returns a list of all the latest versions of attachments for all the CEOs providedList<Attachment>
DefaultAttachmentManager. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)
List<Attachment>
DelegatorAttachmentManager. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)
List<Attachment>
DefaultAttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)
List<Attachment>
DelegatorAttachmentManager. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)
Constructor parameters in com.atlassian.confluence.pages with type arguments of type ContentEntityObject Constructor Description DefaultTrashManager(ContentEntityObjectDaoInternal<ContentEntityObject> contentEntityObjectDao, ContentEntityManager contentEntityManager, CustomContentManager customContentManager, org.springframework.transaction.PlatformTransactionManager transactionManager, PageManager pageManager, com.atlassian.event.api.EventPublisher eventPublisher, AttachmentManager attachmentManager, com.atlassian.bandana.BandanaManager bandanaManager)
Deprecated.since 8.0DefaultTrashManager(ContentEntityObjectDaoInternal<ContentEntityObject> contentEntityObjectDao, ContentEntityManager contentEntityManager, CustomContentManager customContentManager, org.springframework.transaction.PlatformTransactionManager transactionManager, PageManager pageManager, com.atlassian.event.api.EventPublisher eventPublisher, AttachmentManager attachmentManager, com.atlassian.bandana.BandanaManager bandanaManager, PaginationService paginationService, ContentFactory contentFactory)
-
Uses of ContentEntityObject in com.atlassian.confluence.pages.actions
Fields in com.atlassian.confluence.pages.actions declared as ContentEntityObject Modifier and Type Field Description protected ContentEntityObject
PurgeTrashItemAction. contentEntityObject
Fields in com.atlassian.confluence.pages.actions with type parameters of type ContentEntityObject Modifier and Type Field Description protected Collection<ContentEntityObject>
MoveAttachmentAction. suggestedContentToBeRefactored
Methods in com.atlassian.confluence.pages.actions that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
ListUndefinedPagesAction.UndefinedPage. getReferencedFrom()
Collection<ContentEntityObject>
MoveAttachmentAction. getSuggestedContentToBeRefactored()
Methods in com.atlassian.confluence.pages.actions with parameters of type ContentEntityObject Modifier and Type Method Description protected 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
Fields in com.atlassian.confluence.pages.actions.beans declared as ContentEntityObject Modifier and Type Field Description protected ContentEntityObject
FileStorer. content
Methods in com.atlassian.confluence.pages.actions.beans with parameters of type ContentEntityObject Modifier and Type Method Description List<Attachment>
AttachmentStorer. attachFiles(ContentEntityObject contentEntityObject)
Constructors in com.atlassian.confluence.pages.actions.beans with parameters of type ContentEntityObject Constructor Description FileStorer(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
Methods in com.atlassian.confluence.pages.attachments with parameters of type ContentEntityObject Modifier and Type Method Description int
AbstractDelegatingAttachmentDao. countLatestVersionsOfAttachments(ContentEntityObject content)
int
AbstractDelegatingAttachmentDao. countLatestVersionsOfAttachmentsOnPageSince(ContentEntityObject content, Date since)
int
AbstractDelegatingAttachmentDao. countLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)
Attachment
AbstractDelegatingAttachmentDao. getAttachment(ContentEntityObject content, String fileName, int version)
Attachment
AbstractDelegatingAttachmentDao. getLatestAttachment(ContentEntityObject content, String fileName)
List<Attachment>
AbstractDelegatingAttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo)
PageResponse<Attachment>
AbstractDelegatingAttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> predicate)
Deprecated.List<Attachment>
AbstractDelegatingAttachmentDao. getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject ceo)
void
AbstractDelegatingAttachmentDao. moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)
Method parameters in com.atlassian.confluence.pages.attachments with type arguments of type ContentEntityObject Modifier and Type Method Description List<Attachment>
AbstractDelegatingAttachmentDao. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)
List<Attachment>
AbstractDelegatingAttachmentDao. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)
-
Uses of ContentEntityObject in com.atlassian.confluence.pages.persistence.dao
Methods in com.atlassian.confluence.pages.persistence.dao that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
DelegatingPageDao. findDraftFor(long contentId)
ContentEntityObject
DelegatingPageDao. getFirstVersionAfter(long originalVersionContentId, int version)
ContentEntityObject
DelegatingPageDao. getFirstVersionBefore(long originalVersionContentId, int version)
ContentEntityObject
DelegatingPageDao. getVersion(long originalVersionContentId, int version)
Methods in com.atlassian.confluence.pages.persistence.dao that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
DelegatingPageDao. findAllDraftsFor(long contentId)
List<ContentEntityObject>
DelegatingPageDao. findDraftsWithUnpublishedChangesForUser(String creatorName)
List<ContentEntityObject>
DelegatingPageDao. findHistoricalVersionsAfterVersion(long originalContentId, int version)
List<ContentEntityObject>
DelegatingPageDao. findPreviousVersions(long originalContentId)
List<ContentEntityObject>
DelegatingPageDao. findUnpublishedContentWithUserContributions(String username)
List<ContentEntityObject>
DelegatingPageDao. getContentAuthoredByUser(String username)
List<ContentEntityObject>
AbstractPageDao. getOrderedXhtmlContentFromContentId(long startContentId, long endContentId, int maxRows)
Gets the latest versions of AbstractPages between the given IDs limited by the specified number of rows.List<ContentEntityObject>
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.Iterator<ContentEntityObject>
DelegatingPageDao. getRecentlyAddedEntities(String spaceKey, int maxResults)
Iterator<ContentEntityObject>
DelegatingPageDao. getRecentlyModifiedEntities(int maxResults)
Iterator<ContentEntityObject>
DelegatingPageDao. getRecentlyModifiedEntitiesForUser(String username)
List<ContentEntityObject>
DelegatingPageDao. getRecentlyModifiedForChangeDigest(Date fromDate)
List<ContentEntityObject>
AbstractPageDao. getStaleSharedDrafts()
Get all stale shared drafts in the database.List<ContentEntityObject>
DelegatingPageDao. getTrashedContent(String spaceKey)
List<ContentEntityObject>
DelegatingPageDao. getTrashedContents(String spaceKey, int offset, int limit)
Map<Long,ContentEntityObject>
DelegatingPageDao. getVersionsLastEditedByUser(Collection<Long> contentIds, com.atlassian.sal.api.user.UserKey userKey)
Map<Long,ContentEntityObject>
DelegatingPageDao. getVersionsLastEditedByUserNew(Collection<Long> contentIds, com.atlassian.sal.api.user.UserKey userKey)
Methods in com.atlassian.confluence.pages.persistence.dao with parameters of type ContentEntityObject Modifier and Type Method Description int
AttachmentDao. countLatestVersionsOfAttachments(ContentEntityObject content)
int
AttachmentDao. countLatestVersionsOfAttachmentsOnPageSince(ContentEntityObject content, Date since)
int
AttachmentDao. countLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)
Attachment
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.Attachment
AttachmentDao. getLatestAttachment(ContentEntityObject content, String fileName)
Return the latest version of the attachment on the specified content with the given filename.List<Attachment>
AttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo)
Retrieves the latest versions of all attachments to ceoPageResponse<Attachment>
AttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> predicate)
Deprecated.since 7.0.1.List<Attachment>
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.Method parameters in com.atlassian.confluence.pages.persistence.dao with type arguments of type ContentEntityObject Modifier and Type Method Description List<Attachment>
AttachmentDao. 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
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
HibernateAbstractPageDao. getOrderedXhtmlContentFromContentId(long startContentId, long endContentId, int maxRows)
List<ContentEntityObject>
HibernateAbstractPageDao. getPreviousVersionsOfPageWithTaskId(long pageId, long taskId, int maxRows)
List<ContentEntityObject>
HibernateAbstractPageDao. getStaleSharedDrafts()
List<ContentEntityObject>
HibernateAbstractPageDao. getStaleSharedDrafts(LimitedRequest limitedRequest)
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type ContentEntityObject Modifier and Type Method Description int
AbstractHibernateAttachmentDao. countLatestVersionsOfAttachments(ContentEntityObject content)
int
AbstractHibernateAttachmentDao. countLatestVersionsOfAttachmentsOnPageSince(ContentEntityObject content, Date since)
int
AbstractHibernateAttachmentDao. countLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)
Attachment
AbstractHibernateAttachmentDao. getAttachment(ContentEntityObject content, String fileName, int version)
Attachment
AbstractHibernateAttachmentDao. getLatestAttachment(ContentEntityObject content, String fileName)
List<Attachment>
AbstractHibernateAttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject content)
PageResponse<Attachment>
AbstractHibernateAttachmentDao. getLatestVersionsOfAttachments(ContentEntityObject ceo, LimitedRequest request, com.google.common.base.Predicate<? super Attachment> predicate)
Deprecated.since 7.0.1.List<Attachment>
AbstractHibernateAttachmentDao. getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)
void
AbstractHibernateAttachmentDao. moveAttachment(Attachment latestVersion, Attachment oldAttachment, ContentEntityObject newContent)
void
HibernateAttachmentDataDao. moveAttachment(Attachment attachment, Attachment oldAttachment, ContentEntityObject newContent)
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)
void
HibernateAttachmentDataDao. removeDataForAttachmentVersion(Attachment attachment, ContentEntityObject originalContent)
void
HibernateAttachmentDataDao. removeDataForAttachmentVersion(Attachment attachmentVersion, ContentEntityObject originalContent, AttachmentDataStreamType dataStreamType)
Method parameters in com.atlassian.confluence.pages.persistence.dao.hibernate with type arguments of type ContentEntityObject Modifier and Type Method Description List<Attachment>
AbstractHibernateAttachmentDao. getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)
List<Attachment>
AbstractHibernateAttachmentDao. getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)
-
Uses of ContentEntityObject in com.atlassian.confluence.pages.templates
Methods in com.atlassian.confluence.pages.templates with parameters of type ContentEntityObject Modifier and Type Method Description ContentBlueprintInstance
ContentBlueprintInstanceFactory. convertToInstance(ContentEntityObject ceo, ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
-
Uses of ContentEntityObject in com.atlassian.confluence.pages.wysiwyg
Methods in com.atlassian.confluence.pages.wysiwyg with parameters of type ContentEntityObject Modifier and Type Method Description String
ConfluenceWysiwygConverter. convertWikiMarkupToXHtml(ContentEntityObject content, String wikiMarkup)
Converts wiki markup text into XHTML, using the page context of the content object.String
ConfluenceWysiwygConverter. convertWikiMarkupToXHtml(ContentEntityObject content, String spaceKey, String wikiMarkup)
Converts wiki markup text into XHTML, using the page context of the content object.String
DefaultConfluenceWysiwygConverter. convertWikiMarkupToXHtml(ContentEntityObject content, String wikiMarkup)
String
DefaultConfluenceWysiwygConverter. convertWikiMarkupToXHtml(ContentEntityObject content, String spaceKey, String wikiMarkup)
String
ConfluenceWysiwygConverter. convertXHtmlToWikiMarkup(ContentEntityObject content, String xhtml)
Converts XHTML into wiki markup, using the page context of the content objectString
DefaultConfluenceWysiwygConverter. convertXHtmlToWikiMarkup(ContentEntityObject content, String xhtml)
-
Uses of ContentEntityObject in com.atlassian.confluence.plugin.descriptor.web
Methods in com.atlassian.confluence.plugin.descriptor.web that return ContentEntityObject Modifier and Type Method Description @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
Methods in com.atlassian.confluence.plugins.contentproperty with parameters of type ContentEntityObject Modifier and Type Method Description boolean
JsonPropertyEntityAdapter. isAllowedContainer(ContentEntityObject child, ContentEntityObject container)
static boolean
JsonPropertyEntityAdapter. isContentProperty(ContentEntityObject o)
Version
JsonPropertyFactory. makeVersion(ContentEntityObject entity)
Reference<Version>
JsonPropertyFactory. makeVersion(ContentEntityObject entity, boolean expanded)
-
Uses of ContentEntityObject in com.atlassian.confluence.plugins.dragdrop.service
Methods in com.atlassian.confluence.plugins.dragdrop.service with parameters of type ContentEntityObject Modifier and Type Method Description String
DragAndDropService. getAttachmentEditorHtml(String filename, ContentEntityObject container)
Get attachment editor html formatString
DragAndDropService. getAttachmentEditorHtml(String filename, ContentEntityObject container, boolean viewFileMacroEnable, String renderContentPlace)
Get attachment editor html formatString
DragAndDropServiceImpl. getAttachmentEditorHtml(String filename, ContentEntityObject container)
String
DragAndDropServiceImpl. getAttachmentEditorHtml(String filename, ContentEntityObject container, boolean viewFileMacroEnable, String renderContentPlace)
-
Uses of ContentEntityObject in com.atlassian.confluence.plugins.edgeindex
Methods in com.atlassian.confluence.plugins.edgeindex that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
DefaultEdgeContentQueries. getContentCreatedSince(Date startDate)
List<ContentEntityObject>
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 pastList<ContentEntityObject>
DefaultPopularContentQueries. getMostPopular(int maxResults, EdgeQueryParameter queryParameter)
List<ContentEntityObject>
PopularContentQueries. getMostPopular(int maxResults, EdgeQueryParameter queryParameter)
find popular content that have occurred in the last period of timeMethods in com.atlassian.confluence.plugins.edgeindex with parameters of type ContentEntityObject Modifier and Type Method Description AtlassianDocument
DefaultEdgeDocumentFactory. buildDocument(String edgeId, com.atlassian.sal.api.user.UserKey userKey, ContentEntityObject target, Date date, String edgeTypeKey)
AtlassianDocument
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.EdgeIndexTask
DefaultEdgeIndexTaskFactory. createAddDocumentTask(String edgeId, com.atlassian.sal.api.user.UserKey userKey, ContentEntityObject target, Date date, String edgeTypeKey)
EdgeIndexTask
EdgeIndexTaskFactory. createAddDocumentTask(String edgeId, com.atlassian.sal.api.user.UserKey userKey, ContentEntityObject target, Date date, String edgeTypeKey)
EdgeIndexTask
DefaultEdgeIndexTaskFactory. createReIndexPermissionsTask(ContentEntityObject ceo)
EdgeIndexTask
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)
Edge
DefaultEdgeFactory. getCreateEdge(ContentEntityObject contentEntity)
Edge
EdgeFactory. getCreateEdge(ContentEntityObject contentEntity)
Creates a new instance of an edge which indicates new content creation.Edge
DefaultEdgeFactory. getLikeEdge(ConfluenceUser liker, ContentEntityObject likedContent, Date likeDate)
Edge
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
Methods in com.atlassian.confluence.plugins.edgeindex.rest that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
ContentEntityHelper. getContentEntities(List<Long> contentIds)
List<ContentEntityObject>
HibernateContentEntityHelper. getContentEntities(List<Long> contentIds)
Methods in com.atlassian.confluence.plugins.edgeindex.rest with parameters of type ContentEntityObject Modifier and Type Method Description String
UrlStrategy. getUrl(ContentEntityObject contentEntity)
Constructor parameters in com.atlassian.confluence.plugins.edgeindex.rest with type arguments of type ContentEntityObject Constructor Description StreamItemFactory(ContextPathHolder contextPathHolder, UserDtoFactory userDtoFactory, DateEntityFactory dateEntityFactory, ContentEntityHelper contentEntityHelper, EdgeTypeRepository edgeTypeRepository, ContentUiSupport<ContentEntityObject> contentUiSupport)
-
Uses of ContentEntityObject in com.atlassian.confluence.plugins.like.graphql
Constructors in com.atlassian.confluence.plugins.like.graphql with parameters of type ContentEntityObject Constructor Description LikesResponse(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
Methods in com.atlassian.confluence.plugins.like.notifications that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
LikeNotification. getContent()
Constructors in com.atlassian.confluence.plugins.like.notifications with parameters of type ContentEntityObject Constructor Description LikeNotification(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.entities.builders
Classes in com.atlassian.confluence.plugins.rest.entities.builders with type parameters of type ContentEntityObject Modifier and Type Interface Description interface
ContentEntityBuilder<T extends ContentEntityObject>
class
DefaultContentEntityBuilder<T extends ContentEntityObject>
class
WikiLinkableContentEntityBuilder<T extends ContentEntityObject & HasLinkWikiMarkup>
Methods in com.atlassian.confluence.plugins.rest.entities.builders with type parameters of type ContentEntityObject Modifier and Type Method Description <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.manager
Methods in com.atlassian.confluence.plugins.rest.manager that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
ContentEntityMapping. getConfluenceObject()
Methods in com.atlassian.confluence.plugins.rest.manager with parameters of type ContentEntityObject Modifier and Type Method Description ContentEntity
DefaultRestContentManager. convertToContentEntity(ContentEntityObject object)
ContentEntity
RestContentManager. convertToContentEntity(ContentEntityObject object)
Convert a Confluence model object into its REST representation.AttachmentEntityList
DefaultRestAttachmentManager. createAttachmentEntityListForContent(ContentEntityObject object)
AttachmentEntityList
RestAttachmentManager. createAttachmentEntityListForContent(ContentEntityObject object)
Create aAttachmentEntityList
object for the given ContentEntityObjectConstructors in com.atlassian.confluence.plugins.rest.manager with parameters of type ContentEntityObject Constructor Description ChildrenListWrapperCallback(RestContentManager restContentManager, ContentEntityObject parentConfluenceObject)
ContentEntityMapping(ContentEntity contentEntity, ContentEntityObject confluenceObject)
-
Uses of ContentEntityObject in com.atlassian.confluence.plugins.soy
Constructor parameters in com.atlassian.confluence.plugins.soy with type arguments of type ContentEntityObject Constructor Description GetContentTypeI18nKeyFunction(ContentUiSupport<ContentEntityObject> contentUiSupport)
-
Uses of ContentEntityObject in com.atlassian.confluence.plugins.viewsource
Methods in com.atlassian.confluence.plugins.viewsource that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
ViewSourceAction. getContent()
-
Uses of ContentEntityObject in com.atlassian.confluence.renderer
Methods in com.atlassian.confluence.renderer that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
PageContext. getEntity()
ContentEntityObject
PageTemplateContext. getEntity()
static ContentEntityObject
ContentIncludeStack. peek()
static ContentEntityObject
ContentIncludeStack. pop()
Methods in com.atlassian.confluence.renderer with parameters of type ContentEntityObject Modifier and Type Method Description static boolean
ContentIncludeStack. contains(ContentEntityObject c)
static PageContext
PageContext. contextWithTimeout(ContentEntityObject entity, com.atlassian.util.concurrent.Timeout timeout)
Deprecated.since 7.0.1.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)
Constructors in com.atlassian.confluence.renderer with parameters of type ContentEntityObject Constructor Description PageContext(ContentEntityObject entity)
PageContext(ContentEntityObject entity, PageContext previousContext)
Deprecated.since 4.3. -
Uses of ContentEntityObject in com.atlassian.confluence.renderer.radeox.macros
Methods in com.atlassian.confluence.renderer.radeox.macros that return ContentEntityObject Modifier and Type Method Description static ContentEntityObject
MacroUtils. getContentEntityObject(org.radeox.macro.parameter.MacroParameter macroParameter)
-
Uses of ContentEntityObject in com.atlassian.confluence.rpc.soap.beans
Constructors in com.atlassian.confluence.rpc.soap.beans with parameters of type ContentEntityObject Constructor Description RemoteContentSummary(ContentEntityObject obj)
-
Uses of ContentEntityObject in com.atlassian.confluence.rpc.soap.services
Methods in com.atlassian.confluence.rpc.soap.services that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
SoapServiceHelper. 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.ContentEntityObject
SoapServiceHelperImpl. retrieveContent(long contentId)
-
Uses of ContentEntityObject in com.atlassian.confluence.rss
Classes in com.atlassian.confluence.rss with type parameters of type ContentEntityObject Modifier and Type Class Description class
AbstractContentEntityRenderSupport<T extends ContentEntityObject>
-
Uses of ContentEntityObject in com.atlassian.confluence.search.v2
Methods in com.atlassian.confluence.search.v2 with parameters of type ContentEntityObject Modifier and Type Method Description Collection<ContentPermissionSet>
ContentPermissionCalculator. calculate(ContentEntityObject contentEntityObject)
-
Uses of ContentEntityObject in com.atlassian.confluence.security
Methods in com.atlassian.confluence.security that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
ContentPermissionSet. getOwningContent()
Methods in com.atlassian.confluence.security with parameters of type ContentEntityObject Modifier and Type Method Description static NeverPermittedContentPermissionSet
NeverPermittedContentPermissionSet. buildFrom(String type, ContentEntityObject owningContent)
Deprecated.static String
PermissionUtils. getRestrictionsHash(ContentEntityObject content)
void
ContentPermissionSet. setOwningContent(ContentEntityObject owningContent)
Hibernate setter.Constructors in com.atlassian.confluence.security with parameters of type ContentEntityObject Constructor Description ContentPermissionSet(String type, ContentEntityObject owningContent)
NeverPermittedContentPermissionSet(String type, ContentEntityObject owningContent)
Deprecated. -
Uses of ContentEntityObject in com.atlassian.confluence.servlet.download
Methods in com.atlassian.confluence.servlet.download that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
AttachmentUrlParser. getEntity(String urlPath, String prefix)
Gets the entity that the attachment is attached to based on the given url. -
Uses of ContentEntityObject in com.atlassian.confluence.setup.settings
Subclasses of ContentEntityObject in com.atlassian.confluence.setup.settings Modifier and Type Class Description class
GlobalDescription
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
Subclasses of ContentEntityObject in com.atlassian.confluence.spaces Modifier and Type Class Description class
SpaceDescription
Methods in com.atlassian.confluence.spaces that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
SpaceDescription. getLatestVersion()
-
Uses of ContentEntityObject in com.atlassian.confluence.spaces.actions
Methods in com.atlassian.confluence.spaces.actions that return ContentEntityObject Modifier and Type Method Description protected abstract ContentEntityObject
AbstractLogoAction. getContentToAttachLogoTo()
-
Uses of ContentEntityObject in com.atlassian.confluence.ui.rest.builder
Methods in com.atlassian.confluence.ui.rest.builder with parameters of type ContentEntityObject Modifier and Type Method Description Content
LegacyContentBuilder. buildFrom(ContentEntityObject entity, Expansions expansions)
Deprecated. -
Uses of ContentEntityObject in com.atlassian.confluence.upgrade.upgradetask
Methods in com.atlassian.confluence.upgrade.upgradetask with parameters of type ContentEntityObject Modifier and Type Method Description boolean
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
Subclasses of ContentEntityObject in com.atlassian.confluence.user Modifier and Type Class Description class
PersonalInformation
-
Uses of ContentEntityObject in com.atlassian.confluence.user.actions
Methods in com.atlassian.confluence.user.actions that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
ViewMyFavouritesAction. getContent()
List<ContentEntityObject>
ViewMyDraftsAction. getContentDrafts()
Map<String,List<ContentEntityObject>>
ViewMyDraftsAction. getDraftsBySpace()
Deprecated.List<ContentEntityObject>
ViewUserHistoryAction. getHistory()
Map<Space,List<ContentEntityObject>>
ViewMyDraftsAction. getNonResumableDraftsBySpace()
List<ContentEntityObject>
ViewMyFavouritesAction. getPaginatedItems()
PaginationSupport<ContentEntityObject>
ViewMyFavouritesAction. getPaginationSupport()
Map<Space,List<ContentEntityObject>>
ViewMyDraftsAction. getResumableDraftsBySpace()
Methods in com.atlassian.confluence.user.actions with parameters of type ContentEntityObject Modifier and Type Method Description boolean
ViewMyDraftsAction. isDiscardableDraft(ContentEntityObject contentEntityObject)
boolean
ViewMyDraftsAction. isLegacyDraft(ContentEntityObject contentEntityObject)
boolean
ViewMyDraftsAction. isViewableDraft(ContentEntityObject contentEntityObject)
-
Uses of ContentEntityObject in com.atlassian.confluence.user.history
Methods in com.atlassian.confluence.user.history that return types with arguments of type ContentEntityObject Modifier and Type Method Description List<ContentEntityObject>
UserHistoryHelper. getHistoryContent(int maxResults, ContentTypeEnum... requestedTypes)
Returns user historyContentEntityObject
s, filtered to only include the requested types.List<ContentEntityObject>
UserHistoryHelper. getHistoryContent(ContentTypeEnum... requestedTypes)
Methods in com.atlassian.confluence.user.history with parameters of type ContentEntityObject Modifier and Type Method Description void
UserHistory. addContentEntity(ContentEntityObject content)
-
Uses of ContentEntityObject in com.atlassian.confluence.user.notifications
Methods in com.atlassian.confluence.user.notifications that return ContentEntityObject Modifier and Type Method Description protected ContentEntityObject
UserSignUpNotificationsListener. getContentEntityObject(Map contextMap)
Deprecated. -
Uses of ContentEntityObject in com.atlassian.confluence.util
Fields in com.atlassian.confluence.util declared as ContentEntityObject Modifier and Type Field Description protected ContentEntityObject
AbstractLinkRenamingBean. referringContent
Methods in com.atlassian.confluence.util with parameters of type ContentEntityObject Modifier and Type Method Description static @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.String
ContentMacrosHelper. getExcerpt(ContentEntityObject content, PageContext pageContext)
String
ExcerptHelper. getExcerpt(ContentEntityObject contentEntityObject)
Returns the body of an excerpt macro (including any xhtml tags).String
ExcerptHelper. getExcerptSummary(ContentEntityObject contentEntityObject)
Returns the first line of an excerpt macro as plain text (all xhtml tags will be stripped)MacroDefinition
ExcerptHelper. getMacroDefinition(ContentEntityObject contentEntityObject, String macroName)
Gets the firstMacroDefinition
in the supplied (@code contentEntityObject}.static List
LabelUtil. getRecentAndPopularLabelsForEntity(ContentEntityObject entity, LabelManager labelManager, int maxResults, String user)
static String
ContentUtils. getSpaceKeyFromCeo(ContentEntityObject ceo)
Constructors in com.atlassian.confluence.util with parameters of type ContentEntityObject Constructor Description AbstractLinkRenamingBean(ContentEntityObject referringContent, SpaceContentEntityObject pageBeingChanged, String newSpaceKey, String newTitle)
AbstractPageLinkRenamingBean(ContentEntityObject referringContent, SpaceContentEntityObject pageBeingChanged, String newSpaceKey, String newTitle)
AttachmentLinkRenamingBean(ContentEntityObject referringContent, ContentEntityObject oldLocation, String newSpaceKey, String newPageTitle)
Create a bean to update attachment links throughout a given ContentEntityObject's content, changing the page to which the links refer.AttachmentLinkRenamingBean(ContentEntityObject referringContent, String oldFileName, String newFileName)
Create a bean to rename the attachment filename throughout a given ContentEntityObject's content.AttachmentLinkRenamingBean(ContentEntityObject referringContent, String oldFileName, String newFileName, ContentEntityObject oldLocation, ContentEntityObject newLocation)
Create a bean to update links on a given page to reflect a change to an attachment.BlogPostLinkRenamingBean(ContentEntityObject referringContent, SpaceContentEntityObject pageBeingChanged, String newSpaceKey, String newTitle)
CamelCaseLinkRenamingBean(ContentEntityObject referringContent, SpaceContentEntityObject pageBeingChanged, String newSpaceKey, String newTitle)
IncludePageMacroLinkRenamingBean(ContentEntityObject referringContent, SpaceContentEntityObject pageBeingChanged, String newSpaceKey, String newTitle)
PageLinkRenamingBean(ContentEntityObject referringContent, SpaceContentEntityObject pageBeingChanged, String newSpaceKey, String newTitle)
SelfPageLinkRenamingBean(ContentEntityObject contentBeingMoved, String newSpaceKey)
-
Uses of ContentEntityObject in com.atlassian.confluence.web.service
Methods in com.atlassian.confluence.web.service with parameters of type ContentEntityObject Modifier and Type Method Description WebInterfaceContext
WebContextFactory. createWebInterfaceContext(ContentEntityObject content)
WebInterfaceContext
WebContextFactory. createWebInterfaceContext(ContentEntityObject content, Map<String,Object> additionalContext)
WebInterfaceContext
WebContextFactoryImpl. createWebInterfaceContext(ContentEntityObject content)
WebInterfaceContext
WebContextFactoryImpl. createWebInterfaceContext(ContentEntityObject content, Map<String,Object> additionalContext)
-
Uses of ContentEntityObject in com.atlassian.confluence.xhtml.api
Methods in com.atlassian.confluence.xhtml.api with type parameters of type ContentEntityObject Modifier and Type Method Description <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
Methods in com.atlassian.synchrony that return ContentEntityObject Modifier and Type Method Description ContentEntityObject
Snapshots. getSharedDraft()
Methods in com.atlassian.synchrony with parameters of type ContentEntityObject Modifier and Type Method Description void
Snapshots. setSharedDraft(ContentEntityObject sharedDraft)
-