Uses of Class
com.atlassian.confluence.content.CustomContentEntityObject
Package
Description
This package groups the breadcrumb logic:
All breadcrumbs for global admin and other general purpose,
Breadcrumb generation and interfaces,
Pre-5.0 breadcrumbs for Spaces.
-
Uses of CustomContentEntityObject in com.atlassian.confluence.content
Modifier and TypeMethodDescription@Nullable CustomContentEntityObject
CustomContentManager.getById
(long id) Find a single CustomContentEntityObject by its idCustomContentEntityObject.getParent()
@NonNull CustomContentEntityObject
CustomContentManager.newPluginContentEntityObject
(String contentModuleKey) Create a new CustomContentEntityObject for the given module.@NonNull CustomContentEntityObject
CustomContentManager.updatePluginModuleKey
(CustomContentEntityObject content, String pluginModuleKey) Update the type of an existing CustomContentEntityObject with the specified module key.Modifier and TypeMethodDescription@NonNull Iterator<CustomContentEntityObject>
CustomContentManager.findAllChildren
(CustomContentEntityObject content) Get an iterator of all children of a piece of content.@NonNull Iterator<CustomContentEntityObject>
CustomContentManager.findAllContainedOfType
(long containerContentId, String pluginModuleKey) Get an iterator of contained content of a piece of content with a given type.@NonNull Collection<CustomContentEntityObject>
CustomContentManager.findAllInSpace
(Space space) Deprecated.Since 4.2.@NonNull Iterator<CustomContentEntityObject>
CustomContentManager.findChildrenOfType
(CustomContentEntityObject content, String contentModuleKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder) Get an iterator of children of a piece of content with a given type.@NonNull Iterator<CustomContentEntityObject>
CustomContentManager.findCurrentInSpace
(Space space, String contentModuleKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder) Get an iterator of all the current, non-deleted content of the given type in the given space.CustomContentEntityObject.getAncestors()
Return all of the ancestors of this content, with this content's parent as the last element of the list.@NonNull PageResponse<CustomContentEntityObject>
CustomContentManager.getChildrenOfTypeAndFilter
(ContentEntityObject entity, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super CustomContentEntityObject> predicate) Returns the children of a CustomContentEntityObject, limited to the pagination requested.Modifier and TypeMethodDescriptionContentEntityAdapter.attachmentsUrlPath
(CustomContentEntityObject pluginContentEntityObject) Return the URL path to view the list of attachments on the contentContentEntityAdapterParent.attachmentsUrlPath
(CustomContentEntityObject pluginContentEntityObject) DefaultContentAdapter.attachmentsUrlPath
(CustomContentEntityObject pluginContentEntityObject) ContentEntityAdapter.attachmentUrlPath
(CustomContentEntityObject pluginContentEntityObject, Attachment attachment) Return the URL path to view the a particular attachment of the contentContentEntityAdapterParent.attachmentUrlPath
(CustomContentEntityObject pluginContentEntityObject, Attachment attachment) DefaultContentAdapter.attachmentUrlPath
(CustomContentEntityObject pluginContentEntityObject, Attachment attachment) long
CustomContentManager.countChildrenOfType
(CustomContentEntityObject content, String contentModuleKey) Get the total number of children of a piece of content with the given typeContentEntityAdapter.displayTitle
(CustomContentEntityObject pluginContentEntityObject) Gets the display-friendly title for the content.ContentEntityAdapterParent.displayTitle
(CustomContentEntityObject pluginContentEntityObject) DefaultContentAdapter.displayTitle
(CustomContentEntityObject pluginContentEntityObject) ContentEntityAdapter.excerpt
(CustomContentEntityObject pluginContentEntityObject) Get a text-only summary of the content that is suitable for use in activity streams, search results and other places where a short placeholder for the content is necessary.ContentEntityAdapterParent.excerpt
(CustomContentEntityObject pluginContentEntityObject) DefaultContentAdapter.excerpt
(CustomContentEntityObject pluginContentEntityObject) @NonNull Iterator<CustomContentEntityObject>
CustomContentManager.findAllChildren
(CustomContentEntityObject content) Get an iterator of all children of a piece of content.@NonNull Iterator<CustomContentEntityObject>
CustomContentManager.findChildrenOfType
(CustomContentEntityObject content, String contentModuleKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder) Get an iterator of children of a piece of content with a given type.ContentEntityAdapter.getDefaultBodyType
(CustomContentEntityObject pluginContentEntityObject) Get the default type for BodyContent objects attached to this content.ContentEntityAdapterParent.getDefaultBodyType
(CustomContentEntityObject pluginContentEntityObject) DefaultContentAdapter.getDefaultBodyType
(CustomContentEntityObject pluginContentEntityObject) boolean
ContentEntityAdapter.isAllowedParent
(CustomContentEntityObject child, CustomContentEntityObject parent) Determine if a particular content is an acceptable parent for this content.boolean
ContentEntityAdapterParent.isAllowedParent
(CustomContentEntityObject child, CustomContentEntityObject parent) boolean
DefaultContentAdapter.isAllowedParent
(CustomContentEntityObject child, CustomContentEntityObject parent) boolean
ContentEntityAdapter.isIndexable
(CustomContentEntityObject pluginContentEntityObject, boolean isDefaultIndexable) Determine if a particular content should be indexed.boolean
ContentEntityAdapterParent.isIndexable
(CustomContentEntityObject pluginContentEntityObject, boolean isDefaultIndexable) boolean
DefaultContentAdapter.isIndexable
(CustomContentEntityObject pluginContentEntityObject, boolean isDefaultIndexable) ContentEntityAdapter.nameForComparison
(CustomContentEntityObject pluginContentEntityObject) Return the sorting-friendly title for the content, if the content is to be sorted in alphabetical order.ContentEntityAdapterParent.nameForComparison
(CustomContentEntityObject pluginContentEntityObject) DefaultContentAdapter.nameForComparison
(CustomContentEntityObject pluginContentEntityObject) void
CustomContentEntityObject.setParent
(CustomContentEntityObject parent) boolean
ContentEntityAdapter.shouldConvertToContent
(CustomContentEntityObject pluginContentEntityObject) Determine if a particular content is going to be part of the core API.boolean
ContentEntityAdapterParent.shouldConvertToContent
(CustomContentEntityObject pluginContentEntityObject) boolean
DefaultContentAdapter.shouldConvertToContent
(CustomContentEntityObject pluginContentEntityObject) @NonNull CustomContentEntityObject
CustomContentManager.updatePluginModuleKey
(CustomContentEntityObject content, String pluginModuleKey) Update the type of an existing CustomContentEntityObject with the specified module key.ContentEntityAdapter.urlPath
(CustomContentEntityObject pluginContentEntityObject) Gets the URL string (relative to the Confluence application context) at which this content can be viewed.ContentEntityAdapterParent.urlPath
(CustomContentEntityObject pluginContentEntityObject) DefaultContentAdapter.urlPath
(CustomContentEntityObject pluginContentEntityObject) Modifier and TypeMethodDescription@NonNull PageResponse<CustomContentEntityObject>
CustomContentManager.getChildrenOfTypeAndFilter
(ContentEntityObject entity, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super CustomContentEntityObject> predicate) Returns the children of a CustomContentEntityObject, limited to the pagination requested. -
Uses of CustomContentEntityObject in com.atlassian.confluence.content.apisupport
Modifier and TypeMethodDescriptionCustomContentTypeApiSupport.update
(Content content, CustomContentEntityObject entity) Modifier and TypeMethodDescriptionprotected abstract void
CustomContentTypeApiSupport.createCustomContentEntity
(Content content, CustomContentEntityObject newVersion) Set the extension properties on the entity.CustomContentTypeApiSupport.update
(Content content, CustomContentEntityObject entity) protected abstract boolean
CustomContentTypeApiSupport.updateCustomContentEntity
(Content content, CustomContentEntityObject newVersion, CustomContentEntityObject original) Set the extension properties on the entity. -
Uses of CustomContentEntityObject in com.atlassian.confluence.content.custom
Modifier and TypeMethodDescriptionBaseCustomContentType.getApiSupport()
A null implementation that provide no extensions or children for the CustomContentTypeCustomContentType.getApiSupport()
Get the api support for this CustomContentType. -
Uses of CustomContentEntityObject in com.atlassian.confluence.content.event
Modifier and TypeMethodDescriptionPluginContentCreatedEvent.getContent()
PluginContentRemovedEvent.getContent()
ModifierConstructorDescriptionPluginContentCreatedEvent
(Object src, CustomContentEntityObject content) Deprecated.PluginContentCreatedEvent
(Object source, CustomContentEntityObject content, OperationContext<?> context) PluginContentRemovedEvent
(Object src, CustomContentEntityObject content) PluginContentUpdatedEvent
(Object src, CustomContentEntityObject currentContent, CustomContentEntityObject oldContent, SaveContext saveContext) -
Uses of CustomContentEntityObject in com.atlassian.confluence.content.persistence
Modifier and TypeMethodDescriptionRetrieves an iterator ofCustomContentEntityObject
with the specified pluginContentKeyCustomContentDao.findAllChildren
(long id) Retrieves all children of the specified content.CustomContentDao.findAllContainedOfType
(long containerContentId, String pluginContentKey) CustomContentDao.findAllInSpace
(long spaceId) CustomContentDao.findAllInSpace
(String pluginContentKey, long spaceId) CustomContentDao.findAllInSpaceWithAttachments
(long spaceId) CustomContentDao.findAllInSpaceWithAttachments
(String pluginContentKey, long spaceId) CustomContentDao.findAllWithAttachments
(String pluginContentKey) Retrieves an iterator ofCustomContentEntityObject
with the specified pluginContentKey.CustomContentDao.findChildrenOfType
(long id, String pluginContentKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder) CustomContentDao.findCurrentInSpace
(long spaceId, String pluginModuleKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder) -
Uses of CustomContentEntityObject in com.atlassian.confluence.content.persistence.hibernate
Modifier and TypeMethodDescriptionPluginContentHibernateDao.findAllChildren
(long parentId) PluginContentHibernateDao.findAllContainedOfType
(long containerContentId, String pluginContentKey) PluginContentHibernateDao.findAllInSpace
(long spaceId) PluginContentHibernateDao.findAllInSpace
(String pluginModuleKey, long spaceId) PluginContentHibernateDao.findAllInSpaceWithAttachments
(long spaceId) PluginContentHibernateDao.findAllInSpaceWithAttachments
(String pluginModuleKey, long spaceId) PluginContentHibernateDao.findAllWithAttachments
(String pluginContentKey) PluginContentHibernateDao.findChildrenOfType
(long parentId, String pluginModuleKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder) PluginContentHibernateDao.findCurrentInSpace
(long spaceId, String pluginModuleKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder) PluginContentHibernateDao.getPersistentClass()
-
Uses of CustomContentEntityObject in com.atlassian.confluence.core
Modifier and TypeMethodDescriptionvoid
ContentEntityObject.addCustomContent
(CustomContentEntityObject customContentEntityObject) void
ContentEntityObject.removeCustomContent
(CustomContentEntityObject customContentEntityObject) -
Uses of CustomContentEntityObject in com.atlassian.confluence.impl.content
Modifier and TypeMethodDescription@Nullable CustomContentEntityObject
DefaultCustomContentManager.getById
(long id) @NonNull CustomContentEntityObject
DefaultCustomContentManager.newPluginContentEntityObject
(String contentModuleKey) @NonNull CustomContentEntityObject
DefaultCustomContentManager.updatePluginModuleKey
(CustomContentEntityObject content, String pluginModuleKey) Modifier and TypeMethodDescription@NonNull Iterator<CustomContentEntityObject>
DefaultCustomContentManager.findAllChildren
(CustomContentEntityObject content) @NonNull Iterator<CustomContentEntityObject>
DefaultCustomContentManager.findAllContainedOfType
(long containerContentId, String pluginModuleKey) @NonNull Collection<CustomContentEntityObject>
DefaultCustomContentManager.findAllInSpace
(Space space) This method is required for space exports to work properly.@NonNull Iterator<CustomContentEntityObject>
DefaultCustomContentManager.findChildrenOfType
(CustomContentEntityObject content, String pluginContentKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder) @NonNull Iterator<CustomContentEntityObject>
DefaultCustomContentManager.findCurrentInSpace
(Space space, String pluginContentKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder) @NonNull PageResponse<CustomContentEntityObject>
DefaultCustomContentManager.getChildrenOfTypeAndFilter
(ContentEntityObject entity, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super CustomContentEntityObject> predicate) This method is used by the Content API to retrieve children of a specific type and filter them by a predicate.Modifier and TypeMethodDescriptionlong
DefaultCustomContentManager.countChildrenOfType
(CustomContentEntityObject content, String contentModuleKey) @NonNull Iterator<CustomContentEntityObject>
DefaultCustomContentManager.findAllChildren
(CustomContentEntityObject content) @NonNull Iterator<CustomContentEntityObject>
DefaultCustomContentManager.findChildrenOfType
(CustomContentEntityObject content, String pluginContentKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder) @NonNull CustomContentEntityObject
DefaultCustomContentManager.updatePluginModuleKey
(CustomContentEntityObject content, String pluginModuleKey) Modifier and TypeMethodDescription@NonNull PageResponse<CustomContentEntityObject>
DefaultCustomContentManager.getChildrenOfTypeAndFilter
(ContentEntityObject entity, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super CustomContentEntityObject> predicate) This method is used by the Content API to retrieve children of a specific type and filter them by a predicate. -
Uses of CustomContentEntityObject in com.atlassian.confluence.pages
Modifier and TypeMethodDescriptionReadOnlyAttachment.getCustomContent()
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionvoid
ReadOnlyAttachment.addCustomContent
(CustomContentEntityObject customContentEntityObject) Deprecated, for removal: This API element is subject to removal in a future version.void
ReadOnlyAttachment.removeCustomContent
(CustomContentEntityObject customContentEntityObject) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of CustomContentEntityObject in com.atlassian.confluence.plugins.contentproperty
Modifier and TypeMethodDescriptionStorageJsonPropertyManager.getStorageContentProperty
(SimpleValidationResult.Builder result, JsonContentProperty property) StorageJsonPropertyManager.getStorageSpaceProperty
(JsonSpaceProperty property) StorageJsonPropertyManager.updateStorageFromApi
(JsonContentProperty apiContentProperty, CustomContentEntityObject storageJsonProperty) Updates a JsonProperty CustomContentEntityObject to be a ContentProperty.StorageJsonPropertyManager.updateStorageFromApi
(JsonSpaceProperty property, CustomContentEntityObject storageJsonProperty) Updates a JsonProperty CustomContentEntityObject to be a SpaceProperty.Modifier and TypeMethodDescriptioncom.google.common.base.Function<CustomContentEntityObject,
JsonContentProperty> JsonPropertyFactory.buildContentPropertyFromFunction()
com.google.common.base.Function<CustomContentEntityObject,
JsonContentProperty> JsonPropertyFactory.buildContentPropertyFromFunction
(Content content, Expansions expansions) com.google.common.base.Function<CustomContentEntityObject,
JsonSpaceProperty> JsonPropertyFactory.buildSpacePropertyFromFunction
(Space space, Expansions expansions) JsonPropertyQueryFactory.findAllByContentId
(long contentId) JsonPropertyQueryFactory.findAllByContentIdsAndKeys
(List<Long> contentIds, List<String> keys) JsonPropertyQueryFactory.findAllBySpaceKey
(String spaceKey) JsonPropertyQueryFactory.findByContentIdAndKey
(long contentId, String key) JsonPropertyQueryFactory.findBySpaceKeyAndKey
(String spaceKey, String key) Modifier and TypeMethodDescriptionJsonPropertyFactory.buildContentPropertyFrom
(CustomContentEntityObject storageContentProperty, Expansions expansions) Convert the given CustomContentEntityObject into a corresponding ContentProperty.JsonPropertyFactory.buildFrom
(Content content, CustomContentEntityObject storageContentProperty, Expansions expansions) Convert the given CustomContentEntityObject into a corresponding ContentProperty with the given container.JsonPropertyFactory.buildFrom
(Space space, CustomContentEntityObject storageContentProperty, Expansions expansions) JsonPropertyFactory.buildFrom
(CustomContentEntityObject storageContentProperty) Convert the given CustomContentEntityObject into a corresponding ContentProperty with the given container.JsonPropertyFactory.buildSpacePropertyFrom
(CustomContentEntityObject property, Expansions expansions) Convert the given CustomContentEntityObject into a corresponding SpaceProperty.JsonPropertyEntityAdapter.getDefaultBodyType
(CustomContentEntityObject pluginContentEntityObject) static boolean
JsonPropertyEntityAdapter.isContentProperty
(CustomContentEntityObject o) boolean
JsonPropertyEntityAdapter.isIndexable
(CustomContentEntityObject pluginContentEntityObject, boolean isDefaultIndexable) StorageJsonPropertyManager.updateStorageFromApi
(JsonContentProperty apiContentProperty, CustomContentEntityObject storageJsonProperty) Updates a JsonProperty CustomContentEntityObject to be a ContentProperty.StorageJsonPropertyManager.updateStorageFromApi
(JsonSpaceProperty property, CustomContentEntityObject storageJsonProperty) Updates a JsonProperty CustomContentEntityObject to be a SpaceProperty. -
Uses of CustomContentEntityObject in com.atlassian.confluence.spaces
Modifier and TypeMethodDescriptionvoid
ReadOnlySpaceDescription.addCustomContent
(CustomContentEntityObject customContentEntityObject) void
ReadOnlySpaceDescription.removeCustomContent
(CustomContentEntityObject customContentEntityObject) -
Uses of CustomContentEntityObject in com.atlassian.confluence.util.breadcrumbs
ModifierConstructorDescriptionCustomContentBreadcrumb
(CustomContentEntityObject customContentEntity)