Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
AttachmentServiceImpl.addAttachments(ContentId containerId,
Collection<AttachmentUpload> uploads) |
PageResponse<Content> |
AttachmentServiceImpl.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads) |
PageResponse<Content> |
AttachmentServiceImpl.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads,
boolean allowDuplicated,
Expansions expansions) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
LegacyContentDraftServiceImpl.deleteDraft(ContentId draftId) |
void |
SharedContentDraftServiceImpl.deleteDraft(ContentId contentId) |
void |
ContentDraftServiceImpl.deleteDraft(ContentId contentId) |
ValidationResult |
LegacyDraftValidator.validateDelete(ContentId draftId) |
Modifier and Type | Method and Description |
---|---|
static Predicate<? super ContentEntityObject> |
FinderPredicates.containerPredicate(@NonNull ContentId containerId)
Create a predicate that matches
Contained instances that have the same container ID,
for example Attachment s or Comment s on the same page. |
Modifier and Type | Method and Description |
---|---|
static Predicate<? super ContentEntityObject> |
FinderPredicates.createContentIdPredicate(List<ContentId> contentIds) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
AttachmentContentTypeApiSupport.getAttachments(ContentId containerId,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super Attachment> predicate,
Expansions contentExpansions) |
com.atlassian.fugue.Option<Content> |
AttachmentContentTypeApiSupport.getById(ContentId attachmentId,
List<ContentStatus> statuses,
Expansions expansions) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |
ContentWatch |
WatchServiceImpl.watchContent(com.atlassian.sal.api.user.UserKey userKey,
ContentId contentId) |
Modifier and Type | Method and Description |
---|---|
static ContentId |
Content.getContentId(Reference<Content> contentRef)
Deprecated.
since 5.10. Use
Content.getSelector() . |
ContentId |
ContentSelector.getId() |
ContentId |
Content.getId() |
ContentId |
Content.getParentId() |
Modifier and Type | Method and Description |
---|---|
static Content.ContentBuilder |
Content.builder(ContentType type,
ContentId id)
Returns a
Content.ContentBuilder instance that can be used to create a new Content object. |
static Reference<Content> |
Content.buildReference(ContentId id)
Deprecated.
since 5.10. Use
Content.buildReference(ContentSelector) |
ContentBody.ContentBodyBuilder |
ContentBody.ContentBodyBuilder.contentId(ContentId contentId)
Deprecated.
since 5.10. Use
ContentBody.ContentBodyBuilder.content(ContentSelector) |
static ContentSelector |
ContentSelector.fromId(ContentId contentId)
Deprecated.
since 5.10. CRA-1305: to be removed prior to 6.0 release. Use
ContentSelector.from(Content) wherever possible. |
ContentSelector.ContentSelectorBuilder |
ContentSelector.ContentSelectorBuilder.id(ContentId id) |
Content.ContentBuilder |
Content.ContentBuilder.id(ContentId id) |
Constructor and Description |
---|
ContentBody(ContentRepresentation representation,
String value,
ContentId contentId)
Deprecated.
since 5.9 , use
ContentBody.contentBodyBuilder() |
ContentBuilder(ContentType type,
ContentId id)
Create new builders with
Content.builder(ContentType) and a ContentId . |
Modifier and Type | Class and Description |
---|---|
class |
AttachmentContentId
Deprecated.
since 6.10.0, use
ContentId |
Modifier and Type | Field and Description |
---|---|
static ContentId |
JsonContentPropertyId.UNSET |
static ContentId |
ContentId.UNSET |
Modifier and Type | Method and Description |
---|---|
static ContentId |
ContentId.deserialise(String id) |
static ContentId |
ContentId.of(ContentType type,
long id)
Deprecated.
since 6.10.0 use
of(long) |
static ContentId |
ContentId.of(long id) |
static ContentId |
ContentId.valueOf(String id)
Don't use this method - it's just for Jersey QueryParam automatic conversion.
|
Modifier and Type | Method and Description |
---|---|
ContentId |
Target.IdTarget.getId() |
Modifier and Type | Method and Description |
---|---|
static Target |
Target.forContentId(ContentId id,
TargetType type)
Create a
Target from content id |
ContentRestrictionsPageResponse.ContentRestrictionPageResponseBuilder |
ContentRestrictionsPageResponse.ContentRestrictionPageResponseBuilder.withContentId(ContentId contentId) |
Modifier and Type | Method and Description |
---|---|
Optional<ContentId> |
SearchContext.contentId() |
com.atlassian.fugue.Option<ContentId> |
SearchContext.getContentId()
Deprecated.
since 7.0.1. Use
SearchContext.contentId() |
Modifier and Type | Method and Description |
---|---|
SearchContext.Builder |
SearchContext.Builder.contentId(ContentId contentId) |
Constructor and Description |
---|
ContentWatch(@NonNull User watcher,
@NonNull ContentId contentId) |
Modifier and Type | Method and Description |
---|---|
Navigation.ContentNav |
Navigation.content(ContentId contentId)
Deprecated.
since 5.10 Use
Navigation.content(ContentSelector) . |
Navigation.ExperimentalContentNav |
Navigation.ExperimentalNav.content(ContentId contentId)
Deprecated.
since 5.10. Use
Navigation.ExperimentalNav.content(ContentSelector) . |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
AttachmentService.addAttachments(ContentId containerId,
Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of
Content . |
PageResponse<Content> |
AttachmentService.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of
Content . |
PageResponse<Content> |
AttachmentService.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads,
boolean allowDuplicated,
Expansions expansions)
Add one or more attachments to a piece of
Content . |
PageResponse<Label> |
ContentLabelService.addLabels(ContentId contentId,
Iterable<Label> labels)
Adds the given labels to the specified content
|
boolean |
AttachmentService.Validator.canCreateAttachments(ContentId containerId)
Checks if the user is permitted to add attachments to the current version of the
given content
|
boolean |
AttachmentService.Validator.canCreateAttachments(ContentId containerId,
ContentStatus status)
Checks if the user is permitted to add attachments to the given content
|
void |
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 locate
Content under a parent. |
ContentMacroService.MacroInstanceFinder |
ContentMacroService.findInContent(ContentId contentId,
Expansion... expansion)
Create a macro instance finder to locate macro instances in the given Content
|
PageResponse<Label> |
ContentLabelService.getLabels(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest pageRequest)
Get the labels attached to a given piece of content in the given namespaces
|
void |
ContentLabelService.removeLabel(@NonNull ContentId contentId,
@NonNull Label label)
Removes the given label the content with the given contentId
|
void |
ContentLabelService.removeLabel(ContentId contentId,
String label)
Deprecated.
since 6.5.0, use
ContentLabelService.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 Attachment
Content instance. |
ValidationResult |
ContentLabelService.Validator.validateAddLabels(ContentId contentId,
Label... labels)
Validates that the list of labels can be added to the given content
|
ValidationResult |
ContentDraftService.DraftValidator.validateDelete(ContentId contentId)
Validates whether a draft can be deleted
|
ValidationResult |
ContentVersionService.Validator.validateDelete(ContentId contentId,
int versionNumber)
Validate delete operation
|
ValidationResult |
ContentVersionService.Validator.validateGet(ContentId contentId)
Validate get operation
|
ValidationResult |
ContentVersionService.Validator.validateRestore(ContentId contentId,
VersionRestoreParameters restData)
Validate restore operation
|
AttachmentService.AttachmentFinder |
AttachmentService.AttachmentFinder.withContainerId(ContentId parentId)
Restrict the attachments returned to those with the given parent.
|
ContentPropertyService.ParameterContentPropertyFinder |
ContentPropertyService.ParameterContentPropertyFinder.withContentId(ContentId contentId) |
ContentVersionService.ParameterVersionFinder |
ContentVersionService.ParameterVersionFinder.withId(ContentId contentId)
When query with Id, it will return list of Versions ordered by descending version.
|
SingleFetcher<Content> |
AttachmentService.AttachmentFinder.withId(ContentId attachmentId)
Restrict the attachment returned by the fetch methods to those with the
given attachmentId
|
ContentService.SingleContentFetcher |
ContentService.ContentFinder.withId(ContentId contentId)
Restrict the fetched content to that with the given ContentId
|
ContentService.ParameterContentFinder |
ContentService.ParameterContentFinder.withId(ContentId first,
ContentId... tail)
Restrict the fetched content to those with the given ids, requires at least
two ContentIds.
|
ContentService.ParameterContentFinder |
ContentService.ParameterContentFinder.withId(ContentId first,
ContentId... tail)
Restrict the fetched content to those with the given ids, requires at least
two ContentIds.
|
SingleFetcher<Version> |
ContentVersionService.VersionFinder.withIdAndVersion(ContentId contentId,
int versionNumber)
When Version is set, search will find the particular version and return a single version.
|
ContentService.SingleContentFetcher |
ContentService.ContentFinder.withIdAndVersion(ContentId contentId,
int version)
Restrict the fetched content to that matching the given version
|
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
void |
ContentRestrictionService.addDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Adds singular direct
ContentRestriction for operationKey and subject to the content identified by contentId 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 by
contentId . |
ContentRestrictionsPageResponse |
ContentRestrictionService.deleteAllDirectRestrictions(ContentId target,
Expansion... expansions)
Attempts to delete all the restrictions specified directly on a piece of content identified by
contentId . |
void |
ContentRestrictionService.deleteDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deletes singular direct
ContentRestriction for operationKey and subject from the content identified by contentId 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)
Returns
true if the User or Group specified by the subject parameter has restriction(s) for the operationKey operation
which are specified directly on the Content identified by contentId parameter. |
ContentRestrictionsPageResponse |
ContentRestrictionService.updateRestrictions(ContentId target,
Collection<? extends ContentRestriction> contentRestrictions,
Expansion... expansions)
Sets all the restrictions specified to a piece of content identified by
contentId , 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 specified
|
ValidationResult |
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 existing
|
ValidationResult |
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 specified
|
ValidationResult |
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 specified
|
ValidationResult |
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 specified
|
ValidationResult |
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 user
|
ValidationResult |
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 a
ValidationResult which is both authorised and valid. |
Modifier and Type | Method and 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 given
content |
ValidationResult |
WatchService.Validator.validateWatchContent(com.atlassian.sal.api.user.UserKey userKey,
ContentId content)
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 given
content |
Modifier and Type | Method and Description |
---|---|
WebView |
WebViewService.forContent(ContentId contentId)
Provides a new WebView.
|
WebView |
WebViewService.forContent(ContentId contentId,
Map<String,Object> additionalContext)
Provides a new WebView.
|
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Content> |
ContentMatchers.hasId(ContentId contentId) |
Modifier and Type | Method and Description |
---|---|
ContentId |
CustomContentEntityObject.getContentId() |
Modifier and Type | Method and Description |
---|---|
Map<ContentId,Map<String,Object>> |
NullCommentExtensionsSupport.getExtensions(Iterable<Comment> comments,
Expansions expansions) |
Map<ContentId,Map<String,Object>> |
CommentExtensionsSupport.getExtensions(Iterable<Comment> comments,
Expansions expansions)
Get the map of extension properties for each of the comment entities
|
Map<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>> |
BaseContentTypeApiSupport.getExtensions(Iterable<T> contentEntities,
Expansions expansions)
Get the set of extension properties for the collection of contentEntity Ids.
|
Modifier and Type | Method and Description |
---|---|
ContentId |
ContentEntityObject.getContentId()
Returns the
ContentId for this entity object, if it implements ContentConvertible . |
Modifier and Type | Method and Description |
---|---|
@Nullable ContentEntityObject |
DefaultContentEntityManager.getById(ContentId id) |
@Nullable ContentEntityObject |
DefaultContentEntityManager.getById(ContentId id,
int version) |
@NonNull PageResponse<VersionHistorySummary> |
DefaultContentEntityManager.getVersionHistorySummaries(ContentId contentId,
LimitedRequest limitedRequest) |
Modifier and Type | Method and Description |
---|---|
PageResponse<ContentEntityObject> |
DefaultContentEntityManager.getByIds(List<ContentId> contentIds,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super ContentEntityObject>... filters)
Deprecated.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
ContentId |
ContentUpdatedEvent.getContentId() |
ContentId |
SynchronyRecoveryEvent.getCurrentContentId() |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
ContentService.SingleContentFetcher |
NoopContentFinder.withId(ContentId contentId) |
ContentService.ParameterContentFinder |
NoopContentFinder.withId(ContentId first,
ContentId... tail) |
ContentService.ParameterContentFinder |
NoopContentFinder.withId(ContentId first,
ContentId... tail) |
ContentService.SingleContentFetcher |
NoopContentFinder.withIdAndVersion(ContentId contentId,
int version) |
Modifier and Type | Method and Description |
---|---|
ContentService.ParameterContentFinder |
NoopContentFinder.withId(Iterable<ContentId> contentIds) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
@NonNull PageResponse<ContentEntityObject> |
ContentEntityManagerInternal.getByIds(List<ContentId> contentIds,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super ContentEntityObject>... filter)
Deprecated.
|
default @NonNull PageResponse<ContentEntityObject> |
ContentEntityManagerInternal.getByIdsAndFilters(List<ContentId> contentIds,
LimitedRequest limitedRequest,
Predicate<? super ContentEntityObject>... filter) |
Modifier and Type | Method and Description |
---|---|
Map<Long,ContributionStatus> |
AbstractContentEntityObjectHibernateDao.getContributionStatusByUser(Collection<ContentId> contentIds,
com.atlassian.sal.api.user.UserKey userKey) |
Modifier and Type | Method and Description |
---|---|
ContentId |
Draft.getContentId() |
ContentId |
AbstractContentEntity.getContentId()
Deprecated.
|
ContentId |
Attachment.getContentId()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractContentEntity.setId(ContentId id)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<ContentId,Map<String,Object>> |
DummyCommentExtensionSupport.getExtensions(Iterable<Comment> comments,
Expansions expansions) |
Map<ContentId,Map<String,Object>> |
DummyAvailableContentTypeSupport.getExtensions(Iterable<CustomContentEntityObject> contentEntities,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
ContentId |
ConfluenceRpc.createContent(Content newContent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
LabelsRpc.removeLabel(String label,
ContentId id) |
Modifier and Type | Method and Description |
---|---|
List<ContentId> |
AttachmentRpc.getAttachmentIds(ContentId container,
String fileName) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
List<Labelling> |
CachingLabelManager.getFavouriteLabellingsByContentIds(Collection<ContentId> contentIds,
com.atlassian.sal.api.user.UserKey userKey) |
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.
|
Modifier and Type | Method and Description |
---|---|
ContentId |
ContentConvertible.getContentId() |
ContentId |
Page.getContentId()
Returns the
ContentId for this Page. |
ContentId |
Comment.getContentId()
Returns the
ContentId for this Comment. |
ContentId |
BlogPost.getContentId()
Returns the
ContentId for this Blog post. |
ContentId |
Attachment.getContentId() |
Modifier and Type | Method and Description |
---|---|
Map<Long,ContributionStatus> |
CachingPageDao.getContributionStatusByUser(Collection<ContentId> contentIds,
com.atlassian.sal.api.user.UserKey userKey) |
Modifier and Type | Method and Description |
---|---|
ContentId |
NotificationContext.getContentId()
Return the context's Content id.
|
Modifier and Type | Method and Description |
---|---|
void |
NotificationContext.setContentId(ContentId contentId)
Sets id of the entity that the notification is being sent regarding.
|
Modifier and Type | Method and Description |
---|---|
Navigation.ContentNav |
RestNavigationImpl.content(ContentId contentId) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
ExperimentalContentRestrictionsResource.addIndividualGroupRestriction(ContentId contentId,
OperationKey operationKey,
Group group)
Adds singular direct
ContentRestriction for operationKey and group for the content identified by contentId parameter. |
javax.ws.rs.core.Response |
ExperimentalContentRestrictionsResource.addIndividualUserRestriction(ContentId contentId,
OperationKey operationKey,
com.atlassian.sal.api.user.UserKey userKey,
String userName)
Adds singular direct
ContentRestriction for operationKey and user for the content identified by contentId parameter. |
PageResponse<ContentRestriction> |
ExperimentalContentRestrictionsResource.addRestrictions(ContentId contentId,
String expand,
PageResponse<ContentRestriction> contentRestrictions)
Adds all the restrictions specified to a piece of content identified by
contentId . |
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 direct
ContentRestriction for operationKey and user from the content identified by contentId parameter. |
javax.ws.rs.core.Response |
ExperimentalContentRestrictionsResource.deleteIndividualUserRestriction(ContentId contentId,
OperationKey operationKey,
com.atlassian.sal.api.user.UserKey userKey,
String userName)
Deletes singular direct
ContentRestriction for operationKey and user from the content identified by contentId 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 by
groupName is a subject of the restriction for operation operationKey directly specified on a content with ID of ccontentId " |
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 by
userKey is a subject of the restriction for operation operationKey directly specified on a content with ID of ccontentId " |
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 by
contentId
param |
Iterable<WebItemView> |
WebFragmentResource.items(String location,
String section,
String key,
ContentId contentId)
Fetch web items for the given section and location.
|
Iterable<WebPanelView> |
WebFragmentResource.panels(SortedSet<String> locations,
ContentId contentId)
Fetch web panels for the given locations.
|
Iterable<WebPanelView> |
WebFragmentResource.panels(String location,
List<String> locations,
ContentId contentId,
String key)
Fetch web panels for the given location.
|
Version |
ContentVersionResource.restoreContentHistory(ContentId contentId,
RestData restData,
String expand)
Restore a historical version to be a new current version.
|
Iterable<WebSectionView> |
WebFragmentResource.sections(SortedSet locations,
String key,
ContentId contentId)
Fetch the websections at the given locations.
|
Iterable<WebSectionView> |
WebFragmentResource.sections(String location,
List<String> locations,
String key,
ContentId contentId)
Fetch the websections at the given location.
|
PageResponse<ContentRestriction> |
ExperimentalContentRestrictionsResource.updateRestrictions(ContentId contentId,
String expand,
PageResponse<ContentRestriction> contentRestrictions)
Sets all the restrictions specified to a piece of content identified by
contentId , replacing any existing permissions. |
Modifier and Type | Method and 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 operation
|
Map<ContentType,PageResponse<Content>> |
ChildContentResource.children(ContentId contentId,
String expand,
Integer parentVersion,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns a map of the direct children of a piece of Content.
|
RestList<Content> |
ChildContentResource.childrenOfType(ContentId contentId,
ContentType type,
String expand,
Integer parentVersion,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns the direct children of a piece of Content, limited to a single child type.
|
RestList<Content> |
ChildContentResource.commentsOfContent(ContentId contentId,
String expand,
Integer parentVersion,
int start,
int limit,
Set<String> location,
String depth,
javax.ws.rs.core.UriInfo uriInfo)
Returns the comments of a content
|
JsonContentProperty |
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 |
ContentResource.delete(ContentId contentId,
ContentStatus status)
Trashes or purges a piece of Content, based on its
ContentType and ContentStatus . |
javax.ws.rs.core.Response |
ContentPropertyResource.delete(ContentId contentId,
String key)
Deletes a content property.
|
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 operation
|
RestList<Content> |
AttachmentResource.getAttachments(ContentId contentId,
String expand,
int start,
int limit,
String filename,
String mediaType,
javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of attachment Content entities within a single container.
|
PageResponse<Content> |
ContentResource.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 content
|
MacroInstance |
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 ContentBlueprint
|
Content |
ContentBlueprintResource.publishSharedDraft(ContentId draftId,
Content content,
ContentStatus status,
String expand)
Publishes a shared draft of a Content created from a ContentBlueprint
|
javax.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.
|
Content |
ContentResource.update(ContentId contentId,
Content content,
ContentStatus status,
ContentDraftService.ConflictPolicy conflictPolicy)
Updates a piece of Content, including changes to content status
|
JsonContentProperty |
ContentPropertyResource.update(ContentId contentId,
String key,
JsonContentProperty property)
Updates a content property.
|
Content |
AttachmentResource.updateData(ContentId attachmentId,
com.atlassian.plugins.rest.common.multipart.FilePart filePart,
com.atlassian.plugins.rest.common.multipart.FilePart comment,
com.atlassian.plugins.rest.common.multipart.FilePart minorEdit,
com.atlassian.plugins.rest.common.multipart.FilePart hidden)
Update the binary data of an Attachment, and optionally the comment and the minor edit field.
|
Modifier and Type | Field and Description |
---|---|
protected ContentId |
AbstractRemoteContentService.AbstractRemoteContentFinder.contentId |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentServiceImpl.addAttachments(ContentId contentId,
Collection<AttachmentUpload> uploads)
Deprecated.
since 7.0.1. Use
RemoteAttachmentServiceImpl.addAttachmentsCompletionStage(ContentId, Collection) instead. |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.addAttachments(ContentId contentId,
Collection<AttachmentUpload> uploads)
Deprecated.
since 7.0.1. Use
RemoteAttachmentService.addAttachmentsCompletionStage(ContentId, Collection) instead. |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentServiceImpl.addAttachments(ContentId contentId,
ContentStatus status,
Collection<AttachmentUpload> uploads)
Deprecated.
since 7.0.1. Use
RemoteAttachmentServiceImpl.addAttachmentsCompletionStage(ContentId, ContentStatus, Collection) instead. |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.addAttachments(ContentId contentId,
ContentStatus status,
Collection<AttachmentUpload> uploads)
Deprecated.
since 7.0.1. Use
RemoteAttachmentService.addAttachmentsCompletionStage(ContentId, ContentStatus, Collection) instead. |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentServiceImpl.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads,
boolean allowDuplicated,
Expansions expansions)
Deprecated.
|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads,
boolean allowDuplicated,
Expansions expansions)
Deprecated.
|
CompletionStage<PageResponse<Content>> |
RemoteAttachmentServiceImpl.addAttachmentsCompletionStage(ContentId contentId,
Collection<AttachmentUpload> uploads) |
CompletionStage<PageResponse<Content>> |
RemoteAttachmentService.addAttachmentsCompletionStage(ContentId contentId,
Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of
Content . |
CompletionStage<PageResponse<Content>> |
RemoteAttachmentServiceImpl.addAttachmentsCompletionStage(ContentId contentId,
ContentStatus status,
Collection<AttachmentUpload> uploads) |
CompletionStage<PageResponse<Content>> |
RemoteAttachmentService.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>> |
RemoteAttachmentService.addAttachmentsCompletionStage(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads,
boolean allowDuplicated,
Expansions expansions) |
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentRestrictionService.addDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentRestrictionServiceImpl.addDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
CompletionStage<Void> |
RemoteContentRestrictionService.addDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject)
Adds singular direct
ContentRestriction for operationKey and subject to the content identified by contentId parameter. |
CompletionStage<Void> |
RemoteContentRestrictionServiceImpl.addDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject) |
com.atlassian.util.concurrent.Promise<? extends Iterable<Label>> |
RemoteContentLabelService.addLabels(ContentId contentId,
Iterable<Label> labels)
Deprecated.
since 7.0.1. Use
RemoteContentLabelService.getLabelsCompletionStage(ContentId, Collection, PageRequest) instead. |
com.atlassian.util.concurrent.Promise<PageResponse<Label>> |
AbstractRemoteContentLabelService.addLabels(ContentId contentId,
Iterable<Label> labels)
Deprecated.
since 7.0.1. Use
AbstractRemoteContentLabelService.addLabelsCompletionStage(ContentId, Iterable) instead. |
CompletionStage<? extends Iterable<Label>> |
RemoteContentLabelService.addLabelsCompletionStage(ContentId contentId,
Iterable<Label> labels)
Adds the given labels to the specified content
|
CompletionStage<PageResponse<Label>> |
AbstractRemoteContentLabelService.addLabelsCompletionStage(ContentId contentId,
Iterable<Label> labels) |
com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> |
RemoteContentRestrictionService.addRestrictions(ContentId target,
Collection<? extends ContentRestriction> contentRestrictions,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentRestrictionService.addRestrictionsCompletionStage(ContentId, Collection, Expansion...) instead. |
com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> |
RemoteContentRestrictionServiceImpl.addRestrictions(ContentId target,
Collection<? extends ContentRestriction> contentRestrictions,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentRestrictionServiceImpl.addRestrictionsCompletionStage(ContentId, Collection, Expansion...) instead. |
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 by
contentId . |
CompletionStage<ContentRestrictionsPageResponse> |
RemoteContentRestrictionServiceImpl.addRestrictionsCompletionStage(ContentId target,
Collection<? extends ContentRestriction> contentRestrictions,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentVersionService.delete(ContentId contentId,
int versionNumber)
delete the version of content.
|
com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> |
RemoteContentRestrictionService.deleteAllDirectRestrictions(ContentId target,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentRestrictionService.deleteAllDirectRestrictionsCompletionStage(ContentId, Expansion...) instead. |
com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> |
RemoteContentRestrictionServiceImpl.deleteAllDirectRestrictions(ContentId target,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentRestrictionServiceImpl.deleteAllDirectRestrictionsCompletionStage(ContentId, Expansion...) instead. |
CompletionStage<ContentRestrictionsPageResponse> |
RemoteContentRestrictionService.deleteAllDirectRestrictionsCompletionStage(ContentId target,
Expansion... expansions)
Attempts to delete all the restrictions specified directly on a piece of content identified by
contentId . |
CompletionStage<ContentRestrictionsPageResponse> |
RemoteContentRestrictionServiceImpl.deleteAllDirectRestrictionsCompletionStage(ContentId target,
Expansion... expansions) |
CompletionStage<Void> |
RemoteContentVersionService.deleteCompletionStage(ContentId contentId,
int versionNumber)
delete the version of content.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentRestrictionService.deleteDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentRestrictionServiceImpl.deleteDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
CompletionStage<Void> |
RemoteContentRestrictionService.deleteDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deletes singular direct
ContentRestriction for operationKey and subject from the content identified by contentId parameter. |
CompletionStage<Void> |
RemoteContentRestrictionServiceImpl.deleteDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject) |
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentDraftServiceImpl.deleteDraft(ContentId contentId)
Deprecated.
since 7.0.1. Use
RemoteContentDraftServiceImpl.deleteDraftCompletionStage(ContentId) instead. |
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentDraftService.deleteDraft(ContentId contentId)
Deprecated.
since 7.0.1. Use
RemoteContentDraftService.deleteDraftCompletionStage(ContentId) instead. |
CompletionStage<Void> |
RemoteContentDraftServiceImpl.deleteDraftCompletionStage(ContentId contentId) |
CompletionStage<Void> |
RemoteContentDraftService.deleteDraftCompletionStage(ContentId contentId)
Deletes the draft.
|
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>> |
RemoteContentLabelServiceImpl.getLabels(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest request)
Deprecated.
since 7.0.1. Use
RemoteContentLabelServiceImpl.getLabelsCompletionStage(ContentId, Collection, PageRequest) instead. |
com.atlassian.util.concurrent.Promise<? extends Iterable<Label>> |
RemoteContentLabelService.getLabels(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest request)
Deprecated.
since 7.0.1. Use
RemoteContentLabelService.getLabelsCompletionStage(ContentId, Collection, PageRequest) instead. |
abstract com.atlassian.util.concurrent.Promise<PageResponse<Label>> |
AbstractRemoteContentLabelService.getLabels(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest request)
Deprecated.
since 7.0.1. Use
AbstractRemoteContentLabelService.getLabelsCompletionStage(ContentId, Collection, PageRequest) instead. |
CompletionStage<PageResponse<Label>> |
RemoteContentLabelServiceImpl.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 namespaces
|
abstract CompletionStage<PageResponse<Label>> |
AbstractRemoteContentLabelService.getLabelsCompletionStage(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest request) |
com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> |
RemoteContentRestrictionService.getRestrictions(ContentId target,
PageRequest pageRequest,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentRestrictionService.getRestrictionsCompletionStage(ContentId, PageRequest, Expansion...) instead. |
com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> |
RemoteContentRestrictionServiceImpl.getRestrictions(ContentId target,
PageRequest pageRequest,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentRestrictionServiceImpl.getRestrictionsCompletionStage(ContentId, PageRequest, Expansion...) instead. |
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) |
com.atlassian.util.concurrent.Promise<ContentRestriction> |
RemoteContentRestrictionService.getRestrictionsForOperation(ContentId target,
OperationKey operationKey,
PageRequest pageRequest,
Expansion... expansions)
Deprecated.
|
com.atlassian.util.concurrent.Promise<ContentRestriction> |
RemoteContentRestrictionServiceImpl.getRestrictionsForOperation(ContentId target,
OperationKey operationKey,
PageRequest pageRequest,
Expansion... expansions)
Deprecated.
|
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) |
com.atlassian.util.concurrent.Promise<Map<OperationKey,ContentRestriction>> |
RemoteContentRestrictionService.getRestrictionsGroupByOperation(ContentId target,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentRestrictionService.getRestrictionsGroupByOperationCompletionStage(ContentId, Expansion...) instead. |
com.atlassian.util.concurrent.Promise<Map<OperationKey,ContentRestriction>> |
RemoteContentRestrictionServiceImpl.getRestrictionsGroupByOperation(ContentId target,
Expansion... expansions)
Deprecated.
|
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) |
com.atlassian.util.concurrent.Promise<Boolean> |
RemoteContentRestrictionService.hasDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
com.atlassian.util.concurrent.Promise<Boolean> |
RemoteContentRestrictionServiceImpl.hasDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
CompletionStage<Boolean> |
RemoteContentRestrictionService.hasDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject)
Returns
true if the User or Group specified by the subject parameter has restriction(s) for the operationKey operation
which are specified directly on the Content identified by contentId parameter. |
CompletionStage<Boolean> |
RemoteContentRestrictionServiceImpl.hasDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject) |
com.atlassian.util.concurrent.Promise<Boolean> |
RemoteWatchService.isWatchingContent(com.atlassian.sal.api.user.UserKey userKey,
ContentId content)
Deprecated.
since 7.0.1. Use
RemoteWatchService.isWatchingContentCompletionStage(UserKey, ContentId) instead. |
CompletionStage<Boolean> |
RemoteWatchService.isWatchingContentCompletionStage(com.atlassian.sal.api.user.UserKey userKey,
ContentId content) |
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentLabelService.removeLabel(ContentId contentId,
Label label)
Deprecated.
since 7.0.1. Use
RemoteContentLabelService.removeLabelCompletionStage(ContentId, Label) instead. |
com.atlassian.util.concurrent.Promise<Void> |
AbstractRemoteContentLabelService.removeLabel(ContentId contentId,
Label label)
Deprecated.
since 7.0.1. Use
AbstractRemoteContentLabelService.removeLabelCompletionStage(ContentId, Label) instead. |
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentLabelService.removeLabel(ContentId contentId,
String label)
Deprecated.
|
com.atlassian.util.concurrent.Promise<Void> |
AbstractRemoteContentLabelService.removeLabel(ContentId contentId,
String label)
Deprecated.
|
CompletionStage<Void> |
RemoteContentLabelService.removeLabelCompletionStage(ContentId contentId,
Label label)
Remove a label with from the specified content
|
CompletionStage<Void> |
AbstractRemoteContentLabelService.removeLabelCompletionStage(ContentId contentId,
Label label) |
com.atlassian.util.concurrent.Promise<Version> |
RemoteContentVersionService.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.
|
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.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteWatchService.unwatchContent(com.atlassian.sal.api.user.UserKey userKey,
ContentId contentId)
Deprecated.
since 7.0.1. Use
RemoteWatchService.unwatchContentCompletionStage(UserKey, ContentId) instead. |
CompletionStage<Void> |
RemoteWatchService.unwatchContentCompletionStage(com.atlassian.sal.api.user.UserKey userKey,
ContentId contentId)
Remove a watch to the given
content |
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentServiceImpl.updateData(ContentId attachmentId,
AttachmentUpload upload)
Deprecated.
since 7.0.1. Use
RemoteAttachmentServiceImpl.updateDataCompletionStage(ContentId, AttachmentUpload) instead. |
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentService.updateData(ContentId attachmentId,
AttachmentUpload upload)
Deprecated.
since 7.0.1. Use
RemoteAttachmentService.updateDataCompletionStage(ContentId, AttachmentUpload) instead. |
CompletionStage<Content> |
RemoteAttachmentServiceImpl.updateDataCompletionStage(ContentId attachmentId,
AttachmentUpload upload) |
CompletionStage<Content> |
RemoteAttachmentService.updateDataCompletionStage(ContentId attachmentId,
AttachmentUpload upload)
Updates the data part of an Attachment
Content instance. |
com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> |
RemoteContentRestrictionService.updateRestrictions(ContentId target,
Collection<? extends ContentRestriction> contentRestrictions,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentRestrictionService.updateRestrictionsCompletionStage(ContentId, Collection, Expansion...) instead. |
com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> |
RemoteContentRestrictionServiceImpl.updateRestrictions(ContentId target,
Collection<? extends ContentRestriction> contentRestrictions,
Expansion... expansions)
Deprecated.
|
CompletionStage<ContentRestrictionsPageResponse> |
RemoteContentRestrictionService.updateRestrictionsCompletionStage(ContentId target,
Collection<? extends ContentRestriction> contentRestrictions,
Expansion... expansions)
Sets all the restrictions specified to a piece of content identified by
contentId , replacing any existing permissions. |
CompletionStage<ContentRestrictionsPageResponse> |
RemoteContentRestrictionServiceImpl.updateRestrictionsCompletionStage(ContentId target,
Collection<? extends ContentRestriction> contentRestrictions,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<ContentWatch> |
RemoteWatchService.watchContent(com.atlassian.sal.api.user.UserKey userKey,
ContentId contentId)
Deprecated.
since 7.0.1. Use
RemoteWatchService.watchContentCompletionStage(UserKey, ContentId) instead. |
CompletionStage<ContentWatch> |
RemoteWatchService.watchContentCompletionStage(com.atlassian.sal.api.user.UserKey userKey,
ContentId contentId)
Create a watch to the given
content |
RemoteAttachmentService.RemoteAttachmentFinder |
RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl.withContainerId(ContentId containerId) |
RemoteAttachmentService.RemoteAttachmentFinder |
RemoteAttachmentService.RemoteAttachmentFinder.withContainerId(ContentId parentId) |
RemoteContentPropertyService.RemoteParameterContentPropertyFinder |
RemoteContentPropertyService.RemoteParameterContentPropertyFinder.withContentId(ContentId contentId) |
RemoteContentPropertyService.RemoteParameterContentPropertyFinder |
RemoteContentPropertyServiceImpl.RemoteContentPropertyFinderImpl.withContentId(ContentId contentId) |
RemoteContentService.RemoteSingleContentFetcher |
RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl.withId(ContentId attachmentId) |
RemoteContentVersionService.RemoteParameterVersionFinder |
RemoteContentVersionService.RemoteParameterVersionFinder.withId(ContentId contentId) |
RemoteContentService.RemoteSingleContentFetcher |
AbstractRemoteContentService.AbstractRemoteContentFinder.withId(ContentId contentId) |
RemoteContentService.RemoteSingleContentFetcher |
RemoteAttachmentService.RemoteAttachmentFinder.withId(ContentId attachmentId) |
RemoteContentService.RemoteSingleContentFetcher |
RemoteContentService.RemoteContentFinder.withId(ContentId contentId) |
RemoteContentService.RemoteSingleContentFetcher |
AbstractRemoteContentService.AbstractRemoteContentFinder.withId(ContentId first,
ContentId... tail) |
RemoteContentService.RemoteSingleContentFetcher |
AbstractRemoteContentService.AbstractRemoteContentFinder.withId(ContentId first,
ContentId... tail) |
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.
|
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.
|
RemoteSingleFetcher |
RemoteContentVersionService.RemoteVersionFinder.withIdAndVersion(ContentId contentId,
int version) |
RemoteContentService.RemoteSingleContentFetcher |
AbstractRemoteContentService.AbstractRemoteContentFinder.withIdAndVersion(ContentId contentId,
int version) |
RemoteContentService.RemoteSingleContentFetcher |
RemoteContentService.RemoteContentFinder.withIdAndVersion(ContentId contentId,
int version) |
Modifier and Type | Method and 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 ids
|
Constructor and Description |
---|
RemoteChildContentFinderImpl(AbstractRemoteService other,
ContentId parentId,
Expansion[] expansion) |
Modifier and Type | Method and Description |
---|---|
RemoteChildContentService.RemoteChildContentFinder |
GraphQLRemoteChildContentServiceImpl.findContent(ContentId parentId,
Expansion... expansion) |
com.atlassian.util.concurrent.Promise<PageResponse<Label>> |
GraphQLRemoteContentLabelServiceImpl.getLabels(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest request)
Deprecated.
since 7.0.1. Use
GraphQLRemoteContentLabelServiceImpl.getLabelsCompletionStage(ContentId, Collection, PageRequest) instead. |
CompletionStage<PageResponse<Label>> |
GraphQLRemoteContentLabelServiceImpl.getLabelsCompletionStage(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest request) |
Constructor and Description |
---|
RemoteChildContentFinderImpl(AbstractRemoteService other,
ContentId parentId,
Expansion[] expansions) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentVersionServiceImpl.delete(ContentId contentId,
int versionNumber)
Deprecated.
since 7.0.1. Use
RemoteContentVersionServiceImpl.deleteCompletionStage(ContentId, int) instead. |
CompletionStage<Void> |
RemoteContentVersionServiceImpl.deleteCompletionStage(ContentId contentId,
int versionNumber) |
RemoteContentMacroService.RemoteMacroFinder |
RemoteContentMacroServiceImpl.findInContent(ContentId content,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Boolean> |
RemoteWatchServiceImpl.isWatchingContent(com.atlassian.sal.api.user.UserKey userKey,
ContentId contentId)
Deprecated.
since 7.0.1. Use
RemoteWatchServiceImpl.isWatchingContentCompletionStage(UserKey, ContentId) instead. |
CompletionStage<Boolean> |
RemoteWatchServiceImpl.isWatchingContentCompletionStage(com.atlassian.sal.api.user.UserKey userKey,
ContentId contentId) |
com.atlassian.util.concurrent.Promise<Version> |
RemoteContentVersionServiceImpl.restore(ContentId contentId,
VersionRestoreParameters versionRestoreParameters,
Expansion... expansions)
Deprecated.
|
CompletionStage<Version> |
RemoteContentVersionServiceImpl.restoreCompletionStage(ContentId contentId,
VersionRestoreParameters versionRestoreParameters,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Void> |
RemoteWatchServiceImpl.unwatchContent(com.atlassian.sal.api.user.UserKey userKey,
ContentId contentId)
Deprecated.
since 7.0.1. Use
RemoteWatchServiceImpl.unwatchContentCompletionStage(UserKey, ContentId) instead. |
CompletionStage<Void> |
RemoteWatchServiceImpl.unwatchContentCompletionStage(com.atlassian.sal.api.user.UserKey userKey,
ContentId contentId) |
com.atlassian.util.concurrent.Promise<ContentWatch> |
RemoteWatchServiceImpl.watchContent(com.atlassian.sal.api.user.UserKey userKey,
ContentId contentId)
Deprecated.
since 7.0.1. Use
RemoteWatchServiceImpl.watchContentCompletionStage(UserKey, ContentId) instead. |
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) |
Constructor and Description |
---|
RemoteMacroFinderImpl(AbstractRemoteService otherService,
ContentId contentId) |
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.fugue.Option<ContentId> |
AbstractRemoteWebView.contentId |
Modifier and Type | Method and Description |
---|---|
RemoteWebView |
AbstractRemoteWebViewService.forContent(ContentId contentId) |
RemoteWebView |
RemoteWebViewService.forContent(ContentId contentId)
Provides a new WebView.
|
Modifier and Type | Method and Description |
---|---|
WebView |
WebViewServiceImpl.forContent(ContentId contentId) |
WebView |
WebViewServiceImpl.forContent(@Nullable ContentId contentId,
Map<String,Object> additionalContext) |
Copyright © 2003–2020 Atlassian. All rights reserved.