Package | Description |
---|---|
com.atlassian.confluence.content | |
com.atlassian.confluence.content.apisupport | |
com.atlassian.confluence.content.custom | |
com.atlassian.confluence.content.event | |
com.atlassian.confluence.content.persistence | |
com.atlassian.confluence.content.persistence.hibernate | |
com.atlassian.confluence.core | |
com.atlassian.confluence.it.api.test.plugin.apiavailable | |
com.atlassian.confluence.plugins.contentproperty | |
com.atlassian.confluence.plugins.contentproperty.index.extractor | |
com.atlassian.confluence.util.breadcrumbs |
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.
|
Modifier and Type | Method and Description |
---|---|
@Nullable CustomContentEntityObject |
CustomContentManager.getById(long id)
Find a single CustomContentEntityObject by its id
|
@Nullable CustomContentEntityObject |
DefaultCustomContentManager.getById(long id) |
CustomContentEntityObject |
CustomContentEntityObject.getParent() |
@NonNull CustomContentEntityObject |
CustomContentManager.newPluginContentEntityObject(String contentModuleKey)
Create a new CustomContentEntityObject for the given module.
|
@NonNull CustomContentEntityObject |
DefaultCustomContentManager.newPluginContentEntityObject(String contentModuleKey) |
@NonNull CustomContentEntityObject |
CustomContentManager.updatePluginModuleKey(CustomContentEntityObject content,
String pluginModuleKey)
Update the type of an existing CustomContentEntityObject with the specified module key.
|
@NonNull CustomContentEntityObject |
DefaultCustomContentManager.updatePluginModuleKey(CustomContentEntityObject content,
String pluginModuleKey) |
Modifier and Type | Method and Description |
---|---|
List<CustomContentEntityObject> |
CustomContentEntityObject.getAncestors()
Return all of the ancestors of this content, with this content's parent as the last
element of the list.
|
Modifier and Type | Method and Description |
---|---|
default Optional<String> |
ContentEntityAdapter.attachmentsUrlPath(CustomContentEntityObject pluginContentEntityObject)
Return the URL path to view the list of attachments on the content
|
default Optional<String> |
ContentEntityAdapter.attachmentUrlPath(CustomContentEntityObject pluginContentEntityObject,
Attachment attachment)
Return the URL path to view the a particular attachment of the content
|
long |
CustomContentManager.countChildrenOfType(CustomContentEntityObject content,
String contentModuleKey)
Get the total number of children of a piece of content with the given type
|
long |
DefaultCustomContentManager.countChildrenOfType(CustomContentEntityObject content,
String contentModuleKey) |
default Optional<String> |
ContentEntityAdapter.displayTitle(CustomContentEntityObject pluginContentEntityObject)
Gets the display-friendly title for the content.
|
default Optional<String> |
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.
|
@NonNull Iterator<CustomContentEntityObject> |
CustomContentManager.findAllChildren(CustomContentEntityObject content)
Get an iterator of all children of a piece of content.
|
@NonNull Iterator<CustomContentEntityObject> |
DefaultCustomContentManager.findAllChildren(CustomContentEntityObject 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.
|
@NonNull Iterator<CustomContentEntityObject> |
DefaultCustomContentManager.findChildrenOfType(CustomContentEntityObject content,
String pluginContentKey,
int offset,
int maxResults,
CustomContentManager.SortField sortField,
CustomContentManager.SortOrder sortOrder) |
com.atlassian.fugue.Option<String> |
ContentEntityAdapterParent.getAttachmentsUrlPath(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.attachmentsUrlPath(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
DefaultContentAdapter.getAttachmentsUrlPath(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.attachmentsUrlPath(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
ContentEntityAdapter.getAttachmentsUrlPath(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.attachmentsUrlPath(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
ContentEntityAdapterParent.getAttachmentUrlPath(CustomContentEntityObject pluginContentEntityObject,
Attachment attachment)
Deprecated.
|
com.atlassian.fugue.Option<String> |
DefaultContentAdapter.getAttachmentUrlPath(CustomContentEntityObject pluginContentEntityObject,
Attachment attachment)
Deprecated.
|
com.atlassian.fugue.Option<String> |
ContentEntityAdapter.getAttachmentUrlPath(CustomContentEntityObject pluginContentEntityObject,
Attachment attachment)
Deprecated.
|
BodyType |
ContentEntityAdapterParent.getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject) |
BodyType |
DefaultContentAdapter.getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject) |
BodyType |
ContentEntityAdapter.getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject)
Get the default type for BodyContent objects attached to this content.
|
com.atlassian.fugue.Option<String> |
ContentEntityAdapterParent.getDisplayTitle(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.displayTitle(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
DefaultContentAdapter.getDisplayTitle(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.displayTitle(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
ContentEntityAdapter.getDisplayTitle(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.displayTitle(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
ContentEntityAdapterParent.getExcerpt(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.excerpt(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
DefaultContentAdapter.getExcerpt(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.excerpt(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
ContentEntityAdapter.getExcerpt(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.excerpt(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
ContentEntityAdapterParent.getNameForComparison(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.nameForComparison(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
DefaultContentAdapter.getNameForComparison(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.nameForComparison(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
ContentEntityAdapter.getNameForComparison(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.nameForComparison(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
ContentEntityAdapterParent.getUrlPath(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.urlPath(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
DefaultContentAdapter.getUrlPath(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.urlPath(CustomContentEntityObject) |
com.atlassian.fugue.Option<String> |
ContentEntityAdapter.getUrlPath(CustomContentEntityObject pluginContentEntityObject)
Deprecated.
since 7.0.1. Use
ContentEntityAdapter.urlPath(CustomContentEntityObject) |
boolean |
ContentEntityAdapterParent.isAllowedParent(CustomContentEntityObject child,
CustomContentEntityObject parent) |
boolean |
DefaultContentAdapter.isAllowedParent(CustomContentEntityObject child,
CustomContentEntityObject parent) |
boolean |
ContentEntityAdapter.isAllowedParent(CustomContentEntityObject child,
CustomContentEntityObject parent)
Determine if a particular content is an acceptable parent for this content.
|
boolean |
ContentEntityAdapterParent.isIndexable(CustomContentEntityObject pluginContentEntityObject,
boolean isDefaultIndexable) |
boolean |
DefaultContentAdapter.isIndexable(CustomContentEntityObject pluginContentEntityObject,
boolean isDefaultIndexable) |
boolean |
ContentEntityAdapter.isIndexable(CustomContentEntityObject pluginContentEntityObject,
boolean isDefaultIndexable)
Determine if a particular content should be indexed.
|
default Optional<String> |
ContentEntityAdapter.nameForComparison(CustomContentEntityObject pluginContentEntityObject)
Return the sorting-friendly title for the content, if the content is to be sorted in alphabetical order.
|
void |
CustomContentEntityObject.setParent(CustomContentEntityObject parent) |
boolean |
ContentEntityAdapterParent.shouldConvertToContent(CustomContentEntityObject pluginContentEntityObject) |
boolean |
DefaultContentAdapter.shouldConvertToContent(CustomContentEntityObject pluginContentEntityObject) |
boolean |
ContentEntityAdapter.shouldConvertToContent(CustomContentEntityObject pluginContentEntityObject)
Determine if a particular content is going to be part of the core API.
|
@NonNull CustomContentEntityObject |
CustomContentManager.updatePluginModuleKey(CustomContentEntityObject content,
String pluginModuleKey)
Update the type of an existing CustomContentEntityObject with the specified module key.
|
@NonNull CustomContentEntityObject |
DefaultCustomContentManager.updatePluginModuleKey(CustomContentEntityObject content,
String pluginModuleKey) |
default Optional<String> |
ContentEntityAdapter.urlPath(CustomContentEntityObject pluginContentEntityObject)
Gets the URL string (relative to the Confluence application context) at which this content can be viewed.
|
Modifier and Type | Method and Description |
---|---|
@NonNull PageResponse<Content> |
CustomContentManager.getChildrenOfType(ContentEntityObject entity,
String contentModuleKey,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super CustomContentEntityObject> predicate)
|
@NonNull PageResponse<Content> |
DefaultCustomContentManager.getChildrenOfType(ContentEntityObject entity,
String contentModuleKey,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super CustomContentEntityObject> predicate)
|
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.
|
Modifier and Type | Method and Description |
---|---|
CustomContentEntityObject |
CustomContentTypeApiSupport.create(Content content) |
CustomContentEntityObject |
CustomContentTypeApiSupport.update(Content content,
CustomContentEntityObject entity) |
Modifier and Type | Method and Description |
---|---|
Class<CustomContentEntityObject> |
CustomContentTypeApiSupport.getEntityClass() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
CustomContentTypeApiSupport.createCustomContentEntity(Content content,
CustomContentEntityObject newVersion)
Set the extension properties on the entity.
|
CustomContentEntityObject |
CustomContentTypeApiSupport.update(Content content,
CustomContentEntityObject entity) |
protected abstract boolean |
CustomContentTypeApiSupport.updateCustomContentEntity(Content content,
CustomContentEntityObject newVersion,
CustomContentEntityObject original)
Set the extension properties on the entity.
|
Modifier and Type | Method and Description |
---|---|
ContentTypeApiSupport<CustomContentEntityObject> |
BaseCustomContentType.getApiSupport()
A null implementation that provide no extensions or children for the CustomContentType
|
ContentTypeApiSupport<CustomContentEntityObject> |
CustomContentType.getApiSupport()
Get the api support for this CustomContentType.
|
Modifier and Type | Method and Description |
---|---|
CustomContentEntityObject |
PluginContentRemovedEvent.getContent() |
CustomContentEntityObject |
PluginContentCreatedEvent.getContent() |
Constructor and Description |
---|
PluginContentCreatedEvent(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) |
Modifier and Type | Method and Description |
---|---|
Iterator<CustomContentEntityObject> |
CustomContentDao.findAll(String pluginContentKey)
Retrieves an iterator of
CustomContentEntityObject with the specified pluginContentKey |
Iterator<CustomContentEntityObject> |
CustomContentDao.findAllChildren(long id)
Retrieves all children of the specified content.
|
Iterator<CustomContentEntityObject> |
CustomContentDao.findAllContainedOfType(long containerContentId,
String pluginContentKey) |
Iterator<CustomContentEntityObject> |
CustomContentDao.findAllInSpace(long spaceId) |
Iterator<CustomContentEntityObject> |
CustomContentDao.findAllInSpace(String pluginContentKey,
long spaceId) |
Iterator<CustomContentEntityObject> |
CustomContentDao.findAllInSpaceWithAttachments(long spaceId) |
Iterator<CustomContentEntityObject> |
CustomContentDao.findAllInSpaceWithAttachments(String pluginContentKey,
long spaceId) |
Iterator<CustomContentEntityObject> |
CustomContentDao.findAllWithAttachments(String pluginContentKey)
Retrieves an iterator of
CustomContentEntityObject with the specified pluginContentKey. |
Iterator<CustomContentEntityObject> |
CustomContentDao.findChildrenOfType(long id,
String pluginContentKey,
int offset,
int maxResults,
CustomContentManager.SortField sortField,
CustomContentManager.SortOrder sortOrder) |
Iterator<CustomContentEntityObject> |
CustomContentDao.findCurrentInSpace(long spaceId,
String pluginModuleKey,
int offset,
int maxResults,
CustomContentManager.SortField sortField,
CustomContentManager.SortOrder sortOrder) |
Modifier and Type | Method and Description |
---|---|
void |
ContentEntityObject.addCustomContent(CustomContentEntityObject customContentEntityObject) |
void |
ContentEntityObject.removeCustomContent(CustomContentEntityObject customContentEntityObject) |
Modifier and Type | Method and Description |
---|---|
BaseContentTypeApiSupport<CustomContentEntityObject> |
DummyAvailableContentType.getApiSupport() |
Class<CustomContentEntityObject> |
DummyAvailableContentTypeSupport.getEntityClass() |
Modifier and Type | Method and Description |
---|---|
protected void |
DummyAvailableContentTypeSupport.createCustomContentEntity(Content content,
CustomContentEntityObject newVersion) |
protected PageResponse<Content> |
DummyAvailableContentTypeSupport.getChildrenForThisType(CustomContentEntityObject content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
BodyType |
DummyAvailableContentEntityAdapter.getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject) |
boolean |
DummyUnavailableContentEntityAdapter.shouldConvertToContent(CustomContentEntityObject pluginContentEntityObject) |
protected boolean |
DummyAvailableContentTypeSupport.updateCustomContentEntity(Content content,
CustomContentEntityObject newVersion,
CustomContentEntityObject original) |
ValidationResult |
DummyAvailableContentTypeSupport.validateUpdate(Content updatedContent,
CustomContentEntityObject existingEntity) |
Modifier and Type | Method and Description |
---|---|
Map<ContentId,Map<String,Object>> |
DummyAvailableContentTypeSupport.getExtensions(Iterable<CustomContentEntityObject> contentEntities,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
CustomContentEntityObject |
StorageJsonPropertyManager.getStorageContentProperty(SimpleValidationResult.Builder result,
JsonContentProperty property) |
CustomContentEntityObject |
StorageJsonPropertyManager.getStorageSpaceProperty(JsonSpaceProperty property) |
CustomContentEntityObject |
StorageJsonPropertyManager.updateStorageFromApi(JsonContentProperty apiContentProperty,
CustomContentEntityObject storageJsonProperty)
Updates a JsonProperty CustomContentEntityObject to be a ContentProperty.
|
CustomContentEntityObject |
StorageJsonPropertyManager.updateStorageFromApi(JsonSpaceProperty property,
CustomContentEntityObject storageJsonProperty)
Updates a JsonProperty CustomContentEntityObject to be a SpaceProperty.
|
Modifier and Type | Method and Description |
---|---|
JsonContentProperty |
JsonPropertyFactory.buildContentPropertyFrom(CustomContentEntityObject storageContentProperty,
Expansions expansions)
Convert the given CustomContentEntityObject into a corresponding ContentProperty.
|
JsonContentProperty |
JsonPropertyFactory.buildFrom(Content content,
CustomContentEntityObject storageContentProperty,
Expansions expansions)
Convert the given CustomContentEntityObject into a corresponding ContentProperty with the given container.
|
JsonContentProperty |
JsonPropertyFactory.buildFrom(CustomContentEntityObject storageContentProperty)
Convert the given CustomContentEntityObject into a corresponding ContentProperty with the given container.
|
JsonSpaceProperty |
JsonPropertyFactory.buildFrom(Space space,
CustomContentEntityObject storageContentProperty,
Expansions expansions) |
JsonSpaceProperty |
JsonPropertyFactory.buildSpacePropertyFrom(CustomContentEntityObject property,
Expansions expansions)
Convert the given CustomContentEntityObject into a corresponding SpaceProperty.
|
BodyType |
JsonPropertyEntityAdapter.getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject) |
static boolean |
JsonPropertyEntityAdapter.isContentProperty(CustomContentEntityObject o) |
boolean |
JsonPropertyEntityAdapter.isIndexable(CustomContentEntityObject pluginContentEntityObject,
boolean isDefaultIndexable) |
CustomContentEntityObject |
StorageJsonPropertyManager.updateStorageFromApi(JsonContentProperty apiContentProperty,
CustomContentEntityObject storageJsonProperty)
Updates a JsonProperty CustomContentEntityObject to be a ContentProperty.
|
CustomContentEntityObject |
StorageJsonPropertyManager.updateStorageFromApi(JsonSpaceProperty property,
CustomContentEntityObject storageJsonProperty)
Updates a JsonProperty CustomContentEntityObject to be a SpaceProperty.
|
Modifier and Type | Method and Description |
---|---|
protected Void |
ContentPropertiesExtractor.addContentPropertyToSearchableText(CustomContentEntityObject searchable,
StringBuffer defaultSearchableText,
String contentPropertyKey) |
Constructor and Description |
---|
CustomContentBreadcrumb(CustomContentEntityObject customContentEntity) |
Copyright © 2003–2019 Atlassian. All rights reserved.