Modifier and Type | Method and Description |
---|---|
void |
RemoteCQLSearchServiceAcceptanceTest.assertDateFoundByQuery(String date,
String query,
Content content) |
void |
RemoteCQLSearchServiceAcceptanceTest.createContentProperty(Content content,
String propertyKey,
JsonString value) |
void |
RemoteCQLSearchServiceAcceptanceTest.deleteContentProperty(Content content,
String propertyKey) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
ContentTypeBinding.getChildren(Content parent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth)
Deprecated.
Retrieve the children of an item of Content.
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
ContentTypeBinding.getChildren(Content parent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth)
Deprecated.
Retrieve the children of an item of Content.
|
Modifier and Type | Method and Description |
---|---|
Content |
ContentServiceImpl.buildContent(ContentEntityObject entity,
List<ContentStatus> statuses,
Expansion... expansions) |
Content |
ContentServiceImpl.create(Content newContent) |
Content |
ContentServiceImpl.create(Content newContent,
Expansion... expansions) |
Content |
ContentTrashServiceImpl.restore(Content content) |
Content |
AttachmentServiceImpl.update(Content updatedContent) |
Content |
ContentServiceImpl.update(Content updatedContent) |
Content |
AttachmentServiceImpl.updateData(ContentId attachmentId,
AttachmentUpload upload) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
AttachmentServiceImpl.addAttachments(ContentId containerId,
Collection<AttachmentUpload> uploads) |
PageResponse<Content> |
AttachmentServiceImpl.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads) |
PageResponse<Content> |
SpaceServiceImpl.SpaceContentImpl.fetchMany(ContentType type,
PageRequest pageRequest) |
Map<ContentType,PageResponse<Content>> |
SpaceServiceImpl.SpaceContentImpl.fetchMappedByType(PageRequest pageRequest) |
Modifier and Type | Method and Description |
---|---|
ContentBody |
ContentBodyConversionServiceImpl.convertBody(Content content,
ContentRepresentation toFormat) |
ContentBody |
ContentBodyConversionServiceImpl.convertBody(Content content,
ContentRepresentation toFormat,
Expansion... expansions) |
Content |
ContentServiceImpl.create(Content newContent) |
Content |
ContentServiceImpl.create(Content newContent,
Expansion... expansions) |
void |
AttachmentServiceImpl.delete(Content attachmentContent) |
void |
ContentServiceImpl.delete(Content content) |
com.atlassian.fugue.Option<ContentBody> |
ContentBodyConversionServiceImpl.getBodyToConvert(Content content,
ContentRepresentation toFormat) |
void |
ContentTrashServiceImpl.purge(Content content) |
Content |
ContentTrashServiceImpl.restore(Content content) |
void |
ContentTrashServiceImpl.trash(Content content) |
Content |
AttachmentServiceImpl.update(Content updatedContent) |
Content |
ContentServiceImpl.update(Content updatedContent) |
ValidationResult |
ContentServiceImpl.ValidatorImpl.validateCreate(Content newContent) |
ValidationResult |
ContentServiceImpl.ValidatorImpl.validateDelete(Content content) |
protected ValidationResult |
ContentServiceImpl.ValidatorImpl.validateUpdate(Content updatedContent,
ContentEntityObject currentCeo) |
Modifier and Type | Method and Description |
---|---|
Content |
LegacyContentDraftServiceImpl.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy) |
Content |
SharedContentDraftServiceImpl.publishEditDraft(Content updatedContent,
ContentDraftService.ConflictPolicy conflictPolicy) |
Content |
ContentDraftServiceImpl.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy) |
Content |
LegacyContentDraftServiceImpl.publishNewDraft(Content content,
Expansion... expansions) |
Content |
SharedContentDraftServiceImpl.publishNewDraft(Content content,
Expansion... expansions)
Deprecated.
since 5.9 - we use the same method for publishing drafts for new pages and for page edits
|
Content |
ContentDraftServiceImpl.publishNewDraft(Content content,
Expansion... expansions) |
Modifier and Type | Method and Description |
---|---|
Content |
LegacyContentDraftServiceImpl.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy) |
Content |
SharedContentDraftServiceImpl.publishEditDraft(Content updatedContent,
ContentDraftService.ConflictPolicy conflictPolicy) |
Content |
ContentDraftServiceImpl.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy) |
Content |
LegacyContentDraftServiceImpl.publishNewDraft(Content content,
Expansion... expansions) |
Content |
SharedContentDraftServiceImpl.publishNewDraft(Content content,
Expansion... expansions)
Deprecated.
since 5.9 - we use the same method for publishing drafts for new pages and for page edits
|
Content |
ContentDraftServiceImpl.publishNewDraft(Content content,
Expansion... expansions) |
MergeValidationResult |
LegacyDraftValidator.validateContentForPageCreate(Content content) |
MergeValidationResult |
LegacyDraftValidator.validateContentForPageUpdate(Content content,
ContentDraftService.ConflictPolicy conflictPolicy) |
Modifier and Type | Method and Description |
---|---|
Content |
ContentFactory.buildFrom(ContentEntityObject entity,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
Map<ContentType,PageResponse<Content>> |
ChildContentFactory.buildFrom(ContentSelector parentSelector,
Depth depth,
Fauxpansions fauxpansions) |
<HC extends ContentEntityObject> |
ContentFactory.buildFrom(Iterable<HC> entities,
Expansions expansions) |
Reference<Content> |
ContentFactory.buildRef(ContentEntityObject entity,
Fauxpansions fauxpansions) |
PageResponse<Content> |
ChildSupport.getChildrenList(ContentConvertible parent,
ContentType childType,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
Collection<String> location) |
Map<ContentType,PageResponse<Content>> |
ChildSupport.getChildrenMap(ContentConvertible parent,
LimitedRequest limitedRequest,
Expansions childExpansions,
Depth depth,
Collection<String> location)
Called from the
ContentFactory when expanding "children" on a Content item being built. |
Map<ContentType,PageResponse<Content>> |
ChildSupport.getChildrenMap(ContentSelector parentSelector,
LimitedRequest limitedRequest,
Expansions childExpansions,
Depth depth) |
Map<ContentType,PageResponse<Content>> |
ChildSupport.getChildrenMap(ContentSelector parentSelector,
LimitedRequest limitedRequest,
Expansions childExpansions,
Depth depth,
Collection<String> location) |
Modifier and Type | Method and Description |
---|---|
Map<ContentEntityObject,Map<String,Object>> |
DefaultContentMetadataFactory.buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap,
Fauxpansions fauxpansions) |
Map<ContentEntityObject,Map<String,Object>> |
ContentMetadataFactory.buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap,
Fauxpansions fauxpansions)
Make common metadata for a set of ContentEntityObject objects.
|
Reference<History> |
HistoryFactory.buildRef(ContentEntityObject entity,
Reference<Content> contentReference,
List<ConfluenceUser> editContributors,
Fauxpansions fauxpansions,
ContentFactory contentFactory) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
AttachmentContentTypeApiSupport.getAttachments(ContentId containerId,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super Attachment> predicate,
Expansions contentExpansions) |
com.atlassian.fugue.Option<Content> |
AttachmentContentTypeApiSupport.getById(ContentId attachmentId,
List<ContentStatus> statuses,
Expansions expansions) |
protected PageResponse<Content> |
AttachmentContentTypeApiSupport.getChildrenForThisType(Attachment content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
BlogPostContentTypeApiSupport.getChildrenForThisType(BlogPost content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
CommentContentTypeApiSupport.getChildrenForThisType(Comment content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
CommentContentTypeApiSupport.getChildrenForThisType(Comment content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate) |
protected PageResponse<Content> |
PageContentTypeApiSupport.getChildrenForThisType(Page content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
BlogPostContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
CommentContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
PageResponse<Content> |
AttachmentContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible parent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
PageContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
CommentContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate) |
Modifier and Type | Method and Description |
---|---|
BlogPost |
BlogPostContentTypeApiSupport.create(Content newContent) |
Comment |
CommentContentTypeApiSupport.create(Content newContent) |
Page |
PageContentTypeApiSupport.create(Content newContent) |
Attachment |
AttachmentContentTypeApiSupport.update(Content content,
Attachment entity) |
BlogPost |
BlogPostContentTypeApiSupport.update(Content updatedContent,
BlogPost blog) |
Comment |
CommentContentTypeApiSupport.update(Content contentToUpdate,
Comment entity) |
Page |
PageContentTypeApiSupport.update(Content updatedContent,
Page page) |
ValidationResult |
BlogPostContentTypeApiSupport.validateCreate(Content newContent) |
ValidationResult |
CommentContentTypeApiSupport.validateCreate(Content newContent) |
ValidationResult |
AttachmentContentTypeApiSupport.validateCreate(Content newContent) |
ValidationResult |
PageContentTypeApiSupport.validateCreate(Content newContent) |
ValidationResult |
AttachmentContentTypeApiSupport.validateUpdate(Content updatedContent,
Attachment existingEntity) |
ValidationResult |
BlogPostContentTypeApiSupport.validateUpdate(Content updatedContent,
BlogPost existingEntity) |
ValidationResult |
CommentContentTypeApiSupport.validateUpdate(Content updatedContent,
Comment existingEntity) |
ValidationResult |
PageContentTypeApiSupport.validateUpdate(Content updatedContent,
Page sceo) |
Modifier and Type | Method and Description |
---|---|
Content |
Content.ContentBuilder.build() |
Content |
JsonContentProperty.getContent() |
Modifier and Type | Method and Description |
---|---|
static Reference<Content> |
Content.buildReference(ContentId id)
Deprecated.
since 5.10. Use
buildReference(ContentSelector) |
static Reference<Content> |
Content.buildReference(ContentSelector selector) |
List<Content> |
Content.getAncestors() |
Map<ContentType,PageResponse<Content>> |
Content.getChildren()
Returns a map of the immediate sub-content of this Content, split by ContentType.
|
Reference<Content> |
History.getContentParentRef() |
Reference<Content> |
ContentBody.getContentRef() |
Reference<Content> |
JsonContentProperty.getContentRef() |
Reference<Content> |
Version.getContentRef() |
Map<ContentType,PageResponse<Content>> |
Content.getDescendants()
Returns a map of all sub-content of this Content, at any depth, split by ContentType.
|
Reference<Content> |
Space.getHomepageRef() |
com.atlassian.fugue.Option<Content> |
Content.getParent() |
static Reference<Content> |
History.getParentReference(Reference<History> historyReference) |
Modifier and Type | Method and Description |
---|---|
static Content.ContentBuilder |
Content.builder(Content content)
Returns a
Content.ContentBuilder instance that clones an existing Content object. |
ContentBody.ContentBodyBuilder |
ContentBody.ContentBodyBuilder.content(Content content) |
JsonContentProperty.ContentPropertyBuilder |
JsonContentProperty.ContentPropertyBuilder.content(Content content) |
static ContentSelector |
ContentSelector.from(Content content) |
Space.SpaceBuilder |
Space.SpaceBuilder.homepage(Content homepage) |
Content.ContentBuilder |
Content.ContentBuilder.parent(Content parent)
Shortcut method for creating ancestors with a single item of Content
|
Constructor and Description |
---|
ContentBody(ContentRepresentation representation,
String value,
Content content)
Deprecated.
since 5.9 , use
ContentBody.contentBodyBuilder() |
Constructor and Description |
---|
ContentBody(ContentRepresentation representation,
String value,
Reference<Content> contentReference)
Deprecated.
since 5.9 , use
ContentBody.contentBodyBuilder() |
ContentBody(ContentRepresentation representation,
String value,
Reference<Content> contentReference,
Reference<WebResourceDependencies> webresource)
Deprecated.
since 5.9 , use
ContentBody.contentBodyBuilder() |
Modifier and Type | Method and Description |
---|---|
Content |
ContentBlueprintInstance.getContent()
Get Content field
|
Modifier and Type | Method and Description |
---|---|
ContentBlueprintInstance.Builder |
ContentBlueprintInstance.Builder.content(Content content) |
Modifier and Type | Method and Description |
---|---|
Reference<Content> |
ContentRestriction.getContent() |
Modifier and Type | Method and Description |
---|---|
ContentRestriction.ContentRestrictionBuilder |
ContentRestriction.ContentRestrictionBuilder.content(Reference<Content> content) |
Modifier and Type | Field and Description |
---|---|
static FavouriteRelationDescriptor<Content> |
FavouriteRelationDescriptor.CONTENT_FAVOURITE
The relation type for user Content favourites.
|
static LikeRelationDescriptor<Content> |
LikeRelationDescriptor.CONTENT_LIKE
The relation type for user Content likes.
|
Modifier and Type | Method and Description |
---|---|
Content |
ContentSearchResult.getContent() |
Modifier and Type | Method and Description |
---|---|
Reference<Content> |
ContentSearchResult.getEntityRef() |
Modifier and Type | Method and Description |
---|---|
Content |
ContentWatch.getContent() |
Modifier and Type | Method and Description |
---|---|
Navigation.Builder |
Navigation.collection(Content content)
a builder to produce a URL to the collection that the content belongs to.
|
Navigation.ContentNav |
Navigation.content(Content content)
create a content nav builder to reference a piece of content
|
Navigation.ExperimentalContentNav |
Navigation.ExperimentalNav.content(Content content)
create a content nav builder to reference a piece of content
|
Modifier and Type | Method and Description |
---|---|
Navigation.ContentNav |
Navigation.content(Reference<Content> contentReference)
create a content nav builder to reference a piece of content
|
Navigation.ExperimentalContentNav |
Navigation.ExperimentalNav.content(Reference<Content> contentReference)
create a content nav builder to reference a piece of content
|
Modifier and Type | Method and Description |
---|---|
Content |
ContentService.create(Content newContent)
Create a piece of content.
|
Content |
ContentService.create(Content newContent,
Expansion... expansions)
Create a piece of content.
|
Content |
ContentDraftService.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy)
Update existing page/blog post that has an existing draft
|
Content |
ContentBlueprintService.publishInstance(Content content,
Expansion... expansions) |
Content |
ContentDraftService.publishNewDraft(Content content,
Expansion... expansions)
Publishes the draft.
|
Content |
ContentTrashService.restore(Content content)
Restore a trashed piece of content.
|
Content |
ContentService.update(Content content)
Updates a piece of content.
|
Content |
AttachmentService.update(Content attachment)
Updates the non-data parts of an Attachment
Content instance. |
Content |
AttachmentService.updateData(ContentId attachmentId,
AttachmentUpload upload)
Updates the data part of an Attachment
Content instance. |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
AttachmentService.addAttachments(ContentId containerId,
Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of
Content . |
PageResponse<Content> |
AttachmentService.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of
Content . |
PageResponse<Content> |
ContentService.ContentFetcher.fetchMany(ContentType type,
PageRequest request) |
PageResponse<Content> |
SpaceService.SpaceContentFinder.fetchMany(ContentType type,
PageRequest request)
Retrieve all content contained in this space of the particular type
|
PageResponse<Content> |
ChildContentService.ChildContentFinder.fetchMany(ContentType type,
PageRequest request)
Retrieve all content of the particular type contained in this parent.
|
Map<ContentType,PageResponse<Content>> |
ContentService.ContentFetcher.fetchMappedByContentType(PageRequest request) |
Map<ContentType,PageResponse<Content>> |
SpaceService.SpaceContentFinder.fetchMappedByType(PageRequest request)
Retrieve all content contained in this space mapped by ContentType
|
Map<ContentType,PageResponse<Content>> |
ChildContentService.ChildContentFinder.fetchMappedByType(PageRequest request)
Retrieve all content contained in this parent mapped by ContentType.
|
SingleFetcher<Content> |
AttachmentService.AttachmentFinder.withId(ContentId attachmentId)
Restrict the attachment returned by the fetch methods to those with the
given attachmentId
|
Modifier and Type | Method and Description |
---|---|
ContentBody |
ContentBodyConversionService.convertBody(Content content,
ContentRepresentation representation)
Same as calling
ContentBodyConversionService.convertBody(Content, ContentRepresentation, Expansion...) with an empty expansion. |
ContentBody |
ContentBodyConversionService.convertBody(Content content,
ContentRepresentation representation,
Expansion... expansions)
Convert the single ContentBody value in a
Content body map into another format, performing
validation during the conversion. |
Content |
ContentService.create(Content newContent)
Create a piece of content.
|
Content |
ContentService.create(Content newContent,
Expansion... expansions)
Create a piece of content.
|
void |
ContentService.delete(Content content)
Removes a piece of Content from the system.
|
void |
AttachmentService.delete(Content attachment)
Moves an Attachment to trash.
|
com.atlassian.fugue.Option<ContentBody> |
ContentBodyConversionService.getBodyToConvert(Content content,
ContentRepresentation representation)
Given a
Content object for which the body could be converted to a given ContentRepresentation ,
returns the ContentBody that would be used for the conversion. |
Content |
ContentDraftService.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy)
Update existing page/blog post that has an existing draft
|
Content |
ContentBlueprintService.publishInstance(Content content,
Expansion... expansions) |
Content |
ContentDraftService.publishNewDraft(Content content,
Expansion... expansions)
Publishes the draft.
|
void |
ContentTrashService.purge(Content content)
Permanently delete a piece of content.
|
Content |
ContentTrashService.restore(Content content)
Restore a trashed piece of content.
|
void |
ContentTrashService.trash(Content content)
Trash a piece of content.
|
Content |
ContentService.update(Content content)
Updates a piece of content.
|
Content |
AttachmentService.update(Content attachment)
Updates the non-data parts of an Attachment
Content instance. |
MergeValidationResult |
ContentDraftService.DraftValidator.validateContentForPageCreate(Content content)
Validate the publish new draft operation.
|
MergeValidationResult |
ContentDraftService.DraftValidator.validateContentForPageUpdate(Content content,
ContentDraftService.ConflictPolicy conflictPolicy)
Validate the publish edit draft operation.
|
ValidationResult |
ContentService.Validator.validateCreate(Content newContent)
Validate that a piece of content can be included, including permission checks.
|
ValidationResult |
ContentService.Validator.validateDelete(Content content)
Validate that a piece of content can be deleted, including permission checks.
|
ValidationResult |
AttachmentService.Validator.validateDelete(Content attachment)
Validate that an Attachment can be deleted, including permission checks.
|
ValidationResult |
ContentTrashService.Validator.validatePurge(Content content)
Validate that a piece of content can be purged, including permission checks.
|
ValidationResult |
ContentTrashService.Validator.validateRestore(Content content)
Validate that a piece of content can be restored, including permission checks.
|
ValidationResult |
ContentTrashService.Validator.validateTrash(Content content)
Validate that a piece of content can be trashed, including permission checks.
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
CQLSearchService.searchContent(String cqlInput,
Expansion... expansions)
Execute a CQL search query and fetch a page results.
|
PageResponse<Content> |
CQLSearchService.searchContent(String cqlInput,
PageRequest pageRequest,
Expansion... expansions)
Execute a CQL search query and fetch a page results.
|
PageResponse<Content> |
CQLSearchService.searchContent(String cqlInput,
SearchContext searchContext,
PageRequest pageRequest,
Expansion... expansions)
Execute a CQL search query and fetch a page results.
|
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Content> |
ContentMatchers.createdBy(Person user) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.createdBy(String username) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.createdDateAfter(org.joda.time.DateTime dateTime) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.createdDateBefore(org.joda.time.DateTime dateTime) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.hasId(Content content) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.hasId(ContentId contentId) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.hasSpace(String... spaceKey) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.hasStatus(ContentStatus contentStatus) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.hasTitle(String title) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.hasTitleContaining(String fragment) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.hasType(ContentType contentType) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.lastModifiedAfter(org.joda.time.DateTime dateTime) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.lastModifiedBefore(org.joda.time.DateTime dateTime) |
Modifier and Type | Method and Description |
---|---|
protected void |
DateContentMatcher.describeMismatchSafely(Content item,
org.hamcrest.Description mismatchDescription) |
protected abstract org.joda.time.DateTime |
DateContentMatcher.getDateTimeForContent(Content content) |
static org.hamcrest.Matcher<Content> |
ContentMatchers.hasId(Content content) |
protected boolean |
DateContentMatcher.matchesSafely(Content content) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
CustomContentManager.getChildrenOfType(ContentEntityObject entity,
String contentModuleKey,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super CustomContentEntityObject> predicate)
Returns the children of a CustomContentEntityObject, limited to the pagination requested.
|
PageResponse<Content> |
DefaultCustomContentManager.getChildrenOfType(ContentEntityObject entity,
String contentModuleKey,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super CustomContentEntityObject> predicate) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
ContentTypeApiSupport.getChildren(ContentConvertible content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate)
Retrieve the children of an item of Content filtered by a predicate.
|
PageResponse<Content> |
BaseContentTypeApiSupport.getChildren(ContentConvertible content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate)
Retrieve the children of an item of Content.
|
protected abstract PageResponse<Content> |
BaseContentTypeApiSupport.getChildrenForThisType(T content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
BaseContentTypeApiSupport.getChildrenForThisType(T content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate)
This method includes an additional parameter "location", it will call the default one if not overridden
|
protected abstract PageResponse<Content> |
BaseContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
CustomContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
BaseContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate)
This method includes an additional parameter "location", it will call the default one if not overridden
|
protected PageResponse<Content> |
CustomContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate) |
Modifier and Type | Method and Description |
---|---|
T |
ContentTypeApiSupport.create(Content content)
Create a new persistent entity for the given api content
|
T |
BaseContentTypeApiSupport.create(Content content) |
CustomContentEntityObject |
CustomContentTypeApiSupport.create(Content content) |
protected abstract void |
CustomContentTypeApiSupport.createCustomContentEntity(Content content,
CustomContentEntityObject newVersion)
Set the extension properties on the entity.
|
boolean |
ContentCreator.setCommonMetadata(Content updatedContent,
ContentEntityObject entity)
Sets the common metadata on the entity
|
void |
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 entity
|
boolean |
ContentCreator.setContentStatusOnEntity(Content updatedContent,
ContentEntityObject entity)
Sets the content status from updatedContent on the entity
|
boolean |
ContentCreator.setLabelsMetadataOnEntity(Content updatedContent,
ContentEntityObject entity)
Sets the labels metadata on the entity
|
void |
ContentCreator.setSpaceForCreate(Content newContent,
SpaceContentEntityObject spacedEntity,
com.atlassian.user.User authenticatedUser)
Sets the space in newContent on this spacedEntity
|
boolean |
ContentCreator.setTitleOnEntity(Content updatedContent,
ContentEntityObject entity)
Sets the title in updatedContent on the entity
|
CustomContentEntityObject |
CustomContentTypeApiSupport.update(Content content,
CustomContentEntityObject entity) |
T |
ContentTypeApiSupport.update(Content content,
T existingEntity)
Updates an existing persistent entity from the given api content
|
T |
BaseContentTypeApiSupport.update(Content content,
T entity) |
protected abstract boolean |
CustomContentTypeApiSupport.updateCustomContentEntity(Content content,
CustomContentEntityObject newVersion,
CustomContentEntityObject original)
Set the extension properties on the entity.
|
ValidationResult |
ContentCreator.validateCreate(ConfluenceUser confluenceUser,
Content newContent,
Class<? extends ContentEntityObject> entityClass)
Perform common validation checks for creation of content in a space
|
ValidationResult |
ContentTypeApiSupport.validateCreate(Content newContent)
Validate the create operation
|
ValidationResult |
BaseContentTypeApiSupport.validateCreate(Content newContent) |
ValidationResult |
ContentCreator.validateUpdate(ConfluenceUser user,
Content updatedContent,
ContentEntityObject entity)
Perform common validation checks for updating content
|
ValidationResult |
ContentTypeApiSupport.validateUpdate(Content oldContent,
T existingEntity)
Validate the update operation
|
ValidationResult |
BaseContentTypeApiSupport.validateUpdate(Content updatedContent,
T existingEntity) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultExcerpter.createExcerpt(Content content) |
String |
Excerpter.createExcerpt(Content content)
Creates an excerpt block from the provided content object without any tags excluded, using an implementation
specific number of blocks.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<Content,? extends AbstractContentEntity> |
ApiEntityConverter.convertApiContentToIt |
Modifier and Type | Method and Description |
---|---|
Content |
TestAttachmentFactory.addAttachment() |
static Content |
ApiEntityConverter.convertItAttachmentToApiContent(Attachment attachment) |
static Content |
ApiEntityConverter.convertItBlogPostToApiContent(BlogPost blogPost,
ContentRepresentation format) |
static Content |
ApiEntityConverter.convertItCommentToApiContent(Comment comment,
ContentRepresentation format) |
static Content |
ApiEntityConverter.convertItContentToApiContent(ContentEntity entity) |
static Content |
ApiEntityConverter.convertItPageToApiContent(Page page)
Converts an acceptance-test Page object into an API Content instance, where the body of the Content is in the
ContentRepresentation.STORAGE format. |
static Content |
ApiEntityConverter.convertItPageToApiContent(Page page,
ContentRepresentation format)
Converts an acceptance-test Page object into an API Content instance, where the body of the Content is in the
passed
ContentRepresentation format. |
Modifier and Type | Method and Description |
---|---|
List<Content> |
TestAttachmentFactory.addAttachments(int numFiles) |
PageResponse<Content> |
TestAttachmentFactory.addAttachments(int numFiles,
javax.ws.rs.core.MediaType contentType) |
static org.hamcrest.Matcher<Iterable<Content>> |
ContainsContentMatcher.containsContent(Content content) |
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Iterable<Content>> |
ContainsContentMatcher.containsContent(Content content) |
static Attachment |
ApiEntityConverter.convertApiContentToItAttachment(Content attachmentContent) |
static BlogPost |
ApiEntityConverter.convertApiContentToItBlogPost(Content content) |
static Comment |
ApiEntityConverter.convertApiContentToItComment(Content content) |
static Page |
ApiEntityConverter.convertApiContentToItPage(Content content) |
Modifier and Type | Method and Description |
---|---|
static List<Attachment> |
ApiEntityConverter.convertApiContentPageToItAttachments(PageResponse<Content> contents) |
static Page |
ApiEntityConverter.convertApiContentToItPage(com.atlassian.fugue.Option<Content> contentOption) |
Modifier and Type | Method and Description |
---|---|
Content |
DummyApiAvailableTestResource.content()
A rest resource that produces a static content object to test serialization, see RestApiContentAcceptanceTest
|
Modifier and Type | Method and Description |
---|---|
protected PageResponse<Content> |
DummyAvailableContentTypeSupport.getChildrenForThisType(CustomContentEntityObject content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
Modifier and Type | Method and Description |
---|---|
protected void |
DummyAvailableContentTypeSupport.createCustomContentEntity(Content content,
CustomContentEntityObject newVersion) |
protected boolean |
DummyAvailableContentTypeSupport.updateCustomContentEntity(Content content,
CustomContentEntityObject newVersion,
CustomContentEntityObject original) |
ValidationResult |
DummyAvailableContentTypeSupport.validateCreate(Content newContent) |
ValidationResult |
DummyAvailableContentTypeSupport.validateUpdate(Content updatedContent,
CustomContentEntityObject existingEntity) |
Modifier and Type | Method and Description |
---|---|
ContentId |
ConfluenceRpc.createContent(Content newContent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Content |
ContentRpc.createContent(Content content) |
Content |
ContentRpc.get(ContentId contentId,
Expansion... expansions) |
Modifier and Type | Method and Description |
---|---|
Content |
ContentRpc.createContent(Content content) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Function<CustomContentEntityObject,JsonContentProperty> |
JsonPropertyFactory.buildContentPropertyFromFunction(Content content,
Expansions expansions) |
JsonContentProperty |
JsonPropertyFactory.buildFrom(Content content,
CustomContentEntityObject storageContentProperty,
Expansions expansions)
Convert the given CustomContentEntityObject into a corresponding ContentProperty with the given container.
|
Modifier and Type | Method and Description |
---|---|
protected com.atlassian.fugue.Maybe<Map<String,Object>> |
LikeEventHipChatRenderContextProvider.getMediumSpecificContext(Content content,
LikePayload payload,
boolean recipientIsAuthor) |
protected com.atlassian.fugue.Maybe<Map<String,Object>> |
LikeEventEmailRenderContextProvider.getMediumSpecificContext(Content content,
LikePayload payload,
boolean recipientIsAuthor) |
protected abstract com.atlassian.fugue.Maybe<Map<String,Object>> |
AbstractLikeEventRenderContextProvider.getMediumSpecificContext(Content content,
LikePayload payload,
boolean recipientIsAuthor)
All the medium-specific context items (e.g.
|
Modifier and Type | Method and Description |
---|---|
Navigation.Builder |
RestNavigationImpl.collection(Content content) |
Navigation.ContentNav |
RestNavigationImpl.content(Content content) |
Modifier and Type | Method and Description |
---|---|
Navigation.ContentNav |
RestNavigationImpl.content(Reference<Content> contentReference) |
Modifier and Type | Method and Description |
---|---|
Content |
ContentResource.createContent(Content content,
ContentStatus status,
String expand)
Creates a new piece of Content or publishes the draft if the content id is present.
|
Content |
ContentResource.getContentById(ContentId id,
List<ContentStatus> statuses,
Integer version,
String expand)
Returns a piece of Content.
|
Content |
ContentBlueprintResource.publishLegacyDraft(ContentId draftId,
Content content,
ContentStatus status,
String expand)
Publishes a legacy draft of a Content created from a ContentBlueprint
|
Content |
ContentBlueprintResource.publishSharedDraft(ContentId draftId,
Content content,
ContentStatus status,
String expand)
Publishes a shared draft of a Content created from a ContentBlueprint
|
Content |
ContentResource.update(ContentId contentId,
Content content,
ContentStatus status,
ContentDraftService.ConflictPolicy conflictPolicy)
Updates a piece of Content, including changes to content status
|
Content |
AttachmentResource.update(String attachmentId,
Content attachment)
Update the non-binary data of an Attachment.
|
Content |
AttachmentResource.updateData(ContentId attachmentId,
com.atlassian.plugins.rest.common.multipart.FilePart filePart,
com.atlassian.plugins.rest.common.multipart.FilePart comment,
com.atlassian.plugins.rest.common.multipart.FilePart minorEdit,
com.atlassian.plugins.rest.common.multipart.FilePart hidden)
Update the binary data of an Attachment, and optionally the comment and the minor edit field.
|
Modifier and Type | Method and Description |
---|---|
Map<ContentType,PageResponse<Content>> |
ChildContentResource.children(ContentId contentId,
String expand,
Integer parentVersion,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns a map of the direct children of a piece of Content.
|
RestList<Content> |
ChildContentResource.childrenOfType(ContentId contentId,
ContentType type,
String expand,
Integer parentVersion,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns the direct children of a piece of Content, limited to a single child type.
|
RestList<Content> |
ChildContentResource.commentsOfContent(ContentId contentId,
String expand,
Integer parentVersion,
int start,
int limit,
Set<String> location,
String depth,
javax.ws.rs.core.UriInfo uriInfo)
Returns the comments of a content
|
Map<ContentType,RestList<Content>> |
SpaceResource.contents(String spaceKey,
String depth,
String expand,
int start,
int limit)
Returns the content in this given space
|
RestList<Content> |
SpaceResource.contentsWithType(String spaceKey,
String type,
String depth,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns the content in this given space with the given type
|
RestList<Content> |
AttachmentResource.createAttachments(ContentId containerId,
ContentStatus containerStatus,
List<com.atlassian.plugins.rest.common.multipart.FilePart> fileParts,
List<com.atlassian.plugins.rest.common.multipart.FilePart> comments,
List<com.atlassian.plugins.rest.common.multipart.FilePart> minorEdits,
List<com.atlassian.plugins.rest.common.multipart.FilePart> hiddens)
Add one or more attachments to a Confluence Content entity, with optional comments.
|
Map<ContentType,PageResponse<Content>> |
DescendantContentResource.descendants(ContentId contentId,
String expand,
javax.ws.rs.core.UriInfo uriInfo)
Returns a map of the descendants of a piece of Content.
|
RestList<Content> |
DescendantContentResource.descendantsOfType(ContentId contentId,
ContentType type,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns the direct descendants of a piece of Content, limited to a single descendant type.
|
RestList<Content> |
AttachmentResource.getAttachments(ContentId contentId,
String expand,
int start,
int limit,
String filename,
String mediaType,
javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of attachment Content entities within a single container.
|
PageResponse<Content> |
ContentResource.getContent(String type,
String spaceKey,
String title,
List<ContentStatus> statuses,
String postingDay,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of Content.
|
PageResponse<Content> |
ContentResource.search(String cql,
String cqlcontext,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Fetch a list of content using the Confluence Query Language (CQL).
|
Modifier and Type | Method and Description |
---|---|
Content |
ContentResource.createContent(Content content,
ContentStatus status,
String expand)
Creates a new piece of Content or publishes the draft if the content id is present.
|
Content |
ContentBlueprintResource.publishLegacyDraft(ContentId draftId,
Content content,
ContentStatus status,
String expand)
Publishes a legacy draft of a Content created from a ContentBlueprint
|
Content |
ContentBlueprintResource.publishSharedDraft(ContentId draftId,
Content content,
ContentStatus status,
String expand)
Publishes a shared draft of a Content created from a ContentBlueprint
|
Content |
ContentResource.update(ContentId contentId,
Content content,
ContentStatus status,
ContentDraftService.ConflictPolicy conflictPolicy)
Updates a piece of Content, including changes to content status
|
Content |
AttachmentResource.update(String attachmentId,
Content attachment)
Update the non-binary data of an Attachment.
|
Modifier and Type | Method and Description |
---|---|
void |
TouchRelationSupport.handleTouchRelations(Content input)
Modifies touch relations for a draft/current page pair to the correct state
as though the logged in user just modified the associated content.
|
void |
TouchRelationSupportImpl.handleTouchRelations(Content input) |
Constructor and Description |
---|
RestPageRequest(Navigation.Builder navBuilder,
PageResponse<Content> response) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.addAttachments(ContentId contentId,
Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of
Content . |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentServiceImpl.addAttachments(ContentId contentId,
Collection<AttachmentUpload> uploads) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.addAttachments(ContentId contentId,
ContentStatus status,
Collection<AttachmentUpload> uploads) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentServiceImpl.addAttachments(ContentId contentId,
ContentStatus status,
Collection<AttachmentUpload> uploads) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentService.create(Content newContent)
Create a piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentServiceImpl.create(Content newContent) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentService.create(Content newContent,
Expansion... expansions)
Create a piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentServiceImpl.create(Content newContent,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteChildContentService.RemoteChildContentFinder.fetchMany(ContentType type,
PageRequest request)
Retrieve a paged list of content of the given type contained in this parent
|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteContentService.RemoteContentFetcher.fetchMany(ContentType type,
PageRequest request) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteSpaceServiceImpl.RemoteSpaceContentFinderImpl.fetchMany(ContentType type,
PageRequest request) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteSpaceService.RemoteSpaceContentFinder.fetchMany(ContentType type,
PageRequest request)
Retrieve a paged list of content of the given type contained in this space
|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteChildContentServiceImpl.RemoteChildContentFinderImpl.fetchMany(ContentType type,
PageRequest request) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteContentServiceImpl.RemoteContentFinderImpl.fetchMany(ContentType type,
PageRequest request) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.RemoteAttachmentFinder.fetchMany(PageRequest request) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl.fetchMany(PageRequest request) |
com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> |
RemoteContentService.RemoteContentFetcher.fetchMappedByContentType(PageRequest request) |
com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> |
RemoteContentServiceImpl.RemoteContentFinderImpl.fetchMappedByContentType(PageRequest request) |
com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> |
RemoteChildContentService.RemoteChildContentFinder.fetchMappedByType(PageRequest request)
Retrieve the content contained in this parent.
|
com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> |
RemoteSpaceServiceImpl.RemoteSpaceContentFinderImpl.fetchMappedByType(PageRequest request) |
com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> |
RemoteSpaceService.RemoteSpaceContentFinder.fetchMappedByType(PageRequest request)
Retrieve the all content contained in this space.
|
com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> |
RemoteChildContentServiceImpl.RemoteChildContentFinderImpl.fetchMappedByType(PageRequest request) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> |
RemoteContentService.RemoteSingleContentFetcher.fetchOne() |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> |
RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl.fetchOne() |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> |
RemoteContentServiceImpl.RemoteContentFinderImpl.fetchOne() |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentService.RemoteSingleContentFetcher.fetchOneOrNull() |
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl.fetchOneOrNull() |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentServiceImpl.RemoteContentFinderImpl.fetchOneOrNull() |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> |
RemoteContentServiceImpl.RemoteContentFinderImpl.fetchOneUsingExperimental() |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteContentService.getChildren(Content parent,
PageRequest pageRequest,
Expansion... expansion)
Retrieve the children of an item of Content.
|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteContentServiceImpl.getChildren(Content parent,
PageRequest pageRequest,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentDraftServiceImpl.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentDraftService.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy)
Update content
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentBlueprintServiceImpl.publishInstance(Content content,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentBlueprintService.publishInstance(Content content,
Expansion... expansions)
Publishes the draft from blueprints.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentDraftServiceImpl.publishNewDraft(Content content,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentDraftService.publishNewDraft(Content content,
Expansion... expansions)
Publishes the draft.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentService.restore(Content content)
Restore a trashed piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentTrashService.restore(Content content)
Restore a trashed piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentServiceImpl.restore(Content content) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteCQLSearchService.searchContent(String cql,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteCQLSearchServiceImpl.searchContent(String cql,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteCQLSearchService.searchContent(String cql,
PageRequest request,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteCQLSearchServiceImpl.searchContent(String cql,
PageRequest request,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteCQLSearchService.searchContent(String cqlInput,
SearchContext searchContext,
PageRequest pageRequest,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteCQLSearchServiceImpl.searchContent(String cqlInput,
SearchContext searchContext,
PageRequest request,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentService.trash(Content content)
Trash a piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentServiceImpl.trash(Content content) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentService.update(Content content)
Updates a piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentService.update(Content attachment)
Updates the non-data parts of an Attachment
Content instance. |
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentServiceImpl.update(Content attachment) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentServiceImpl.update(Content content) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentService.updateData(ContentId attachmentId,
AttachmentUpload upload)
Updates the data part of an Attachment
Content instance. |
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentServiceImpl.updateData(ContentId attachmentId,
AttachmentUpload upload) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentService.create(Content newContent)
Create a piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentServiceImpl.create(Content newContent) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentService.create(Content newContent,
Expansion... expansions)
Create a piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentServiceImpl.create(Content newContent,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentService.delete(Content content)
Removes an item of Content from the system.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteAttachmentService.delete(Content attachmentContent)
Removes an Attachment from the system.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteAttachmentServiceImpl.delete(Content attachmentContent) |
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentServiceImpl.delete(Content content) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteContentService.getChildren(Content parent,
PageRequest pageRequest,
Expansion... expansion)
Retrieve the children of an item of Content.
|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteContentServiceImpl.getChildren(Content parent,
PageRequest pageRequest,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentDraftServiceImpl.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentDraftService.publishEditDraft(Content content,
ContentDraftService.ConflictPolicy conflictPolicy)
Update content
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentBlueprintServiceImpl.publishInstance(Content content,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentBlueprintService.publishInstance(Content content,
Expansion... expansions)
Publishes the draft from blueprints.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentDraftServiceImpl.publishNewDraft(Content content,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentDraftService.publishNewDraft(Content content,
Expansion... expansions)
Publishes the draft.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentService.purge(Content content)
Permanently delete a trashed piece of content.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentTrashService.purge(Content content)
Permanently delete a piece of content.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentServiceImpl.purge(Content content) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentService.restore(Content content)
Restore a trashed piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentTrashService.restore(Content content)
Restore a trashed piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentServiceImpl.restore(Content content) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentService.trash(Content content)
Trash a piece of content.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentTrashService.trash(Content content)
Trash a piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentServiceImpl.trash(Content content) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentService.update(Content content)
Updates a piece of content.
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentService.update(Content attachment)
Updates the non-data parts of an Attachment
Content instance. |
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentServiceImpl.update(Content attachment) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentServiceImpl.update(Content content) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentTrashServiceImpl.restore(Content content) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentTrashServiceImpl.purge(Content content) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteContentTrashServiceImpl.restore(Content content) |
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentTrashServiceImpl.trash(Content content) |
Modifier and Type | Method and Description |
---|---|
Content |
ContentDeserializer.deserialize(org.codehaus.jackson.JsonParser jp,
org.codehaus.jackson.map.DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
List<Content> |
BreadcrumbsTest.createPageHierarchy(Space space,
int depth,
String pageTitlePrefix) |
protected List<Content> |
MovePageTest.createPageHierarchy(String pagePrefix,
int depth,
com.atlassian.confluence.test.stateless.fixtures.SpaceFixture space)
Create a simple hierarchy of pages where each page is the parent of the next.
|
com.atlassian.fugue.Option<Content> |
AttachmentsTest.fetchAttachmentComment(Content comment) |
Modifier and Type | Method and Description |
---|---|
static void |
PageLabelsTest.addLabels(Content page,
String... labels) |
static void |
PageLabelsTest.addLabels(Content page,
com.atlassian.confluence.test.api.model.person.UserWithDetails user,
String... labels) |
com.atlassian.fugue.Option<Content> |
AttachmentsTest.fetchAttachmentComment(Content comment) |
static com.atlassian.confluence.webdriver.pageobjects.page.content.ManageWatchersDialog |
ManageWatchersTest.openManageWatchersDialog(Content page) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractContentRestrictionTest.setAndThenRemoveRestrictionOnInfoPage(com.atlassian.confluence.test.api.model.person.UserWithDetails user,
Content content,
OperationKey operationKey) |
Modifier and Type | Method and Description |
---|---|
protected PageResponse<Content> |
DummyOriginalVersionContentTypeApiSupport.getChildrenForThisType(CustomContentEntityObject content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
DummyCurrentVersionContentTypeApiSupport.getChildrenForThisType(CustomContentEntityObject content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
DummyOriginalVersionContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
DummyCurrentVersionContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
Copyright © 2003–2017 Atlassian. All rights reserved.