Uses of Class
com.atlassian.confluence.api.model.content.id.ContentId
Packages that use ContentId
Package
Description
Model objects for user and group permission and validation checks, for use with
OperationService
.Subpackages of this package are exposed to the plugin whose key starting with com.atlassian or in the internal-bundles section of public-api,yaml
Internal interfaces that are NOT exposed to the plugin classpath, by being excluded in the packageScanningConfiguration
of bootstrapContext.xml.
This package contains the code which communicates with Confluence via REST API.
-
Uses of ContentId in com.atlassian.confluence.api.impl.service.content
Methods in com.atlassian.confluence.api.impl.service.content with parameters of type ContentIdModifier and TypeMethodDescriptionAttachmentServiceImpl.addAttachments
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads) AttachmentServiceImpl.addAttachments
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions) AttachmentServiceImpl.addAttachments
(ContentId containerId, Collection<AttachmentUpload> uploads) void
ChildContentServiceImpl.findContent
(ContentId parentId, Expansion... expansions) ContentMacroServiceImpl.findInContent
(ContentId contentId, Expansion... expansion) @NonNull PageResponse<Content>
CustomContentServiceImpl.getChildrenOfTypeAndFilter
(@NonNull ContentId parentId, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<Content> predicate) ContentLabelServiceImpl.getLabels
(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest pageRequest) void
AttachmentServiceImpl.moveAttachment
(ContentId attachmentId, ContentId contentId, ContentId newContentId, String newName) void
AttachmentServiceImpl.removeAttachment
(ContentId contentId, ContentId attachmentId) void
AttachmentServiceImpl.removeAttachmentVersion
(ContentId contentId, ContentId attachmentId, int version) final void
ContentLabelServiceImpl.removeLabel
(@NonNull ContentId contentId, @NonNull Label label) void
ContentLabelServiceImpl.removeLabel
(ContentId contentId, String label) Deprecated.ContentVersionServiceImpl.restore
(ContentId contentId, VersionRestoreParameters versionRestoreParameters, Expansion... expansions) 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 ContentIdModifier and TypeMethodDescriptionvoid
ContentDraftServiceImpl.deleteDraft
(ContentId contentId) void
LegacyContentDraftServiceImpl.deleteDraft
(ContentId draftId) void
SharedContentDraftServiceImpl.deleteDraft
(ContentId contentId) 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 that return ContentIdModifier and TypeMethodDescriptionAbstractContentFinder.getContentContainerId()
AbstractContentFinder.getContentId()
Methods in com.atlassian.confluence.api.impl.service.content.finder that return types with arguments of type ContentIdMethods in com.atlassian.confluence.api.impl.service.content.finder with parameters of type ContentIdModifier and TypeMethodDescriptionstatic 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.AbstractContentFinder.withIdAndVersion
(ContentId contentId, int version) Method parameters in com.atlassian.confluence.api.impl.service.content.finder with type arguments of type ContentIdModifier and TypeMethodDescriptionstatic 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 ContentIdModifier and TypeMethodDescriptionAttachmentContentTypeApiSupport.getExtensions
(Iterable<Attachment> attachments, Expansions expansions) CommentContentTypeApiSupport.getExtensions
(Iterable<Comment> contentEntities, Expansions expansions) PageContentTypeApiSupport.getExtensions
(Iterable<Page> pages, Expansions expansions) Methods in com.atlassian.confluence.api.impl.service.content.typebinding with parameters of type ContentIdModifier and TypeMethodDescriptionAttachmentContentTypeApiSupport.getAttachments
(ContentId containerId, LimitedRequest limitedRequest, com.google.common.base.Predicate<? super Attachment> predicate, Expansions contentExpansions) 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 that return types with arguments of type ContentIdModifier and TypeMethodDescriptionContentRestrictionServiceImpl.getRelevantViewRestrictionsForContent
(LimitedRequest limitedReq, Map<Long, Long> contentIdToParentIdMap, Expansions expansions) Methods in com.atlassian.confluence.api.impl.service.permissions with parameters of type ContentIdModifier and TypeMethodDescriptionvoid
ContentRestrictionServiceImpl.addDirectRestrictionForSubject
(ContentId contentId, OperationKey operationKey, Subject subject) ContentRestrictionServiceImpl.addRestrictions
(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions) ContentRestrictionServiceImpl.deleteAllDirectRestrictions
(ContentId target, Expansion... expansions) void
ContentRestrictionServiceImpl.deleteDirectRestrictionForSubject
(ContentId contentId, OperationKey operationKey, Subject subject) ContentRestrictionServiceImpl.getRelevantViewRestrictionsForSingleContent
(LimitedRequest pageRequest, ContentId contentId, Expansions expansions) ContentRestrictionServiceImpl.getRestrictions
(ContentId target, PageRequest pageRequest, Expansion... allExpansions) ContentRestrictionServiceImpl.getRestrictionsForOperation
(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... allExpansions) ContentRestrictionServiceImpl.getRestrictionsGroupByOperation
(ContentId target, Expansion... allExpansions) boolean
ContentRestrictionServiceImpl.hasDirectRestrictionForSubject
(ContentId contentId, OperationKey operationKey, Subject subject) ContentRestrictionServiceImpl.updateRestrictions
(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions) DefaultContentRestrictionServiceValidator.validateAddDirectRestrictionForSubject
(ContentId contentId, OperationKey operationKey, Subject subject) DefaultContentRestrictionServiceValidator.validateAddRestrictions
(ContentId contentId, Collection<? extends ContentRestriction> contentRestrictions) DefaultContentRestrictionServiceValidator.validateDeleteAllDirectRestrictions
(ContentId contentId) DefaultContentRestrictionServiceValidator.validateDeleteDirectRestrictionForSubject
(ContentId contentId, OperationKey operationKey, Subject subject) DefaultContentRestrictionServiceValidator.validateGetRestrictions
(ContentId contentId) DefaultContentRestrictionServiceValidator.validateGetRestrictionsForOperation
(ContentId contentId, OperationKey opKey) DefaultContentRestrictionServiceValidator.validateHasDirectRestrictionsForSubject
(ContentId contentId, OperationKey operationKey, Subject subject) 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 ContentIdModifier and TypeMethodDescriptionWatchServiceImpl.findUsersWatchingContentPaginated
(ContentId contentId, PageRequest pageRequest) final boolean
WatchServiceImpl.isWatchingContent
(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId) final void
WatchServiceImpl.unwatchContent
(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId) WatchServiceImpl.ValidatorImpl.validateFindUsersWatchingContentPaginated
(ContentId contentId) final ValidationResult
WatchServiceImpl.ValidatorImpl.validateWatchContent
(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId) final 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 ContentIdModifier and TypeMethodDescriptionstatic ContentId
Content.getContentId
(Reference<Content> contentRef) Deprecated.since 5.10.Content.getId()
ContentSelector.getId()
Content.getParentId()
Methods in com.atlassian.confluence.api.model.content with parameters of type ContentIdModifier and TypeMethodDescriptionstatic Content.ContentBuilder
Content.builder
(ContentType type, ContentId id) Returns aContent.ContentBuilder
instance that can be used to create a newContent
object.Content.buildReference
(ContentId id) Deprecated.since 5.10.Deprecated.since 5.10.static ContentSelector
Deprecated.since 5.10.Constructors in com.atlassian.confluence.api.model.content with parameters of type ContentIdModifierConstructorDescriptionContentBody
(ContentRepresentation representation, String value, ContentId contentId) Deprecated.since 5.9 , useContentBody.contentBodyBuilder()
protected
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.idFields in com.atlassian.confluence.api.model.content.id declared as ContentIdModifier and TypeFieldDescriptionstatic final ContentId
ContentId.UNSET
static final ContentId
JsonContentPropertyId.UNSET
Methods in com.atlassian.confluence.api.model.content.id that return ContentIdModifier and TypeMethodDescriptionstatic 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
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 -
Uses of ContentId in com.atlassian.confluence.api.model.permissions
Methods in com.atlassian.confluence.api.model.permissions that return ContentIdMethods in com.atlassian.confluence.api.model.permissions with parameters of type ContentIdModifier and TypeMethodDescriptionstatic Target
Target.forContentId
(ContentId id, TargetType type) Create aTarget
from content idContentRestrictionsPageResponse.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 ContentIdMethods in com.atlassian.confluence.api.model.search with parameters of type ContentIdModifier and TypeMethodDescription -
Uses of ContentId in com.atlassian.confluence.api.model.watch
Constructors in com.atlassian.confluence.api.model.watch with parameters of type ContentId -
Uses of ContentId in com.atlassian.confluence.api.service.content
Methods in com.atlassian.confluence.api.service.content with parameters of type ContentIdModifier and TypeMethodDescriptionAttachmentService.addAttachments
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads) Add one or more attachments to a piece ofContent
.AttachmentService.addAttachments
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions) Add one or more attachments to a piece ofContent
.AttachmentService.addAttachments
(ContentId containerId, Collection<AttachmentUpload> uploads) Add one or more attachments to a piece ofContent
.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 contentboolean
AttachmentService.Validator.canMoveAttachment
(ContentId attachmentId, ContentId containerId) Checks if the user is permitted to move attachments to the given contentvoid
Delete the version of content.void
ContentDraftService.deleteDraft
(ContentId contentId) Deletes the draft for this content.ChildContentService.findContent
(ContentId parentId, Expansion... expansion) A finder to locateContent
under a parent.ContentMacroService.findInContent
(ContentId contentId, Expansion... expansion) Create a macro instance finder to locate macro instances in the given Content@NonNull PageResponse<Content>
CustomContentService.getChildrenOfTypeAndFilter
(ContentId parentId, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<Content> predicate) Returns the children of a CustomContentEntityObject, limited to the pagination requested.ContentLabelService.getLabels
(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest pageRequest) Get the labels attached to a given piece of content in the given namespacesvoid
AttachmentService.moveAttachment
(ContentId attachmentId, ContentId contentId, ContentId newContentId, String newName) Move an attachment to a different content entity object and/or give it a new name.void
AttachmentService.removeAttachment
(ContentId contentId, ContentId attachmentId) Trashes an attachment by attachmentIdvoid
AttachmentService.removeAttachmentVersion
(ContentId contentId, ContentId attachmentId, int version) removes a version of an attachment from page by attachmentId and versionvoid
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)
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.AttachmentService.updateData
(ContentId attachmentId, AttachmentUpload upload) Updates the data part of an AttachmentContent
instance.ContentLabelService.Validator.validateAddLabels
(ContentId contentId, Label... labels) Validates that the list of labels can be added to the given contentContentDraftService.DraftValidator.validateDelete
(ContentId contentId) Validates whether a draft can be deletedContentVersionService.Validator.validateDelete
(ContentId contentId, int versionNumber) Validate delete operationContentVersionService.Validator.validateGet
(ContentId contentId) Validate get operationContentVersionService.Validator.validateRestore
(ContentId contentId, VersionRestoreParameters restData) Validate restore operationAttachmentService.AttachmentFinder.withContainerId
(ContentId parentId) Restrict the attachments returned to those with the given parent.ContentPropertyService.ParameterContentPropertyFinder.withContentId
(ContentId contentId) Restrict the attachment returned by the fetch methods to those with the given attachmentIdRestrict the fetched content to that with the given ContentIdRestrict the fetched content to those with the given ids, requires at least two ContentIds.When query with Id, it will return list of Versions ordered by descending version.ContentService.ContentFinder.withIdAndVersion
(ContentId contentId, int version) Restrict the fetched content to that matching the given versionContentVersionService.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 ContentIdModifier and TypeMethodDescriptionContentPropertyService.ParameterContentPropertyFinder.withContentIds
(List<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 ContentIdModifier and TypeMethodDescriptionvoid
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 that return types with arguments of type ContentIdModifier and TypeMethodDescriptionContentRestrictionService.getRelevantViewRestrictionsForContent
(LimitedRequest pageRequest, Map<Long, Long> contentIdToParentIdMap, Expansions expansions) Return RelevantViewRestrictions per content where it will contain direct and inherited permission set required to access a contentMethods in com.atlassian.confluence.api.service.permissions with parameters of type ContentIdModifier and TypeMethodDescriptionvoid
ContentRestrictionService.addDirectRestrictionForSubject
(ContentId contentId, OperationKey operationKey, Subject subject) Adds singular directContentRestriction
foroperationKey
andsubject
to the content identified bycontentId
parameter.ContentRestrictionService.addRestrictions
(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions) Attempts to add all the restrictions specified to a piece of content identified bycontentId
.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.ContentRestrictionService.getRelevantViewRestrictionsForSingleContent
(LimitedRequest pageRequest, ContentId contentId, Expansions expansions) Return RelevantViewRestrictions per content where it will contain direct and inherited permission set required to access a contentContentRestrictionService.getRestrictions
(ContentId target, PageRequest pageRequest, Expansion... expansions) Retrieves all the restrictions for all the operations on a given Content.ContentRestrictionService.getRestrictionsForOperation
(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions) Retrieves all restrictions for given operation key on given content.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.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.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 specifiedContentRestrictionService.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 existingContentRestrictionService.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 specifiedContentRestrictionService.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 specifiedContentRestrictionService.Validator.validateGetRestrictions
(ContentId contentId) Validates whether content specified exists and whether currently logged in user can read restrictions on a content specified.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 specifiedContentRestrictionService.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 userContentRestrictionService.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 ContentIdModifier and TypeMethodDescriptionWatchService.findUsersWatchingContentPaginated
(ContentId contentId, PageRequest pageRequest) Returns a paginated list of Users watching the given Content identified by contentId.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
WatchService.Validator.validateFindUsersWatchingContentPaginated
(ContentId contentId) Validate that the requesting User can view the list of Users watching the given Content identified by contentId.WatchService.Validator.validateWatchContent
(com.atlassian.sal.api.user.UserKey userKey, ContentId content) Validate that the user can watch a Content.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 ContentIdModifier and TypeMethodDescriptionWebViewService.forContent
(ContentId contentId) Provides a new 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 -
Uses of ContentId in com.atlassian.confluence.api.testsupport.model.watch
Constructors in com.atlassian.confluence.api.testsupport.model.watch with parameters of type ContentIdModifierConstructorDescriptionExtendedContentWatch
(String name, User watcher, ContentId contentId) -
Uses of ContentId in com.atlassian.confluence.content
Methods in com.atlassian.confluence.content that return ContentId -
Uses of ContentId in com.atlassian.confluence.content.apisupport
Methods in com.atlassian.confluence.content.apisupport that return types with arguments of type ContentIdModifier and TypeMethodDescriptionBaseContentTypeApiSupport.getExtensions
(Iterable<T> contentEntities, Expansions expansions) Get the set of extension properties for the collection of contentEntity Ids.CommentExtensionsSupport.getExtensions
(Iterable<Comment> comments, Expansions expansions) Get the map of extension properties for each of the comment entitiesContentTypeApiSupport.getExtensions
(Iterable<T> contentEntities, Expansions expansions) Get the set of extension properties for the collection of contentEntity Ids.NullCommentExtensionsSupport.getExtensions
(Iterable<Comment> comments, Expansions expansions) -
Uses of ContentId in com.atlassian.confluence.core
Methods in com.atlassian.confluence.core that return ContentIdModifier and TypeMethodDescriptionContentEntityObject.getContentId()
Returns theContentId
for this entity object, if it implementsContentConvertible
.LastEditVersion.getOrignalContentId()
Methods in com.atlassian.confluence.core that return types with arguments of type ContentIdModifier and TypeMethodDescriptionDefaultContentPermissionManager.getRelevantViewRestrictionsForContent
(LimitedRequest pageRequest, Map<Long, Long> contentIdToParentIdMap) Method parameters in com.atlassian.confluence.core with type arguments of type ContentIdModifier and TypeMethodDescriptionContentEntityManager.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
Methods in com.atlassian.confluence.core.persistence that return types with arguments of type ContentIdModifier and TypeMethodDescriptionContentEntityObjectDao.getLastEditedOldVersionsOf
(Collection<ContentId> contentIds) Retrieves all old the last edited versions for each user who has contributed to the specified piece of content.Method parameters in com.atlassian.confluence.core.persistence with type arguments of type ContentIdModifier and TypeMethodDescriptionContentEntityObjectDao.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.ContentEntityObjectDao.getLastEditedOldVersionsOf
(Collection<ContentId> contentIds) Retrieves all old the last edited versions for each user who has contributed to the specified piece of content. -
Uses of ContentId in com.atlassian.confluence.dmz
Methods in com.atlassian.confluence.dmz with parameters of type ContentIdModifier and TypeMethodDescription@Nullable ContentEntityObject
@Nullable ContentEntityObject
@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.dmz with type arguments of type ContentIdModifier and TypeMethodDescription@NonNull PageResponse<ContentEntityObject>
ContentEntityManagerInternal.getByIdsAndFilters
(List<ContentId> contentIds, LimitedRequest limitedRequest, Predicate<? super ContentEntityObject> filter) -
Uses of ContentId in com.atlassian.confluence.event.events.content.page.synchrony
Methods in com.atlassian.confluence.event.events.content.page.synchrony that return ContentIdModifier and TypeMethodDescriptionContentUpdatedEvent.getContentId()
SynchronyRecoveryEvent.getCurrentContentId()
Constructors in com.atlassian.confluence.event.events.content.page.synchrony with parameters of type ContentIdModifierConstructorDescriptionContentUpdatedEvent
(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 ContentIdModifier and TypeMethodDescription@Nullable ContentEntityObject
@Nullable ContentEntityObject
@NonNull PageResponse<VersionHistorySummary>
DefaultContentEntityManager.getVersionHistorySummaries
(ContentId contentId, LimitedRequest limitedRequest) Method parameters in com.atlassian.confluence.impl.content with type arguments of type ContentIdModifier and TypeMethodDescription@NonNull PageResponse<ContentEntityObject>
DefaultContentEntityManager.getByIdsAndFilters
(List<ContentId> contentIds, LimitedRequest limitedRequest, Predicate<? super ContentEntityObject> filter) 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 ContentIdModifier and TypeMethodDescriptionCachingLabelManager.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 ContentIdModifier and TypeMethodDescriptionNoopContentFinder.withIdAndVersion
(ContentId contentId, int version) Method parameters in com.atlassian.confluence.impl.service.finder.content with type arguments of type ContentIdModifier and TypeMethodDescription -
Uses of ContentId in com.atlassian.confluence.internal
Methods in com.atlassian.confluence.internal that return types with arguments of type ContentIdModifier and TypeMethodDescriptionContentPermissionManagerInternal.getRelevantViewRestrictionsForContent
(LimitedRequest pageRequest, Map<Long, Long> contentIdToParentIdMap) Return RelevantViewRestrictions per content where it will contain the direct and inherited permission set required to view the content -
Uses of ContentId in com.atlassian.confluence.internal.content.bodycontentquerier
Method parameters in com.atlassian.confluence.internal.content.bodycontentquerier with type arguments of type ContentIdModifier and TypeMethodDescriptionBodyContentQuerier.getBodyByContentIds
(List<ContentId> contentIds) ContentQuerier.getBodyByContentIds
(List<ContentId> contentIds) -
Uses of ContentId in com.atlassian.confluence.internal.pages.persistence
Methods in com.atlassian.confluence.internal.pages.persistence with parameters of type ContentIdModifier and TypeMethodDescriptionint
PageDaoInternal.convertToBlogPost
(ContentId id, Date currentDate) Convert the page with given id into a blogpost -
Uses of ContentId in com.atlassian.confluence.internal.persistence.hibernate
Methods in com.atlassian.confluence.internal.persistence.hibernate that return types with arguments of type ContentIdModifier and TypeMethodDescriptionContentEntityObjectHibernateDao.getLastEditedOldVersionsOf
(Collection<ContentId> contentIds) Method parameters in com.atlassian.confluence.internal.persistence.hibernate with type arguments of type ContentIdModifier and TypeMethodDescriptionContentEntityObjectHibernateDao.getContributionStatusByUser
(Collection<ContentId> contentIds, com.atlassian.sal.api.user.UserKey userKey) ContentEntityObjectHibernateDao.getLastEditedOldVersionsOf
(Collection<ContentId> contentIds) -
Uses of ContentId in com.atlassian.confluence.internal.security.persistence
Methods in com.atlassian.confluence.internal.security.persistence that return types with arguments of type ContentIdModifier and TypeMethodDescriptionContentPermissionSetDaoInternal.getRelevantViewRestrictionsForContent
(LimitedRequest pageRequest, Map<Long, Long> contentIdToParentIdMap) Return RelevantViewRestrictions per content where it will contain direct and inherited permission set required to access a content -
Uses of ContentId in com.atlassian.confluence.labels
Method parameters in com.atlassian.confluence.labels with type arguments of type ContentIdModifier and TypeMethodDescriptionDefaultLabelManager.getFavouriteLabellingsByContentIds
(Collection<ContentId> contentIds, com.atlassian.sal.api.user.UserKey userKey) 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 ContentIdModifier and TypeMethodDescriptionAttachment.getContentId()
BlogPost.getContentId()
Returns theContentId
for this Blog post.Comment.getContentId()
Returns theContentId
for this Comment.ContentConvertible.getContentId()
Draft.getContentId()
Returns theContentId
for this Draft.Page.getContentId()
Returns theContentId
for this Page.ReadOnlyAttachment.getContentId()
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ContentId in com.atlassian.confluence.pages.collab
Methods in com.atlassian.confluence.pages.collab with parameters of type ContentIdModifier and TypeMethodDescriptionvoid
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 ContentIdModifier and TypeMethodDescriptionvoid
DefaultSynchronyDataService.removeHistoryFor
(ContentId contentId) -
Uses of ContentId in com.atlassian.confluence.pages.persistence.dao.hibernate
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type ContentIdModifier and TypeMethodDescriptionint
HibernatePageDao.convertToBlogPost
(ContentId id, Date currentDate) -
Uses of ContentId in com.atlassian.confluence.plugin.descriptor.mail
Methods in com.atlassian.confluence.plugin.descriptor.mail that return ContentIdModifier and TypeMethodDescriptionNotificationContext.getContentId()
Return the context's Content id.Methods in com.atlassian.confluence.plugin.descriptor.mail with parameters of type ContentIdModifier and TypeMethodDescriptionvoid
NotificationContext.setContentId
(ContentId contentId) Sets id of the entity that the notification is being sent regarding. -
Uses of ContentId in com.atlassian.confluence.plugins.restapi.experimental.resources
Methods in com.atlassian.confluence.plugins.restapi.experimental.resources with parameters of type ContentIdModifier and TypeMethodDescriptionjavax.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.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.ExperimentalContentRestrictionsResource.deleteRestrictions
(ContentId contentId, String expand) Removes all the restrictions specified directly on the content.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.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
"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
paramFetch web items for the given section and location.WebFragmentResource.panels
(String location, List<String> locations, ContentId contentId, String key) Fetch web panels for the given location.Fetch web panels for the given locations.ContentVersionResource.restoreContentHistory
(ContentId contentId, RestData restData, String expand) Restore a historical version to be a new current version.WebFragmentResource.sections
(String location, List<String> locations, String key, ContentId contentId) Fetch the websections at the given location.Fetch the websections at the given locations.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 ContentIdModifier and TypeMethodDescriptionUserWatchResource.addContentWatcher
(com.atlassian.sal.api.user.UserKey key, String username, ContentId contentId) ContentRestrictionResource.byOperation
(ContentId id, String expand) ChildContentResource.children
(ContentId contentId, String expand, Integer parentVersion, int start, int limit, javax.ws.rs.core.UriInfo uriInfo) ChildContentResource.childrenOfType
(ContentId contentId, ContentType type, String expand, Integer parentVersion, int start, int limit, javax.ws.rs.core.UriInfo uriInfo) ChildContentResource.commentsOfContent
(ContentId contentId, String expand, Integer parentVersion, int start, int limit, Set<String> location, String depth, javax.ws.rs.core.UriInfo uriInfo) ContentPropertyResource.create
(ContentId contentId, JsonContentProperty newProperty) ContentPropertyResource.create
(ContentId contentId, String key, JsonContentProperty newProperty) AttachmentResource.createAttachments
(ContentId containerId, ContentStatus containerStatus, boolean allowDuplicated, String expand, List<com.atlassian.plugins.rest.api.multipart.FilePart> fileParts, @Nullable List<com.atlassian.plugins.rest.api.multipart.FilePart> comments, @Nullable List<com.atlassian.plugins.rest.api.multipart.FilePart> minorEdits, @Nullable List<com.atlassian.plugins.rest.api.multipart.FilePart> hiddens) javax.ws.rs.core.Response
javax.ws.rs.core.Response
ContentResource.delete
(ContentId contentId, ContentStatus status) javax.ws.rs.core.Response
ContentVersionResource.deleteContentHistory
(ContentId contentId, int versionNumber) javax.ws.rs.core.Response
ContentLabelsResource.deleteLabel
(ContentId contentId, String label) javax.ws.rs.core.Response
ContentLabelsResource.deleteLabelWithQueryParam
(ContentId contentId, String label) DescendantContentResource.descendants
(ContentId contentId, String expand, javax.ws.rs.core.UriInfo uriInfo) DescendantContentResource.descendantsOfType
(ContentId contentId, ContentType type, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo) ContentPropertyResource.findAll
(ContentId contentId, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo) ContentRestrictionResource.forOperation
(ContentId id, OperationKey opKey, String expand, int start, int limit) AttachmentResource.getAttachments
(ContentId contentId, String expand, int start, int limit, String filename, String mediaType, javax.ws.rs.core.UriInfo uriInfo) 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) ContentResource.getContentById
(ContentId id, List<ContentStatus> statuses, Integer version, String expand) ContentResource.getHistory
(ContentId contentId, String expand) ContentResource.getMacroBodyByHash
(ContentId contentId, int versionId, String hash) Deprecated.ContentResource.getMacroBodyByMacroId
(ContentId contentId, int versionId, String macroId) ContentWatcherResource.index
(javax.ws.rs.core.UriInfo uriInfo, ContentId contentId, int start, int limit) javax.ws.rs.core.Response
UserWatchResource.isWatchingContent
(com.atlassian.sal.api.user.UserKey key, String username, ContentId contentId) ContentLabelsResource.labels
(ContentId contentId, List<String> prefixes, int offset, int limit, javax.ws.rs.core.UriInfo uriInfo) void
AttachmentResource.move
(ContentId contentId, ContentId attachmentId, ContentId newContentId, String newName) ContentBlueprintResource.publishLegacyDraft
(ContentId draftId, Content content, ContentStatus status, String expand) ContentBlueprintResource.publishSharedDraft
(ContentId draftId, Content content, ContentStatus status, String expand) ContentRestrictionResource.relevantViewRestrictions
(ContentId id, String expand, int start, int limit) javax.ws.rs.core.Response
AttachmentResource.removeAttachment
(ContentId contentId, ContentId attachmentId) javax.ws.rs.core.Response
AttachmentResource.removeAttachmentVersion
(ContentId contentId, ContentId attachmentId, int version) javax.ws.rs.core.Response
UserWatchResource.removeContentWatcher
(com.atlassian.sal.api.user.UserKey key, String username, ContentId contentId) ContentPropertyResource.update
(ContentId contentId, String key, JsonContentProperty property) ContentResource.update
(ContentId contentId, Content content, ContentStatus status, ContentDraftService.ConflictPolicy conflictPolicy, boolean asyncReconciliation) AttachmentResource.updateData
(ContentId attachmentId, com.atlassian.plugins.rest.api.multipart.FilePart filePart, com.atlassian.plugins.rest.api.multipart.FilePart comment, com.atlassian.plugins.rest.api.multipart.FilePart minorEdit, com.atlassian.plugins.rest.api.multipart.FilePart hidden) ContentRestrictionResource.updateRestrictions
(ContentId contentId, String expand, List<ContentRestriction> contentRestrictions) -
Uses of ContentId in com.atlassian.confluence.rest.client
Fields in com.atlassian.confluence.rest.client declared as ContentIdModifier and TypeFieldDescriptionprotected ContentId
AbstractRemoteContentService.AbstractRemoteContentFinder.contentId
Methods in com.atlassian.confluence.rest.client with parameters of type ContentIdModifier and TypeMethodDescriptionRemoteAttachmentService.addAttachmentsCompletionStage
(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads) RemoteAttachmentService.addAttachmentsCompletionStage
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions) RemoteAttachmentService.addAttachmentsCompletionStage
(ContentId contentId, Collection<AttachmentUpload> uploads) Add one or more attachments to a piece ofContent
.RemoteAttachmentServiceImpl.addAttachmentsCompletionStage
(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads) RemoteAttachmentServiceImpl.addAttachmentsCompletionStage
(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions) RemoteAttachmentServiceImpl.addAttachmentsCompletionStage
(ContentId contentId, Collection<AttachmentUpload> uploads) RemoteContentRestrictionService.addDirectRestrictionForSubjectCompletionStage
(ContentId contentId, OperationKey operationKey, Subject subject) Adds singular directContentRestriction
foroperationKey
andsubject
to the content identified bycontentId
parameter.RemoteContentRestrictionServiceImpl.addDirectRestrictionForSubjectCompletionStage
(ContentId contentId, OperationKey operationKey, Subject subject) AbstractRemoteContentLabelService.addLabelsCompletionStage
(ContentId contentId, Iterable<Label> labels) RemoteContentLabelService.addLabelsCompletionStage
(ContentId contentId, Iterable<Label> labels) Adds the given labels to the specified contentRemoteContentRestrictionService.addRestrictionsCompletionStage
(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions) Attempts to add all the restrictions specified to a piece of content identified bycontentId
.RemoteContentRestrictionServiceImpl.addRestrictionsCompletionStage
(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions) RemoteContentRestrictionService.deleteAllDirectRestrictionsCompletionStage
(ContentId target, Expansion... expansions) Attempts to delete all the restrictions specified directly on a piece of content identified bycontentId
.RemoteContentRestrictionServiceImpl.deleteAllDirectRestrictionsCompletionStage
(ContentId target, Expansion... expansions) RemoteContentVersionService.deleteCompletionStage
(ContentId contentId, int versionNumber) Delete the version of content.RemoteContentRestrictionService.deleteDirectRestrictionForSubjectCompletionStage
(ContentId contentId, OperationKey operationKey, Subject subject) Deletes singular directContentRestriction
foroperationKey
andsubject
from the content identified bycontentId
parameter.RemoteContentRestrictionServiceImpl.deleteDirectRestrictionForSubjectCompletionStage
(ContentId contentId, OperationKey operationKey, Subject subject) RemoteContentDraftService.deleteDraftCompletionStage
(ContentId contentId) Deletes the draft.RemoteContentDraftServiceImpl.deleteDraftCompletionStage
(ContentId contentId) RemoteChildContentService.findContent
(ContentId parentId, Expansion... expansions) Create a finder to find content in the given parent.RemoteChildContentServiceImpl.findContent
(ContentId parentId, Expansion... expansion) RemoteContentMacroService.findInContent
(ContentId contentId, Expansion... expansions) Retrieve details about a macro matching the page, version and macro hash.RemoteWatchService.findUsersWatchingContentPaginated
(ContentId contentId, PageRequest pageRequest) Returns a paginated list of Users watching the given Content identified by contentId.abstract CompletionStage<PageResponse<Label>>
AbstractRemoteContentLabelService.getLabelsCompletionStage
(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request) RemoteContentLabelService.getLabelsCompletionStage
(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request) Get the labels attached to a given piece of content in the given namespacesRemoteContentLabelServiceImpl.getLabelsCompletionStage
(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request) RemoteContentRestrictionService.getRelevantViewRestrictionsForContentCompletionStage
(ContentId target, Expansion... expansions) Return a list of view content permission set which need to be passed in other to access this content.RemoteContentRestrictionServiceImpl.getRelevantViewRestrictionsForContentCompletionStage
(ContentId target, Expansion... expansions) RemoteContentRestrictionService.getRestrictionsCompletionStage
(ContentId target, PageRequest pageRequest, Expansion... expansions) Retrieves all the restrictions for all the operations on a given Content.RemoteContentRestrictionServiceImpl.getRestrictionsCompletionStage
(ContentId target, PageRequest pageRequest, Expansion... expansions) RemoteContentRestrictionService.getRestrictionsForOperationCompletionStage
(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions) Retrieves all restrictions for given operation key on given content.RemoteContentRestrictionServiceImpl.getRestrictionsForOperationCompletionStage
(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions) RemoteContentRestrictionService.getRestrictionsGroupByOperationCompletionStage
(ContentId target, Expansion... expansions) List all restrictions that exist directly on the given content.RemoteContentRestrictionServiceImpl.getRestrictionsGroupByOperationCompletionStage
(ContentId target, Expansion... expansions) 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.RemoteContentRestrictionServiceImpl.hasDirectRestrictionForSubjectCompletionStage
(ContentId contentId, OperationKey operationKey, Subject subject) RemoteWatchService.isWatchingContentCompletionStage
(com.atlassian.sal.api.user.UserKey userKey, ContentId content) RemoteAttachmentService.moveAttachmentCompletionStage
(ContentId contentId, ContentId attachmentId, ContentId newContentId) Moves an Attachment from a page to new page.RemoteAttachmentService.moveAttachmentCompletionStage
(ContentId contentId, ContentId attachmentId, ContentId newContentId, String newName) Moves an Attachment from a page to new page and also rename it.RemoteAttachmentServiceImpl.moveAttachmentCompletionStage
(ContentId contentId, ContentId attachmentId, ContentId newContentId) RemoteAttachmentServiceImpl.moveAttachmentCompletionStage
(ContentId contentId, ContentId attachmentId, ContentId newContentId, String newName) RemoteAttachmentService.removeAttachmentCompletionStage
(ContentId contentId, ContentId attachmentId) Trashes an attachment associated with an attachmentId.RemoteAttachmentServiceImpl.removeAttachmentCompletionStage
(ContentId contentId, ContentId attachmentId) RemoteAttachmentService.removeAttachmentVersionCompletionStage
(ContentId contentId, ContentId attachmentId, int version) Removes a specific version of an attachment associated with given content.RemoteAttachmentServiceImpl.removeAttachmentVersionCompletionStage
(ContentId contentId, ContentId attachmentId, int version) AbstractRemoteContentLabelService.removeLabelCompletionStage
(ContentId contentId, Label label) RemoteContentLabelService.removeLabelCompletionStage
(ContentId contentId, Label label) Remove a label with from the specified contentdefault CompletionStage<Void>
RemoteContentLabelService.removeLabelCompletionStage
(ContentId contentId, String label) Remove a label with from the specified contentRemoteContentVersionService.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.RemoteWatchService.unwatchContentCompletionStage
(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId) Remove a watch to the givencontent
RemoteAttachmentService.updateDataCompletionStage
(ContentId attachmentId, AttachmentUpload upload) Updates the data part of an AttachmentContent
instance.RemoteAttachmentServiceImpl.updateDataCompletionStage
(ContentId attachmentId, AttachmentUpload upload) 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.RemoteContentRestrictionServiceImpl.updateRestrictionsCompletionStage
(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions) RemoteWatchService.watchContentCompletionStage
(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId) Create a watch to the givencontent
RemoteAttachmentService.RemoteAttachmentFinder.withContainerId
(ContentId parentId) RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl.withContainerId
(ContentId containerId) RemoteContentPropertyService.RemoteParameterContentPropertyFinder.withContentId
(ContentId contentId) RemoteContentPropertyServiceImpl.RemoteContentPropertyFinderImpl.withContentId
(ContentId contentId) Note : currently unsupported Restrict the fetched content to those with the given ids, requires at least two ContentIds.AbstractRemoteContentService.AbstractRemoteContentFinder.withIdAndVersion
(ContentId contentId, int version) RemoteContentService.RemoteContentFinder.withIdAndVersion
(ContentId contentId, int version) RemoteContentVersionService.RemoteVersionFinder.withIdAndVersion
(ContentId contentId, int version) Method parameters in com.atlassian.confluence.rest.client with type arguments of type ContentIdModifier and TypeMethodDescriptionRemoteContentPropertyService.RemoteParameterContentPropertyFinder.withContentIds
(List<ContentId> contentIds) RemoteContentPropertyServiceImpl.RemoteContentPropertyFinderImpl.withContentIds
(List<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 ContentIdModifierConstructorDescriptionRemoteChildContentFinderImpl
(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 ContentIdModifier and TypeMethodDescriptionGraphQLRemoteChildContentServiceImpl.findContent
(ContentId parentId, Expansion... expansion) GraphQLRemoteContentLabelServiceImpl.getLabelsCompletionStage
(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request) Constructors in com.atlassian.confluence.rest.client.graphql with parameters of type ContentIdModifierConstructorDescriptionRemoteChildContentFinderImpl
(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 ContentIdModifier and TypeMethodDescriptionRemoteContentVersionServiceImpl.deleteCompletionStage
(ContentId contentId, int versionNumber) RemoteContentMacroServiceImpl.findInContent
(ContentId content, Expansion... expansions) RemoteWatchServiceImpl.findUsersWatchingContentPaginated
(ContentId contentId, PageRequest pageRequest) RemoteWatchServiceImpl.isWatchingContentCompletionStage
(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId) RemoteContentVersionServiceImpl.restoreCompletionStage
(ContentId contentId, VersionRestoreParameters versionRestoreParameters, Expansion... expansions) RemoteWatchServiceImpl.unwatchContentCompletionStage
(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId) RemoteWatchServiceImpl.watchContentCompletionStage
(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId) RemoteContentVersionServiceImpl.RemoteVersionFinderImpl.withIdAndVersion
(ContentId contentId, int version) Constructors in com.atlassian.confluence.rest.client.impl with parameters of type ContentIdModifierConstructorDescriptionprotected
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 declared as ContentIdMethods in com.atlassian.confluence.rest.client.remoteservice.webfragment with parameters of type ContentIdModifier and TypeMethodDescriptionAbstractRemoteWebViewService.forContent
(ContentId contentId) RemoteWebViewService.forContent
(ContentId contentId) Provides a new WebView. -
Uses of ContentId in com.atlassian.confluence.security.persistence.dao.hibernate
Methods in com.atlassian.confluence.security.persistence.dao.hibernate that return types with arguments of type ContentIdModifier and TypeMethodDescriptionHibernateContentPermissionSetDao.getRelevantViewRestrictionsForContent
(LimitedRequest pageRequest, Map<Long, Long> contentIdToParentIdMap) -
Uses of ContentId in com.atlassian.confluence.spaces
Methods in com.atlassian.confluence.spaces that return ContentId -
Uses of ContentId in com.atlassian.confluence.tinymceplugin.rest.entities
Methods in com.atlassian.confluence.tinymceplugin.rest.entities that return ContentIdMethods in com.atlassian.confluence.tinymceplugin.rest.entities with parameters of type ContentId -
Uses of ContentId in com.atlassian.confluence.web.service
Methods in com.atlassian.confluence.web.service with parameters of type ContentIdModifier and TypeMethodDescriptionWebViewServiceImpl.forContent
(@Nullable ContentId contentId, Map<String, Object> additionalContext) WebViewServiceImpl.forContent
(ContentId contentId)
ContentLabelServiceImpl.removeLabel(ContentId, Label)
}