Uses of Class
com.atlassian.confluence.api.model.content.id.ContentId
-
-
Uses of ContentId in com.atlassian.confluence.api.impl.service.content
Methods in com.atlassian.confluence.api.impl.service.content with parameters of type ContentId Modifier and Type Method Description PageResponse<Content>
AttachmentServiceImpl. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads)
PageResponse<Content>
AttachmentServiceImpl. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
PageResponse<Content>
AttachmentServiceImpl. addAttachments(ContentId containerId, Collection<AttachmentUpload> uploads)
PageResponse<Label>
ContentLabelServiceImpl. addLabels(ContentId contentId, Iterable<Label> labels)
void
ContentVersionServiceImpl. delete(ContentId contentId, int versionNumber)
ChildContentService.ChildContentFinder
ChildContentServiceImpl. findContent(ContentId parentId, Expansion... expansions)
ContentMacroService.MacroInstanceFinder
ContentMacroServiceImpl. findInContent(ContentId contentId, Expansion... expansion)
PageResponse<Label>
ContentLabelServiceImpl. getLabels(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest pageRequest)
void
ContentLabelServiceImpl. removeLabel(@NonNull ContentId contentId, @NonNull Label label)
void
ContentLabelServiceImpl. removeLabel(ContentId contentId, String label)
Deprecated.since 6.5.0 use {ContentLabelServiceImpl.removeLabel(ContentId, Label)
}Version
ContentVersionServiceImpl. restore(ContentId contentId, VersionRestoreParameters versionRestoreParameters, Expansion... expansions)
Content
AttachmentServiceImpl. updateData(ContentId attachmentId, AttachmentUpload upload)
-
Uses of ContentId in com.atlassian.confluence.api.impl.service.content.draft
Methods in com.atlassian.confluence.api.impl.service.content.draft with parameters of type ContentId Modifier and Type Method Description void
ContentDraftServiceImpl. deleteDraft(ContentId contentId)
void
LegacyContentDraftServiceImpl. deleteDraft(ContentId draftId)
void
SharedContentDraftServiceImpl. deleteDraft(ContentId contentId)
ValidationResult
LegacyDraftValidator. validateDelete(ContentId draftId)
-
Uses of ContentId in com.atlassian.confluence.api.impl.service.content.finder
Methods in com.atlassian.confluence.api.impl.service.content.finder with parameters of type ContentId Modifier and Type Method Description static Predicate<? super ContentEntityObject>
FinderPredicates. containerPredicate(@NonNull ContentId containerId)
Create a predicate that matchesContained
instances that have the same container ID, for exampleAttachment
s orComment
s on the same page.Method parameters in com.atlassian.confluence.api.impl.service.content.finder with type arguments of type ContentId Modifier and Type Method Description static Predicate<? super ContentEntityObject>
FinderPredicates. createContentIdPredicate(List<ContentId> contentIds)
-
Uses of ContentId in com.atlassian.confluence.api.impl.service.content.typebinding
Methods in com.atlassian.confluence.api.impl.service.content.typebinding that return types with arguments of type ContentId Modifier and Type Method Description Map<ContentId,Map<String,Object>>
AttachmentContentTypeApiSupport. getExtensions(Iterable<Attachment> attachments, Expansions expansions)
Map<ContentId,Map<String,Object>>
CommentContentTypeApiSupport. getExtensions(Iterable<Comment> contentEntities, Expansions expansions)
Map<ContentId,Map<String,Object>>
PageContentTypeApiSupport. getExtensions(Iterable<Page> pages, Expansions expansions)
Methods in com.atlassian.confluence.api.impl.service.content.typebinding with parameters of type ContentId Modifier and Type Method Description PageResponse<Content>
AttachmentContentTypeApiSupport. getAttachments(ContentId containerId, LimitedRequest limitedRequest, com.google.common.base.Predicate<? super Attachment> predicate, Expansions contentExpansions)
Optional<Content>
AttachmentContentTypeApiSupport. getById(ContentId attachmentId, List<ContentStatus> statuses, Expansions expansions)
-
Uses of ContentId in com.atlassian.confluence.api.impl.service.permissions
Methods in com.atlassian.confluence.api.impl.service.permissions with parameters of type ContentId Modifier and Type Method Description void
ContentRestrictionServiceImpl. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
ContentRestrictionsPageResponse
ContentRestrictionServiceImpl. addRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
ContentRestrictionsPageResponse
ContentRestrictionServiceImpl. deleteAllDirectRestrictions(ContentId target, Expansion... expansions)
void
ContentRestrictionServiceImpl. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
ContentRestrictionsPageResponse
ContentRestrictionServiceImpl. getRestrictions(ContentId target, PageRequest pageRequest, Expansion... allExpansions)
ContentRestriction
ContentRestrictionServiceImpl. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... allExpansions)
Map<OperationKey,ContentRestriction>
ContentRestrictionServiceImpl. getRestrictionsGroupByOperation(ContentId target, Expansion... allExpansions)
boolean
ContentRestrictionServiceImpl. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
ContentRestrictionsPageResponse
ContentRestrictionServiceImpl. updateRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
ValidationResult
DefaultContentRestrictionServiceValidator. validateAddDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
ValidationResult
DefaultContentRestrictionServiceValidator. validateAddRestrictions(ContentId contentId, Collection<? extends ContentRestriction> contentRestrictions)
ValidationResult
DefaultContentRestrictionServiceValidator. validateDeleteAllDirectRestrictions(ContentId contentId)
ValidationResult
DefaultContentRestrictionServiceValidator. validateDeleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
ValidationResult
DefaultContentRestrictionServiceValidator. validateGetRestrictions(ContentId contentId)
ValidationResult
DefaultContentRestrictionServiceValidator. validateGetRestrictionsForOperation(ContentId contentId, OperationKey opKey)
ValidationResult
DefaultContentRestrictionServiceValidator. validateHasDirectRestrictionsForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
ValidationResult
DefaultContentRestrictionServiceValidator. validateUpdateRestrictions(ContentId contentId, Collection<? extends ContentRestriction> contentRestrictions)
-
Uses of ContentId in com.atlassian.confluence.api.impl.service.watch
Methods in com.atlassian.confluence.api.impl.service.watch with parameters of type ContentId Modifier and Type Method Description boolean
WatchServiceImpl. isWatchingContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
void
WatchServiceImpl. unwatchContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
ValidationResult
WatchServiceImpl.ValidatorImpl. validateWatchContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
Deprecated.ContentWatch
WatchServiceImpl. watchContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
-
Uses of ContentId in com.atlassian.confluence.api.model.content
Methods in com.atlassian.confluence.api.model.content that return ContentId Modifier and Type Method Description static ContentId
Content. getContentId(Reference<Content> contentRef)
Deprecated.since 5.10.ContentId
Content. getId()
ContentId
ContentSelector. getId()
ContentId
Content. getParentId()
Methods in com.atlassian.confluence.api.model.content with parameters of type ContentId Modifier and Type Method Description static Content.ContentBuilder
Content. builder(ContentType type, ContentId id)
Returns aContent.ContentBuilder
instance that can be used to create a newContent
object.static Reference<Content>
Content. buildReference(ContentId id)
Deprecated.since 5.10.ContentBody.ContentBodyBuilder
ContentBody.ContentBodyBuilder. contentId(ContentId contentId)
Deprecated.since 5.10.static ContentSelector
ContentSelector. fromId(ContentId contentId)
Deprecated.since 5.10.Content.ContentBuilder
Content.ContentBuilder. id(ContentId id)
ContentSelector.ContentSelectorBuilder
ContentSelector.ContentSelectorBuilder. id(ContentId id)
Constructors in com.atlassian.confluence.api.model.content with parameters of type ContentId Constructor Description ContentBody(ContentRepresentation representation, String value, ContentId contentId)
Deprecated.since 5.9 , useContentBody.contentBodyBuilder()
ContentBuilder(ContentType type, ContentId id)
Create new builders withContent.builder(ContentType)
and aContentId
. -
Uses of ContentId in com.atlassian.confluence.api.model.content.id
Subclasses of ContentId in com.atlassian.confluence.api.model.content.id Modifier and Type Class Description class
AttachmentContentId
Deprecated.since 6.10.0, useContentId
Fields in com.atlassian.confluence.api.model.content.id declared as ContentId Modifier and Type Field Description static ContentId
ContentId. UNSET
static ContentId
JsonContentPropertyId. UNSET
Methods in com.atlassian.confluence.api.model.content.id that return ContentId Modifier and Type Method Description static ContentId
ContentId. deserialise(String id)
static ContentId
ContentId. of(long id)
static ContentId
ContentId. of(ContentType type, long id)
Deprecated.since 6.10.0 useof(long)
static ContentId
ContentId. valueOf(String id)
Don't use this method - it's just for Jersey QueryParam automatic conversion.Methods in com.atlassian.confluence.api.model.content.id with parameters of type ContentId Modifier and Type Method Description int
AttachmentContentId. compareTo(ContentId other)
Deprecated.int
ContentId. compareTo(ContentId other)
-
Uses of ContentId in com.atlassian.confluence.api.model.permissions
Methods in com.atlassian.confluence.api.model.permissions that return ContentId Modifier and Type Method Description ContentId
Target.IdTarget. getId()
Methods in com.atlassian.confluence.api.model.permissions with parameters of type ContentId Modifier and Type Method Description static Target
Target. forContentId(ContentId id, TargetType type)
Create aTarget
from content idContentRestrictionsPageResponse.ContentRestrictionPageResponseBuilder
ContentRestrictionsPageResponse.ContentRestrictionPageResponseBuilder. withContentId(ContentId contentId)
-
Uses of ContentId in com.atlassian.confluence.api.model.search
Methods in com.atlassian.confluence.api.model.search that return types with arguments of type ContentId Modifier and Type Method Description Optional<ContentId>
SearchContext. contentId()
com.atlassian.fugue.Option<ContentId>
SearchContext. getContentId()
Deprecated.since 7.0.1.Methods in com.atlassian.confluence.api.model.search with parameters of type ContentId Modifier and Type Method Description SearchContext.Builder
SearchContext.Builder. contentId(ContentId contentId)
-
Uses of ContentId in com.atlassian.confluence.api.model.watch
Constructors in com.atlassian.confluence.api.model.watch with parameters of type ContentId Constructor Description ContentWatch(@NonNull User watcher, @NonNull ContentId contentId)
-
Uses of ContentId in com.atlassian.confluence.api.nav
Methods in com.atlassian.confluence.api.nav with parameters of type ContentId Modifier and Type Method Description Navigation.ContentNav
Navigation. content(ContentId contentId)
Deprecated.since 5.10 UseNavigation.content(ContentSelector)
.Navigation.ExperimentalContentNav
Navigation.ExperimentalNav. content(ContentId contentId)
Deprecated.since 5.10. -
Uses of ContentId in com.atlassian.confluence.api.service.content
Methods in com.atlassian.confluence.api.service.content with parameters of type ContentId Modifier and Type Method Description PageResponse<Content>
AttachmentService. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece ofContent
.PageResponse<Content>
AttachmentService. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
Add one or more attachments to a piece ofContent
.PageResponse<Content>
AttachmentService. addAttachments(ContentId containerId, Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece ofContent
.PageResponse<Label>
ContentLabelService. addLabels(ContentId contentId, Iterable<Label> labels)
Adds the given labels to the specified contentboolean
AttachmentService.Validator. canCreateAttachments(ContentId containerId)
Checks if the user is permitted to add attachments to the current version of the given contentboolean
AttachmentService.Validator. canCreateAttachments(ContentId containerId, ContentStatus status)
Checks if the user is permitted to add attachments to the given contentvoid
ContentVersionService. delete(ContentId contentId, int versionNumber)
Delete the version of content.void
ContentDraftService. deleteDraft(ContentId contentId)
Deletes the draft for this content.ChildContentService.ChildContentFinder
ChildContentService. findContent(ContentId parentId, Expansion... expansion)
A finder to locateContent
under a parent.ContentMacroService.MacroInstanceFinder
ContentMacroService. findInContent(ContentId contentId, Expansion... expansion)
Create a macro instance finder to locate macro instances in the given ContentPageResponse<Label>
ContentLabelService. getLabels(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest pageRequest)
Get the labels attached to a given piece of content in the given namespacesvoid
ContentLabelService. removeLabel(@NonNull ContentId contentId, @NonNull Label label)
Removes the given label the content with the given contentIdvoid
ContentLabelService. removeLabel(ContentId contentId, String label)
Deprecated.since 6.5.0, useContentLabelService.removeLabel(ContentId, Label)
Version
ContentVersionService. restore(ContentId contentId, VersionRestoreParameters versionRestoreParameters, Expansion... expansions)
Restore on version of content, update current content with that version then increment version number of current version.Content
AttachmentService. updateData(ContentId attachmentId, AttachmentUpload upload)
Updates the data part of an AttachmentContent
instance.ValidationResult
ContentLabelService.Validator. validateAddLabels(ContentId contentId, Label... labels)
Validates that the list of labels can be added to the given contentValidationResult
ContentDraftService.DraftValidator. validateDelete(ContentId contentId)
Validates whether a draft can be deletedValidationResult
ContentVersionService.Validator. validateDelete(ContentId contentId, int versionNumber)
Validate delete operationValidationResult
ContentVersionService.Validator. validateGet(ContentId contentId)
Validate get operationValidationResult
ContentVersionService.Validator. validateRestore(ContentId contentId, VersionRestoreParameters restData)
Validate restore operationAttachmentService.AttachmentFinder
AttachmentService.AttachmentFinder. withContainerId(ContentId parentId)
Restrict the attachments returned to those with the given parent.ContentPropertyService.ParameterContentPropertyFinder
ContentPropertyService.ParameterContentPropertyFinder. withContentId(ContentId contentId)
SingleFetcher<Content>
AttachmentService.AttachmentFinder. withId(ContentId attachmentId)
Restrict the attachment returned by the fetch methods to those with the given attachmentIdContentService.SingleContentFetcher
ContentService.ContentFinder. withId(ContentId contentId)
Restrict the fetched content to that with the given ContentIdContentService.ParameterContentFinder
ContentService.ParameterContentFinder. withId(ContentId first, ContentId... tail)
Restrict the fetched content to those with the given ids, requires at least two ContentIds.ContentVersionService.ParameterVersionFinder
ContentVersionService.ParameterVersionFinder. withId(ContentId contentId)
When query with Id, it will return list of Versions ordered by descending version.ContentService.SingleContentFetcher
ContentService.ContentFinder. withIdAndVersion(ContentId contentId, int version)
Restrict the fetched content to that matching the given versionSingleFetcher<Version>
ContentVersionService.VersionFinder. withIdAndVersion(ContentId contentId, int versionNumber)
When Version is set, search will find the particular version and return a single version.Method parameters in com.atlassian.confluence.api.service.content with type arguments of type ContentId Modifier and Type Method Description ContentPropertyService.ParameterContentPropertyFinder
ContentPropertyService.ParameterContentPropertyFinder. withContentIds(List<ContentId> contentIds)
ContentService.ParameterContentFinder
ContentService.ParameterContentFinder. withId(Iterable<ContentId> contentIds)
Restrict the fetched content to those with the given ids -
Uses of ContentId in com.atlassian.confluence.api.service.eviction
Methods in com.atlassian.confluence.api.service.eviction with parameters of type ContentId Modifier and Type Method Description void
SynchronyDataService. removeHistoryFor(ContentId contentId)
This method removes Synchrony history for given content. -
Uses of ContentId in com.atlassian.confluence.api.service.permissions
Methods in com.atlassian.confluence.api.service.permissions with parameters of type ContentId Modifier and Type Method Description void
ContentRestrictionService. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Adds singular directContentRestriction
foroperationKey
andsubject
to the content identified bycontentId
parameter.ContentRestrictionsPageResponse
ContentRestrictionService. addRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Attempts to add all the restrictions specified to a piece of content identified bycontentId
.ContentRestrictionsPageResponse
ContentRestrictionService. deleteAllDirectRestrictions(ContentId target, Expansion... expansions)
Attempts to delete all the restrictions specified directly on a piece of content identified bycontentId
.void
ContentRestrictionService. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deletes singular directContentRestriction
foroperationKey
andsubject
from the content identified bycontentId
parameter.ContentRestrictionsPageResponse
ContentRestrictionService. getRestrictions(ContentId target, PageRequest pageRequest, Expansion... expansions)
Retrieves all the restrictions for all the operations on a given Content.ContentRestriction
ContentRestrictionService. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)
Retrieves all restrictions for given operation key on given content.Map<OperationKey,ContentRestriction>
ContentRestrictionService. getRestrictionsGroupByOperation(ContentId target, Expansion... expansions)
List all restrictions that exist directly on the given content.boolean
ContentRestrictionService. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Returnstrue
if the User or Group specified by thesubject
parameter has restriction(s) for theoperationKey
operation which are specified directly on the Content identified bycontentId
parameter.ContentRestrictionsPageResponse
ContentRestrictionService. updateRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Sets all the restrictions specified to a piece of content identified bycontentId
, replacing any existing permissions.ValidationResult
ContentRestrictionService.Validator. validateAddDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Validates that: OperationKey supplied is supported Subject supplied is either User or a Group and does exist Content specified exists AND can be viewed by the currently logged-in user Currently logged-in user is allowed to alter ContentRestrictions on and edit the content specifiedValidationResult
ContentRestrictionService.Validator. validateAddRestrictions(ContentId contentId, Collection<? extends ContentRestriction> contentRestrictions)
Validates that: Content specified exists AND can be viewed by the currently logged-in user Currently logged-in user is allowed to alter ContentRestrictions on and edit the content specified Input data is enough to proceed with the operation Input data should not conflict with any restrictions existingValidationResult
ContentRestrictionService.Validator. validateDeleteAllDirectRestrictions(ContentId contentId)
Validates that: Content specified exists AND can be viewed by the currently logged-in user Currently logged-in user is allowed to alter ContentRestrictions on and edit the content specifiedValidationResult
ContentRestrictionService.Validator. validateDeleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Validates that: OperationKey supplied is supported Subject supplied is either User or a Group Content specified exists AND can be viewed by the currently logged-in user Currently logged-in user is allowed to alter ContentRestrictions on and edit the content specifiedValidationResult
ContentRestrictionService.Validator. validateGetRestrictions(ContentId contentId)
Validates whether content specified exists and whether currently logged in user can read restrictions on a content specified.ValidationResult
ContentRestrictionService.Validator. validateGetRestrictionsForOperation(ContentId contentId, OperationKey opKey)
Validates whether OperationKey supplied is supported, whether content specified exists, whether currently logged in user can read restrictions on a content specifiedValidationResult
ContentRestrictionService.Validator. validateHasDirectRestrictionsForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Validates that: OperationKey supplied is supported Subject supplied is either User or a Group Content specified exists AND can be viewed by the currently logged-in userValidationResult
ContentRestrictionService.Validator. validateUpdateRestrictions(ContentId contentId, Collection<? extends ContentRestriction> contentRestrictions)
Validates that: Content specified exists AND can be viewed by the currently logged-in user Input data is enough to proceed with the operation Currently logged-in user is allowed to alter ContentRestrictions on and edit the content specified Returns first of the failed validation results or aValidationResult
which is both authorised and valid. -
Uses of ContentId in com.atlassian.confluence.api.service.watch
Methods in com.atlassian.confluence.api.service.watch with parameters of type ContentId Modifier and Type Method Description boolean
WatchService. isWatchingContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
void
WatchService. unwatchContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
Remove a watch to the givencontent
ValidationResult
WatchService.Validator. validateWatchContent(com.atlassian.sal.api.user.UserKey userKey, ContentId content)
Deprecated.Validate that the user can watch a Content.ContentWatch
WatchService. watchContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
Create a watch to the givencontent
-
Uses of ContentId in com.atlassian.confluence.api.service.web
Methods in com.atlassian.confluence.api.service.web with parameters of type ContentId Modifier and Type Method Description WebView
WebViewService. forContent(ContentId contentId)
Provides a new WebView.WebView
WebViewService. forContent(ContentId contentId, Map<String,Object> additionalContext)
Provides a new WebView. -
Uses of ContentId in com.atlassian.confluence.api.testsupport.matchers.model.content
Methods in com.atlassian.confluence.api.testsupport.matchers.model.content with parameters of type ContentId Modifier and Type Method Description static org.hamcrest.Matcher<Content>
ContentMatchers. hasId(ContentId contentId)
-
Uses of ContentId in com.atlassian.confluence.content
Methods in com.atlassian.confluence.content that return ContentId Modifier and Type Method Description ContentId
CustomContentEntityObject. getContentId()
-
Uses of ContentId in com.atlassian.confluence.content.apisupport
Methods in com.atlassian.confluence.content.apisupport that return types with arguments of type ContentId Modifier and Type Method Description Map<ContentId,Map<String,Object>>
BaseContentTypeApiSupport. getExtensions(Iterable<T> contentEntities, Expansions expansions)
Get the set of extension properties for the collection of contentEntity Ids.Map<ContentId,Map<String,Object>>
CommentExtensionsSupport. getExtensions(Iterable<Comment> comments, Expansions expansions)
Get the map of extension properties for each of the comment entitiesMap<ContentId,Map<String,Object>>
ContentTypeApiSupport. getExtensions(Iterable<T> contentEntities, Expansions expansions)
Get the set of extension properties for the collection of contentEntity Ids.Map<ContentId,Map<String,Object>>
NullCommentExtensionsSupport. getExtensions(Iterable<Comment> comments, Expansions expansions)
-
Uses of ContentId in com.atlassian.confluence.core
Methods in com.atlassian.confluence.core that return ContentId Modifier and Type Method Description ContentId
ContentEntityObject. getContentId()
Returns theContentId
for this entity object, if it implementsContentConvertible
.Method parameters in com.atlassian.confluence.core with type arguments of type ContentId Modifier and Type Method Description Map<Long,ContributionStatus>
ContentEntityManager. getContributionStatusByUser(@NonNull Collection<ContentId> contentIds, @Nullable com.atlassian.sal.api.user.UserKey userKey)
Identifies the most recent contributions made to a set of content by the given user.@NonNull Map<Long,ContentEntityObject>
ContentEntityManager. getVersionsLastEditedByUser(@NonNull Collection<ContentId> contentIds, @Nullable com.atlassian.sal.api.user.UserKey userKey)
Gets theContentEntityObject
objects relating to the version of the given contentIds that were last edited by the given user. -
Uses of ContentId in com.atlassian.confluence.core.persistence
Method parameters in com.atlassian.confluence.core.persistence with type arguments of type ContentId Modifier and Type Method Description Map<Long,ContributionStatus>
ContentEntityObjectDao. getContributionStatusByUser(Collection<ContentId> contentIds, com.atlassian.sal.api.user.UserKey userKey)
Identifies the most recent contributions made to a Collection of content by the given user. -
Uses of ContentId in com.atlassian.confluence.event.events.content.page.synchrony
Methods in com.atlassian.confluence.event.events.content.page.synchrony that return ContentId Modifier and Type Method Description ContentId
ContentUpdatedEvent. getContentId()
ContentId
SynchronyRecoveryEvent. getCurrentContentId()
Constructors in com.atlassian.confluence.event.events.content.page.synchrony with parameters of type ContentId Constructor Description ContentUpdatedEvent(ConfluenceUser user, ContentId contentId, ContentStatus contentStatus, String spaceKey, String syncRev)
ContentUpdatedEvent(ConfluenceUser user, ContentId contentId, ContentStatus contentStatus, String spaceKey, String syncRev, PageUpdateTrigger updateTrigger)
SynchronyRecoveryEvent(ConfluenceUser user, @NonNull ContentId contentId, @NonNull String recoveryState)
-
Uses of ContentId in com.atlassian.confluence.impl.content
Methods in com.atlassian.confluence.impl.content with parameters of type ContentId Modifier and Type Method Description @Nullable ContentEntityObject
DefaultContentEntityManager. getById(ContentId id)
@Nullable ContentEntityObject
DefaultContentEntityManager. getById(ContentId id, int version)
@NonNull PageResponse<VersionHistorySummary>
DefaultContentEntityManager. getVersionHistorySummaries(ContentId contentId, LimitedRequest limitedRequest)
Method parameters in com.atlassian.confluence.impl.content with type arguments of type ContentId Modifier and Type Method Description PageResponse<ContentEntityObject>
DefaultContentEntityManager. getByIdsAndFilters(List<ContentId> contentIds, LimitedRequest limitedRequest, Predicate<? super ContentEntityObject>... filters)
Map<Long,ContributionStatus>
DefaultContentEntityManager. getContributionStatusByUser(@NonNull Collection<ContentId> contentIds, @Nullable com.atlassian.sal.api.user.UserKey userKey)
@NonNull Map<Long,ContentEntityObject>
DefaultContentEntityManager. getVersionsLastEditedByUser(@NonNull Collection<ContentId> contentIds, @Nullable com.atlassian.sal.api.user.UserKey userKey)
-
Uses of ContentId in com.atlassian.confluence.impl.labels
Method parameters in com.atlassian.confluence.impl.labels with type arguments of type ContentId Modifier and Type Method Description List<Labelling>
CachingLabelManager. getFavouriteLabellingsByContentIds(Collection<ContentId> contentIds, com.atlassian.sal.api.user.UserKey userKey)
-
Uses of ContentId in com.atlassian.confluence.impl.service.finder.content
Methods in com.atlassian.confluence.impl.service.finder.content with parameters of type ContentId Modifier and Type Method Description ContentService.SingleContentFetcher
NoopContentFinder. withId(ContentId contentId)
ContentService.ParameterContentFinder
NoopContentFinder. withId(ContentId first, ContentId... tail)
ContentService.SingleContentFetcher
NoopContentFinder. withIdAndVersion(ContentId contentId, int version)
Method parameters in com.atlassian.confluence.impl.service.finder.content with type arguments of type ContentId Modifier and Type Method Description ContentService.ParameterContentFinder
NoopContentFinder. withId(Iterable<ContentId> contentIds)
-
Uses of ContentId in com.atlassian.confluence.internal
Methods in com.atlassian.confluence.internal with parameters of type ContentId Modifier and Type Method Description @Nullable ContentEntityObject
ContentEntityManagerInternal. getById(ContentId id)
@Nullable ContentEntityObject
ContentEntityManagerInternal. getById(ContentId id, int version)
@NonNull PageResponse<VersionHistorySummary>
ContentEntityManagerInternal. getVersionHistorySummaries(ContentId contentId, LimitedRequest limitedRequest)
Get a VersionHistorySummary for all previous versions of a ContentEntityObject, list is ordered by Version number descending.Method parameters in com.atlassian.confluence.internal with type arguments of type ContentId Modifier and Type Method Description default @NonNull PageResponse<ContentEntityObject>
ContentEntityManagerInternal. getByIds(List<ContentId> contentIds, LimitedRequest limitedRequest, com.google.common.base.Predicate<? super ContentEntityObject>... filter)
Deprecated.since 7.0.1.@NonNull PageResponse<ContentEntityObject>
ContentEntityManagerInternal. getByIdsAndFilters(List<ContentId> contentIds, LimitedRequest limitedRequest, Predicate<? super ContentEntityObject>... filter)
-
Uses of ContentId in com.atlassian.confluence.internal.persistence.hibernate
Method parameters in com.atlassian.confluence.internal.persistence.hibernate with type arguments of type ContentId Modifier and Type Method Description Map<Long,ContributionStatus>
AbstractContentEntityObjectHibernateDao. getContributionStatusByUser(Collection<ContentId> contentIds, com.atlassian.sal.api.user.UserKey userKey)
-
Uses of ContentId in com.atlassian.confluence.it
Methods in com.atlassian.confluence.it that return ContentId Modifier and Type Method Description ContentId
AbstractContentEntity. getContentId()
Deprecated.ContentId
Attachment. getContentId()
Deprecated.ContentId
Draft. getContentId()
Methods in com.atlassian.confluence.it with parameters of type ContentId Modifier and Type Method Description void
AbstractContentEntity. setId(ContentId id)
Deprecated. -
Uses of ContentId in com.atlassian.confluence.it.api.test.plugin.apiavailable
Methods in com.atlassian.confluence.it.api.test.plugin.apiavailable that return types with arguments of type ContentId Modifier and Type Method Description Map<ContentId,Map<String,Object>>
DummyAvailableContentTypeSupport. getExtensions(Iterable<CustomContentEntityObject> contentEntities, Expansions expansions)
Map<ContentId,Map<String,Object>>
DummyCommentExtensionSupport. getExtensions(Iterable<Comment> comments, Expansions expansions)
-
Uses of ContentId in com.atlassian.confluence.it.rpc
Methods in com.atlassian.confluence.it.rpc that return ContentId Modifier and Type Method Description ContentId
ConfluenceRpc. createContent(Content newContent)
Deprecated.Methods in com.atlassian.confluence.it.rpc with parameters of type ContentId Modifier and Type Method Description void
LabelsRpc. removeLabel(String label, ContentId id)
-
Uses of ContentId in com.atlassian.confluence.it.rpc.delegates
Methods in com.atlassian.confluence.it.rpc.delegates that return types with arguments of type ContentId Modifier and Type Method Description List<ContentId>
AttachmentRpc. getAttachmentIds(ContentId container, String fileName)
Methods in com.atlassian.confluence.it.rpc.delegates with parameters of type ContentId Modifier and Type Method Description Attachment
AttachmentRpc. addAttachment(ContentId contentId, Attachment attachment)
List<Attachment>
AttachmentRpc. addAttachments(ContentId contentId, Attachment... attachments)
boolean
ContentRpc. delete(ContentId contentId)
Trashes trashable content and purges forever un-trashable content.Content
ContentRpc. get(ContentId contentId, Expansion... expansions)
Attachment
AttachmentRpc. getAttachment(ContentId contentId, String fileName)
List<ContentId>
AttachmentRpc. getAttachmentIds(ContentId container, String fileName)
BlogPost
ContentRpc. getBlogPost(ContentId id)
List<Page>
ContentRpc. getChildren(ContentId parentPageId)
Comment
ContentRpc. getComment(ContentId id)
Page
ContentRpc. getPage(ContentId pageId)
Content
ContentRpc. getWithAnyStatus(ContentId contentId, Expansion... expansions)
void
ContentRpc. purge(ContentId id)
Purges trashed content from the system forever.void
AttachmentRpc. remove(ContentId pageId, String fileName)
-
Uses of ContentId in com.atlassian.confluence.labels
Method parameters in com.atlassian.confluence.labels with type arguments of type ContentId Modifier and Type Method Description List<Labelling>
DefaultLabelManager. getFavouriteLabellingsByContentIds(Collection<ContentId> contentIds, com.atlassian.sal.api.user.UserKey userKey)
List<Labelling>
LabelManager. getFavouriteLabellingsByContentIds(Collection<ContentId> contentIds, com.atlassian.sal.api.user.UserKey userKey)
Get the labellings that represent the favourite labellings for the given user on the given content. -
Uses of ContentId in com.atlassian.confluence.pages
Methods in com.atlassian.confluence.pages that return ContentId Modifier and Type Method Description ContentId
Attachment. getContentId()
ContentId
BlogPost. getContentId()
Returns theContentId
for this Blog post.ContentId
Comment. getContentId()
Returns theContentId
for this Comment.ContentId
ContentConvertible. getContentId()
ContentId
Draft. getContentId()
Returns theContentId
for this Draft.ContentId
Page. getContentId()
Returns theContentId
for this Page. -
Uses of ContentId in com.atlassian.confluence.pages.collab
Methods in com.atlassian.confluence.pages.collab with parameters of type ContentId Modifier and Type Method Description void
PermissionCheckingSynchronyDataService. removeHistoryFor(ContentId contentId)
-
Uses of ContentId in com.atlassian.confluence.pages.collab.impl
Methods in com.atlassian.confluence.pages.collab.impl with parameters of type ContentId Modifier and Type Method Description void
DefaultSynchronyDataService. removeHistoryFor(ContentId contentId)
-
Uses of ContentId in com.atlassian.confluence.pages.persistence.dao
Method parameters in com.atlassian.confluence.pages.persistence.dao with type arguments of type ContentId Modifier and Type Method Description Map<Long,ContributionStatus>
DelegatingPageDao. getContributionStatusByUser(Collection<ContentId> contentIds, com.atlassian.sal.api.user.UserKey userKey)
-
Uses of ContentId in com.atlassian.confluence.plugin.descriptor.mail
Methods in com.atlassian.confluence.plugin.descriptor.mail that return ContentId Modifier and Type Method Description ContentId
NotificationContext. getContentId()
Return the context's Content id.Methods in com.atlassian.confluence.plugin.descriptor.mail with parameters of type ContentId Modifier and Type Method Description void
NotificationContext. setContentId(ContentId contentId)
Sets id of the entity that the notification is being sent regarding. -
Uses of ContentId in com.atlassian.confluence.plugins.rest.navigation.impl
Methods in com.atlassian.confluence.plugins.rest.navigation.impl with parameters of type ContentId Modifier and Type Method Description Navigation.ContentNav
RestNavigationImpl. content(ContentId contentId)
-
Uses of ContentId in com.atlassian.confluence.plugins.restapi.experimental.resources
Methods in com.atlassian.confluence.plugins.restapi.experimental.resources with parameters of type ContentId Modifier and Type Method Description javax.ws.rs.core.Response
ExperimentalContentRestrictionsResource. addIndividualGroupRestriction(ContentId contentId, OperationKey operationKey, Group group)
Adds singular directContentRestriction
foroperationKey
andgroup
for the content identified bycontentId
parameter.javax.ws.rs.core.Response
ExperimentalContentRestrictionsResource. addIndividualUserRestriction(ContentId contentId, OperationKey operationKey, com.atlassian.sal.api.user.UserKey userKey, String userName)
Adds singular directContentRestriction
foroperationKey
anduser
for the content identified bycontentId
parameter.PageResponse<ContentRestriction>
ExperimentalContentRestrictionsResource. addRestrictions(ContentId contentId, String expand, PageResponse<ContentRestriction> contentRestrictions)
Adds all the restrictions specified to a piece of content identified bycontentId
.void
ContentVersionResource. deleteContentHistory(ContentId contentId, int versionNumber)
Delete a historical version.javax.ws.rs.core.Response
ExperimentalContentRestrictionsResource. deleteIndividualGroupRestriction(ContentId contentId, OperationKey operationKey, Group group)
Deletes singular directContentRestriction
foroperationKey
anduser
from the content identified bycontentId
parameter.javax.ws.rs.core.Response
ExperimentalContentRestrictionsResource. deleteIndividualUserRestriction(ContentId contentId, OperationKey operationKey, com.atlassian.sal.api.user.UserKey userKey, String userName)
Deletes singular directContentRestriction
foroperationKey
anduser
from the content identified bycontentId
parameter.PageResponse<ContentRestriction>
ExperimentalContentRestrictionsResource. deleteRestrictions(ContentId contentId, String expand)
Removes all the restrictions specified directly on the content.PageResponse<Version>
ContentVersionResource. getContentHistory(ContentId contentId, int start, int limit, String expand, javax.ws.rs.core.UriInfo uriInfo)
Get list of content versions in version descending order.Version
ContentVersionResource. getContentVersion(ContentId contentId, int versionNumber, String expand)
Get a version of the content with option to expand on content and its sub fields, by default it expands content on version.javax.ws.rs.core.Response
ExperimentalContentRestrictionsResource. getIndividualGroupRestrictionStatus(ContentId contentId, OperationKey operationKey, Group group)
Answers the question "Whether group, identified bygroupName
is a subject of the restriction for operationoperationKey
directly specified on a content with ID ofccontentId
"javax.ws.rs.core.Response
ExperimentalContentRestrictionsResource. getIndividualUserRestrictionStatus(ContentId contentId, OperationKey operationKey, com.atlassian.sal.api.user.UserKey userKey, String userName)
Answers the question "Whether user, identified byuserKey
is a subject of the restriction for operationoperationKey
directly specified on a content with ID ofccontentId
"PageResponse<ContentRestriction>
ExperimentalContentRestrictionsResource. getRestrictions(ContentId contentId, String expand, javax.ws.rs.core.UriInfo uriInfo, int start, int limit)
Returns all the restrictions which are directly specified on a piece of content identified bycontentId
paramIterable<WebItemView>
WebFragmentResource. items(String location, String section, String key, ContentId contentId)
Fetch web items for the given section and location.Iterable<WebPanelView>
WebFragmentResource. panels(String location, List<String> locations, ContentId contentId, String key)
Fetch web panels for the given location.Iterable<WebPanelView>
WebFragmentResource. panels(SortedSet<String> locations, ContentId contentId)
Fetch web panels for the given locations.Version
ContentVersionResource. restoreContentHistory(ContentId contentId, RestData restData, String expand)
Restore a historical version to be a new current version.Iterable<WebSectionView>
WebFragmentResource. sections(String location, List<String> locations, String key, ContentId contentId)
Fetch the websections at the given location.Iterable<WebSectionView>
WebFragmentResource. sections(SortedSet locations, String key, ContentId contentId)
Fetch the websections at the given locations.PageResponse<ContentRestriction>
ExperimentalContentRestrictionsResource. updateRestrictions(ContentId contentId, String expand, PageResponse<ContentRestriction> contentRestrictions)
Sets all the restrictions specified to a piece of content identified bycontentId
, replacing any existing permissions. -
Uses of ContentId in com.atlassian.confluence.plugins.restapi.resources
Methods in com.atlassian.confluence.plugins.restapi.resources with parameters of type ContentId Modifier and Type Method Description ContentWatch
UserWatchResource. addContentWatcher(com.atlassian.sal.api.user.UserKey key, String username, ContentId contentId)
Create a new watcher for the given user and content id.PageResponse<Label>
ContentLabelsResource. addLabels(ContentId contentId, String labels)
Adds a list of labels to the specified content.Map<OperationKey,ContentRestriction>
ContentRestrictionResource. byOperation(ContentId id, String expand)
Returns info about all restrictions by operationMap<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 contentJsonContentProperty
ContentPropertyResource. create(ContentId contentId, JsonContentProperty newProperty)
Creates a new content property.JsonContentProperty
ContentPropertyResource. create(ContentId contentId, String key, JsonContentProperty newProperty)
Creates a new content property.RestList<Content>
AttachmentResource. createAttachments(ContentId containerId, ContentStatus containerStatus, boolean allowDuplicated, String expand, List<com.atlassian.plugins.rest.common.multipart.FilePart> fileParts, @Nullable List<com.atlassian.plugins.rest.common.multipart.FilePart> comments, @Nullable List<com.atlassian.plugins.rest.common.multipart.FilePart> minorEdits, @Nullable List<com.atlassian.plugins.rest.common.multipart.FilePart> hiddens)
Add one or more attachments to a Confluence Content entity, with optional comments.javax.ws.rs.core.Response
ContentPropertyResource. delete(ContentId contentId, String key)
Deletes a content property.javax.ws.rs.core.Response
ContentResource. delete(ContentId contentId, ContentStatus status)
Trashes or purges a piece of Content, based on itsContentType
andContentStatus
.javax.ws.rs.core.Response
ContentLabelsResource. deleteLabel(ContentId contentId, String label)
Deletes a labels to the specified content.javax.ws.rs.core.Response
ContentLabelsResource. deleteLabelWithQueryParam(ContentId contentId, String label)
Deletes a labels to the specified content.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<JsonContentProperty>
ContentPropertyResource. findAll(ContentId contentId, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of content properties.JsonContentProperty
ContentPropertyResource. findByKey(ContentId contentId, String key, String expand)
Returns a content property.ContentRestriction
ContentRestrictionResource. forOperation(ContentId id, OperationKey opKey, String expand, int start, int limit)
Returns info about all restrictions of given operationRestList<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. getContentByGraph(ContentId id, String expand, String type, String spaceKey, String title, String postingDay, List<ContentStatus> statuses, Integer version, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo)
Content
ContentResource. getContentById(ContentId id, List<ContentStatus> statuses, Integer version, String expand)
Returns a piece of Content.History
ContentResource. getHistory(ContentId contentId, String expand)
Returns the history of a particular piece of contentMacroInstance
ContentResource. getMacroBodyByHash(ContentId contentId, int versionId, String hash)
MacroInstance
ContentResource. getMacroBodyByMacroId(ContentId contentId, int versionId, String macroId)
Returns the body of a macro (in storage format) with the given id.javax.ws.rs.core.Response
UserWatchResource. isWatchingContent(com.atlassian.sal.api.user.UserKey key, String username, ContentId contentId)
Get information about whether a user is watching a specified content.PageResponse<Label>
ContentLabelsResource. labels(ContentId contentId, List<String> prefixes, int offset, int limit, javax.ws.rs.core.UriInfo uriInfo)
Returns the list of labels on 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 ContentBlueprintContent
ContentBlueprintResource. publishSharedDraft(ContentId draftId, Content content, ContentStatus status, String expand)
Publishes a shared draft of a Content created from a ContentBlueprintjavax.ws.rs.core.Response
UserWatchResource. removeContentWatcher(com.atlassian.sal.api.user.UserKey key, String username, ContentId contentId)
Delete an existing watcher for the given user and content id.JsonContentProperty
ContentPropertyResource. update(ContentId contentId, String key, JsonContentProperty property)
Updates a content property.Content
ContentResource. update(ContentId contentId, Content content, ContentStatus status, ContentDraftService.ConflictPolicy conflictPolicy)
Updates a piece of Content, including changes to content statusContent
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.PageResponse<ContentRestriction>
ContentRestrictionResource. updateRestrictions(ContentId contentId, String expand, List<ContentRestriction> contentRestrictions)
Sets all the restrictions specified to a piece of content identified bycontentId
, replacing any existing permissions. -
Uses of ContentId in com.atlassian.confluence.rest.client
Fields in com.atlassian.confluence.rest.client declared as ContentId Modifier and Type Field Description protected ContentId
AbstractRemoteContentService.AbstractRemoteContentFinder. contentId
Methods in com.atlassian.confluence.rest.client with parameters of type ContentId Modifier and Type Method Description default com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentService. addAttachments(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads)
Deprecated.since 7.0.1.default com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentService. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
Deprecated.since 7.0.1.default com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentService. addAttachments(ContentId contentId, Collection<AttachmentUpload> uploads)
Deprecated.since 7.0.1.CompletionStage<PageResponse<Content>>
RemoteAttachmentService. addAttachmentsCompletionStage(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads)
CompletionStage<PageResponse<Content>>
RemoteAttachmentService. addAttachmentsCompletionStage(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
CompletionStage<PageResponse<Content>>
RemoteAttachmentService. addAttachmentsCompletionStage(ContentId contentId, Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece ofContent
.CompletionStage<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachmentsCompletionStage(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads)
CompletionStage<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachmentsCompletionStage(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
CompletionStage<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachmentsCompletionStage(ContentId contentId, Collection<AttachmentUpload> uploads)
default com.atlassian.util.concurrent.Promise<Void>
RemoteContentRestrictionService. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.CompletionStage<Void>
RemoteContentRestrictionService. addDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
Adds singular directContentRestriction
foroperationKey
andsubject
to the content identified bycontentId
parameter.CompletionStage<Void>
RemoteContentRestrictionServiceImpl. addDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
default com.atlassian.util.concurrent.Promise<? extends Iterable<Label>>
RemoteContentLabelService. addLabels(ContentId contentId, Iterable<Label> labels)
Deprecated.since 7.0.1.CompletionStage<PageResponse<Label>>
AbstractRemoteContentLabelService. addLabelsCompletionStage(ContentId contentId, Iterable<Label> labels)
CompletionStage<? extends Iterable<Label>>
RemoteContentLabelService. addLabelsCompletionStage(ContentId contentId, Iterable<Label> labels)
Adds the given labels to the specified contentdefault com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. addRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. addRestrictionsCompletionStage(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Attempts to add all the restrictions specified to a piece of content identified bycontentId
.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. addRestrictionsCompletionStage(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
default com.atlassian.util.concurrent.Promise<Void>
RemoteContentVersionService. delete(ContentId contentId, int versionNumber)
Deprecated.since 8.7.default com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. deleteAllDirectRestrictions(ContentId target, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. deleteAllDirectRestrictionsCompletionStage(ContentId target, Expansion... expansions)
Attempts to delete all the restrictions specified directly on a piece of content identified bycontentId
.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. deleteAllDirectRestrictionsCompletionStage(ContentId target, Expansion... expansions)
CompletionStage<Void>
RemoteContentVersionService. deleteCompletionStage(ContentId contentId, int versionNumber)
Delete the version of content.default com.atlassian.util.concurrent.Promise<Void>
RemoteContentRestrictionService. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.CompletionStage<Void>
RemoteContentRestrictionService. deleteDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
Deletes singular directContentRestriction
foroperationKey
andsubject
from the content identified bycontentId
parameter.CompletionStage<Void>
RemoteContentRestrictionServiceImpl. deleteDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
default com.atlassian.util.concurrent.Promise<Void>
RemoteContentDraftService. deleteDraft(ContentId contentId)
Deprecated.since 7.0.1.CompletionStage<Void>
RemoteContentDraftService. deleteDraftCompletionStage(ContentId contentId)
Deletes the draft.CompletionStage<Void>
RemoteContentDraftServiceImpl. deleteDraftCompletionStage(ContentId contentId)
RemoteChildContentService.RemoteChildContentFinder
RemoteChildContentService. findContent(ContentId parentId, Expansion... expansions)
Create a finder to find content in the given parent.RemoteChildContentService.RemoteChildContentFinder
RemoteChildContentServiceImpl. findContent(ContentId parentId, Expansion... expansion)
RemoteContentMacroService.RemoteMacroFinder
RemoteContentMacroService. findInContent(ContentId contentId, Expansion... expansions)
Retrieve details about a macro matching the page, version and macro hash.com.atlassian.util.concurrent.Promise<PageResponse<Label>>
AbstractRemoteContentLabelService. getLabels(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
Deprecated.since 8.7.default com.atlassian.util.concurrent.Promise<? extends Iterable<Label>>
RemoteContentLabelService. getLabels(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
Deprecated.since 7.0.1.abstract CompletionStage<PageResponse<Label>>
AbstractRemoteContentLabelService. getLabelsCompletionStage(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
CompletionStage<? extends Iterable<Label>>
RemoteContentLabelService. getLabelsCompletionStage(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
Get the labels attached to a given piece of content in the given namespacesCompletionStage<PageResponse<Label>>
RemoteContentLabelServiceImpl. getLabelsCompletionStage(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
default com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. getRestrictions(ContentId target, PageRequest pageRequest, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. getRestrictionsCompletionStage(ContentId target, PageRequest pageRequest, Expansion... expansions)
Retrieves all the restrictions for all the operations on a given Content.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. getRestrictionsCompletionStage(ContentId target, PageRequest pageRequest, Expansion... expansions)
default com.atlassian.util.concurrent.Promise<ContentRestriction>
RemoteContentRestrictionService. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentRestriction>
RemoteContentRestrictionService. getRestrictionsForOperationCompletionStage(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)
Retrieves all restrictions for given operation key on given content.CompletionStage<ContentRestriction>
RemoteContentRestrictionServiceImpl. getRestrictionsForOperationCompletionStage(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)
default com.atlassian.util.concurrent.Promise<Map<OperationKey,ContentRestriction>>
RemoteContentRestrictionService. getRestrictionsGroupByOperation(ContentId target, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<Map<OperationKey,ContentRestriction>>
RemoteContentRestrictionService. getRestrictionsGroupByOperationCompletionStage(ContentId target, Expansion... expansions)
List all restrictions that exist directly on the given content.CompletionStage<Map<OperationKey,ContentRestriction>>
RemoteContentRestrictionServiceImpl. getRestrictionsGroupByOperationCompletionStage(ContentId target, Expansion... expansions)
default com.atlassian.util.concurrent.Promise<Boolean>
RemoteContentRestrictionService. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.CompletionStage<Boolean>
RemoteContentRestrictionService. hasDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
Returnstrue
if the User or Group specified by thesubject
parameter has restriction(s) for theoperationKey
operation which are specified directly on the Content identified bycontentId
parameter.CompletionStage<Boolean>
RemoteContentRestrictionServiceImpl. hasDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
default com.atlassian.util.concurrent.Promise<Boolean>
RemoteWatchService. isWatchingContent(com.atlassian.sal.api.user.UserKey userKey, ContentId content)
Deprecated.since 7.0.1.CompletionStage<Boolean>
RemoteWatchService. isWatchingContentCompletionStage(com.atlassian.sal.api.user.UserKey userKey, ContentId content)
default com.atlassian.util.concurrent.Promise<Void>
RemoteContentLabelService. removeLabel(ContentId contentId, Label label)
Deprecated.since 7.0.1.default com.atlassian.util.concurrent.Promise<Void>
RemoteContentLabelService. removeLabel(ContentId contentId, String label)
Deprecated.CompletionStage<Void>
AbstractRemoteContentLabelService. removeLabelCompletionStage(ContentId contentId, Label label)
CompletionStage<Void>
RemoteContentLabelService. removeLabelCompletionStage(ContentId contentId, Label label)
Remove a label with from the specified contentdefault com.atlassian.util.concurrent.Promise<Version>
RemoteContentVersionService. restore(ContentId contentId, VersionRestoreParameters versionRestoreParameters, Expansion... expansions)
Deprecated.since 8.7.CompletionStage<Version>
RemoteContentVersionService. restoreCompletionStage(ContentId contentId, VersionRestoreParameters versionRestoreParameters, Expansion... expansions)
Restore on version of content, update current content with that version then increment version number of current version.default com.atlassian.util.concurrent.Promise<Void>
RemoteWatchService. unwatchContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
Deprecated.since 7.0.1.CompletionStage<Void>
RemoteWatchService. unwatchContentCompletionStage(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
Remove a watch to the givencontent
default com.atlassian.util.concurrent.Promise<Content>
RemoteAttachmentService. updateData(ContentId attachmentId, AttachmentUpload upload)
Deprecated.since 7.0.1.CompletionStage<Content>
RemoteAttachmentService. updateDataCompletionStage(ContentId attachmentId, AttachmentUpload upload)
Updates the data part of an AttachmentContent
instance.CompletionStage<Content>
RemoteAttachmentServiceImpl. updateDataCompletionStage(ContentId attachmentId, AttachmentUpload upload)
default com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. updateRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. updateRestrictionsCompletionStage(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Sets all the restrictions specified to a piece of content identified bycontentId
, replacing any existing permissions.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. updateRestrictionsCompletionStage(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
default com.atlassian.util.concurrent.Promise<ContentWatch>
RemoteWatchService. watchContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
Deprecated.since 7.0.1.CompletionStage<ContentWatch>
RemoteWatchService. watchContentCompletionStage(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
Create a watch to the givencontent
RemoteAttachmentService.RemoteAttachmentFinder
RemoteAttachmentService.RemoteAttachmentFinder. withContainerId(ContentId parentId)
RemoteAttachmentService.RemoteAttachmentFinder
RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl. withContainerId(ContentId containerId)
RemoteContentPropertyService.RemoteParameterContentPropertyFinder
RemoteContentPropertyService.RemoteParameterContentPropertyFinder. withContentId(ContentId contentId)
RemoteContentPropertyService.RemoteParameterContentPropertyFinder
RemoteContentPropertyServiceImpl.RemoteContentPropertyFinderImpl. withContentId(ContentId contentId)
RemoteContentService.RemoteSingleContentFetcher
AbstractRemoteContentService.AbstractRemoteContentFinder. withId(ContentId contentId)
RemoteContentService.RemoteSingleContentFetcher
AbstractRemoteContentService.AbstractRemoteContentFinder. withId(ContentId first, ContentId... tail)
RemoteContentService.RemoteSingleContentFetcher
RemoteAttachmentService.RemoteAttachmentFinder. withId(ContentId attachmentId)
RemoteContentService.RemoteSingleContentFetcher
RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl. withId(ContentId attachmentId)
RemoteContentService.RemoteSingleContentFetcher
RemoteContentService.RemoteContentFinder. withId(ContentId contentId)
RemoteContentService.RemoteSingleContentFetcher
RemoteContentService.RemoteContentFinder. withId(ContentId first, ContentId... tail)
Note : currently unsupported Restrict the fetched content to those with the given ids, requires at least two ContentIds.RemoteContentVersionService.RemoteParameterVersionFinder
RemoteContentVersionService.RemoteParameterVersionFinder. withId(ContentId contentId)
RemoteContentService.RemoteSingleContentFetcher
AbstractRemoteContentService.AbstractRemoteContentFinder. withIdAndVersion(ContentId contentId, int version)
RemoteContentService.RemoteSingleContentFetcher
RemoteContentService.RemoteContentFinder. withIdAndVersion(ContentId contentId, int version)
RemoteSingleFetcher
RemoteContentVersionService.RemoteVersionFinder. withIdAndVersion(ContentId contentId, int version)
Method parameters in com.atlassian.confluence.rest.client with type arguments of type ContentId Modifier and Type Method Description RemoteContentPropertyService.RemoteParameterContentPropertyFinder
RemoteContentPropertyService.RemoteParameterContentPropertyFinder. withContentIds(List<ContentId> contentIds)
RemoteContentPropertyService.RemoteParameterContentPropertyFinder
RemoteContentPropertyServiceImpl.RemoteContentPropertyFinderImpl. withContentIds(List<ContentId> contentIds)
RemoteContentService.RemoteSingleContentFetcher
AbstractRemoteContentService.AbstractRemoteContentFinder. withId(Iterable<ContentId> contentIds)
RemoteContentService.RemoteSingleContentFetcher
RemoteContentService.RemoteContentFinder. withId(Iterable<ContentId> contentIds)
Note : currently unsupported Restrict the fetched content to those with the given idsConstructors in com.atlassian.confluence.rest.client with parameters of type ContentId Constructor Description RemoteChildContentFinderImpl(AbstractRemoteService other, ContentId parentId, Expansion[] expansion)
-
Uses of ContentId in com.atlassian.confluence.rest.client.graphql
Methods in com.atlassian.confluence.rest.client.graphql with parameters of type ContentId Modifier and Type Method Description RemoteChildContentService.RemoteChildContentFinder
GraphQLRemoteChildContentServiceImpl. findContent(ContentId parentId, Expansion... expansion)
CompletionStage<PageResponse<Label>>
GraphQLRemoteContentLabelServiceImpl. getLabelsCompletionStage(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
Constructors in com.atlassian.confluence.rest.client.graphql with parameters of type ContentId Constructor Description RemoteChildContentFinderImpl(AbstractRemoteService other, ContentId parentId, Expansion[] expansions)
-
Uses of ContentId in com.atlassian.confluence.rest.client.impl
Methods in com.atlassian.confluence.rest.client.impl with parameters of type ContentId Modifier and Type Method Description CompletionStage<Void>
RemoteContentVersionServiceImpl. deleteCompletionStage(ContentId contentId, int versionNumber)
RemoteContentMacroService.RemoteMacroFinder
RemoteContentMacroServiceImpl. findInContent(ContentId content, Expansion... expansions)
CompletionStage<Boolean>
RemoteWatchServiceImpl. isWatchingContentCompletionStage(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
CompletionStage<Version>
RemoteContentVersionServiceImpl. restoreCompletionStage(ContentId contentId, VersionRestoreParameters versionRestoreParameters, Expansion... expansions)
CompletionStage<Void>
RemoteWatchServiceImpl. unwatchContentCompletionStage(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
CompletionStage<ContentWatch>
RemoteWatchServiceImpl. watchContentCompletionStage(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
RemoteContentVersionService.RemoteParameterVersionFinder
RemoteContentVersionServiceImpl.RemoteVersionFinderImpl. withId(ContentId contentId)
RemoteSingleFetcher
RemoteContentVersionServiceImpl.RemoteVersionFinderImpl. withIdAndVersion(ContentId contentId, int version)
Constructors in com.atlassian.confluence.rest.client.impl with parameters of type ContentId Constructor Description RemoteMacroFinderImpl(AbstractRemoteService otherService, ContentId contentId)
-
Uses of ContentId in com.atlassian.confluence.rest.client.remoteservice.webfragment
Fields in com.atlassian.confluence.rest.client.remoteservice.webfragment with type parameters of type ContentId Modifier and Type Field Description protected com.atlassian.fugue.Option<ContentId>
AbstractRemoteWebView. contentId
Methods in com.atlassian.confluence.rest.client.remoteservice.webfragment with parameters of type ContentId Modifier and Type Method Description RemoteWebView
AbstractRemoteWebViewService. forContent(ContentId contentId)
RemoteWebView
RemoteWebViewService. forContent(ContentId contentId)
Provides a new WebView. -
Uses of ContentId in com.atlassian.confluence.web.service
Methods in com.atlassian.confluence.web.service with parameters of type ContentId Modifier and Type Method Description WebView
WebViewServiceImpl. forContent(@Nullable ContentId contentId, Map<String,Object> additionalContext)
WebView
WebViewServiceImpl. forContent(ContentId contentId)
-