Uses of Class
com.atlassian.confluence.api.service.exceptions.ServiceException
-
-
Uses of ServiceException in com.atlassian.confluence.api.impl.service.accessmode
Methods in com.atlassian.confluence.api.impl.service.accessmode that throw ServiceException Modifier and Type Method Description void
AccessModeServiceImpl. updateAccessMode(AccessMode accessMode)
<T> T
AccessModeServiceImpl. withReadOnlyAccessExemption(Callable<T> callable)
-
Uses of ServiceException in com.atlassian.confluence.api.impl.service.audit
Methods in com.atlassian.confluence.api.impl.service.audit that throw ServiceException Modifier and Type Method Description ValidationResult
AuditRecordValidator. validateCreate(AuditRecord record)
Deprecated. -
Uses of ServiceException in com.atlassian.confluence.api.impl.service.content
Methods in com.atlassian.confluence.api.impl.service.content that throw ServiceException Modifier and Type Method Description PageResponse<Content>
AttachmentServiceImpl. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads)
PageResponse<Content>
AttachmentServiceImpl. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
PageResponse<Content>
AttachmentServiceImpl. addAttachments(ContentId containerId, Collection<AttachmentUpload> uploads)
PageResponse<Label>
ContentLabelServiceImpl. addLabels(ContentId contentId, Iterable<Label> labels)
ContentBody
ContentBodyConversionServiceImpl. convert(ContentBody body, ContentRepresentation toFormat)
ContentBody
ContentBodyConversionServiceImpl. convert(ContentBody contentBody, ContentRepresentation toFormat, Expansion... expansions)
ContentBody
ContentBodyConversionServiceImpl. convertBody(Content content, ContentRepresentation toFormat)
ContentBody
ContentBodyConversionServiceImpl. convertBody(Content content, ContentRepresentation toFormat, Expansion... expansions)
Content
ContentServiceImpl. create(Content newContent)
Content
ContentServiceImpl. create(Content newContent, Expansion... expansions)
Space
SpaceServiceImpl. create(Space space, boolean isPrivate)
void
AttachmentServiceImpl. delete(Content attachmentContent)
void
ContentServiceImpl. delete(Content content)
LongTaskSubmission
SpaceServiceImpl. delete(Space spaceToDelete)
void
ContentLabelServiceImpl. removeLabel(ContentId contentId, String label)
Deprecated.since 6.5.0 use {ContentLabelServiceImpl.removeLabel(ContentId, Label)
}Content
AttachmentServiceImpl. update(Content updatedContent)
Content
ContentServiceImpl. update(Content updatedContent)
Space
SpaceServiceImpl. update(Space space)
Content
AttachmentServiceImpl. updateData(ContentId attachmentId, AttachmentUpload upload)
ValidationResult
ContentServiceImpl.ValidatorImpl. validateCreate(Content newContent)
-
Uses of ServiceException in com.atlassian.confluence.api.impl.service.content.draft
Methods in com.atlassian.confluence.api.impl.service.content.draft that throw ServiceException Modifier and Type Method Description Content
LegacyContentDraftServiceImpl. publishNewDraft(Content content, Expansion... expansions)
Content
SharedContentDraftServiceImpl. publishNewDraft(Content content, Expansion... expansions)
Deprecated.since 5.9 - we use the same method for publishing drafts for new pages and for page edits -
Uses of ServiceException in com.atlassian.confluence.api.impl.service.content.factory
Methods in com.atlassian.confluence.api.impl.service.content.factory that throw ServiceException Modifier and Type Method Description ContentBody
ContentBodyFactory. build(ContentEntityObject ceo, BodyContent bodyContent, ContentRepresentation representation)
-
Uses of ServiceException in com.atlassian.confluence.api.impl.service.content.typebinding
Methods in com.atlassian.confluence.api.impl.service.content.typebinding that throw ServiceException Modifier and Type Method Description PageResponse<Content>
AttachmentContentTypeApiSupport. getAttachments(ContentId containerId, LimitedRequest limitedRequest, com.google.common.base.Predicate<? super Attachment> predicate, Expansions contentExpansions)
-
Uses of ServiceException in com.atlassian.confluence.api.impl.service.permissions
Methods in com.atlassian.confluence.api.impl.service.permissions that throw ServiceException Modifier and Type Method Description void
ContentRestrictionServiceImpl. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
ContentRestrictionsPageResponse
ContentRestrictionServiceImpl. addRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
ContentRestrictionsPageResponse
ContentRestrictionServiceImpl. deleteAllDirectRestrictions(ContentId target, Expansion... expansions)
void
ContentRestrictionServiceImpl. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
ContentRestrictionsPageResponse
ContentRestrictionServiceImpl. getRestrictions(ContentId target, PageRequest pageRequest, Expansion... allExpansions)
ContentRestriction
ContentRestrictionServiceImpl. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... allExpansions)
Map<OperationKey,ContentRestriction>
ContentRestrictionServiceImpl. getRestrictionsGroupByOperation(ContentId target, Expansion... allExpansions)
boolean
ContentRestrictionServiceImpl. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
ContentRestrictionsPageResponse
ContentRestrictionServiceImpl. updateRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
-
Uses of ServiceException in com.atlassian.confluence.api.impl.service.relation
Methods in com.atlassian.confluence.api.impl.service.relation that throw ServiceException Modifier and Type Method Description <S extends Relatable,T extends Relatable>
RelationInstance<S,T>RelationServiceImpl. create(RelationInstance<S,T> relationInstance)
<S extends Relatable,T extends Relatable>
voidRelationServiceImpl. delete(RelationInstance<S,T> relationInstance)
-
Uses of ServiceException in com.atlassian.confluence.api.model.validation
Method parameters in com.atlassian.confluence.api.model.validation with type arguments of type ServiceException Modifier and Type Method Description SimpleValidationResult.Builder
SimpleValidationResult.Builder. addExceptionSupplier(com.atlassian.fugue.Function2<String,ValidationResult,? extends ServiceException> exceptionSupplier)
Deprecated.since 7.0.1.SimpleValidationResult.Builder
SimpleValidationResult.Builder. withExceptionSupplier(BiFunction<String,ValidationResult,? extends ServiceException> exceptionSupplier)
Methods in com.atlassian.confluence.api.model.validation that throw ServiceException Modifier and Type Method Description ServiceException
SimpleMergeValidationResult. throwIfInvalid()
Deprecated.since 5.10 please useSimpleMergeValidationResult.throwIfNotSuccessful()
ServiceException
SimpleMergeValidationResult. throwIfInvalid(String msg)
Deprecated.since 5.10 please useSimpleMergeValidationResult.throwIfNotSuccessful(String)
default ServiceException
ValidationResult. throwIfInvalid()
Deprecated.since 5.10 please useValidationResult.throwIfNotSuccessful()
default ServiceException
ValidationResult. throwIfInvalid(String msg)
Deprecated.since 5.10 please useValidationResult.throwIfNotSuccessful(String)
void
SimpleMergeValidationResult. throwIfNotSuccessful()
void
SimpleMergeValidationResult. throwIfNotSuccessful(String msg)
default void
ValidationResult. throwIfNotSuccessful()
Converts this validation result into aServiceException
and throws it.default void
ValidationResult. throwIfNotSuccessful(String msg)
Converts this validation result into aServiceException
and throws it.void
SimpleMergeValidationResult. throwIfNotValid(String msg)
Deprecated.since 5.10 please useSimpleMergeValidationResult.throwIfNotSuccessful(String)
default void
ValidationResult. throwIfNotValid(String msg)
Deprecated.since 5.10 please useValidationResult.throwIfNotSuccessful(String)
-
Uses of ServiceException in com.atlassian.confluence.api.service.accessmode
Methods in com.atlassian.confluence.api.service.accessmode that throw ServiceException Modifier and Type Method Description void
AccessModeService. updateAccessMode(AccessMode accessMode)
Update the access mode if the current user is a sysadmin<T> T
AccessModeService. withReadOnlyAccessExemption(Callable<T> callable)
Execute a method that needs to be exempt from read-only access check in the permission manager layer. -
Uses of ServiceException in com.atlassian.confluence.api.service.audit
Methods in com.atlassian.confluence.api.service.audit that throw ServiceException Modifier and Type Method Description RetentionPeriod
AuditService. setRetentionPeriod(RetentionPeriod retentionPeriod)
Deprecated.Set the configured retention period for audit records.AuditRecord
AuditService. storeRecord(AuditRecord record)
Deprecated.Persist the givenAuditRecord
.ValidationResult
AuditService.Validator. validateCreate(AuditRecord record)
Deprecated.Validate that an audit record can be created. -
Uses of ServiceException in com.atlassian.confluence.api.service.content
Methods in com.atlassian.confluence.api.service.content that throw ServiceException Modifier and Type Method Description PageResponse<Content>
AttachmentService. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece ofContent
.PageResponse<Content>
AttachmentService. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
Add one or more attachments to a piece ofContent
.PageResponse<Content>
AttachmentService. addAttachments(ContentId containerId, Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece ofContent
.PageResponse<Label>
ContentLabelService. addLabels(ContentId contentId, Iterable<Label> labels)
Adds the given labels to the specified contentContentBody
ContentBodyConversionService. convert(ContentBody body, ContentRepresentation representation)
Same as callingContentBodyConversionService.convert(ContentBody, ContentRepresentation, Expansion...)
with an empty expansion.ContentBody
ContentBodyConversionService. convert(ContentBody body, ContentRepresentation representation, Expansion... expansions)
Convert a ContentBody value into another format, performing validation during the conversion.ContentBody
ContentBodyConversionService. convertBody(Content content, ContentRepresentation representation)
Same as callingContentBodyConversionService.convertBody(Content, ContentRepresentation, Expansion...)
with an empty expansion.ContentBody
ContentBodyConversionService. convertBody(Content content, ContentRepresentation representation, Expansion... expansions)
Convert the single ContentBody value in aContent
body map into another format, performing validation during the conversion.void
ContentPropertyService. copyAllJsonContentProperties(ContentSelector source, ContentSelector target)
Copy all JsonContentProperty from one content to other contentJsonContentProperty
ContentPropertyService. create(JsonContentProperty newProperty)
Create a content property.Content
ContentService. create(Content newContent)
Create a piece of content.Content
ContentService. create(Content newContent, Expansion... expansions)
Create a piece of content.JsonSpaceProperty
SpacePropertyService. create(JsonSpaceProperty newProperty)
Create a content property.Space
SpaceService. create(Space newSpace, boolean isPrivate)
Create a new space.void
AttachmentService. delete(Content attachment)
Moves an Attachment to trash.void
ContentPropertyService. delete(JsonContentProperty property)
Removes a content property from the system.void
ContentService. delete(Content content)
Removes a piece of Content from the system.LongTaskSubmission
SpaceService. delete(Space spaceToDelete)
Delete the given space.PageResponse<Content>
ContentService.ContentFetcher. fetchMany(ContentType type, PageRequest request)
Map<ContentType,PageResponse<Content>>
ContentService.ContentFetcher. fetchMappedByContentType(PageRequest request)
Content
AttachmentService. update(Content attachment)
Updates the non-data parts of an AttachmentContent
instance.JsonContentProperty
ContentPropertyService. update(JsonContentProperty property)
Updates a content property.Content
ContentService. update(Content content)
Updates a piece of content.Space
SpaceService. update(Space space)
Updates a space.Content
AttachmentService. updateData(ContentId attachmentId, AttachmentUpload upload)
Updates the data part of an AttachmentContent
instance.ValidationResult
ContentService.Validator. validateCreate(Content newContent)
Validate that a piece of content can be included, including permission checks. -
Uses of ServiceException in com.atlassian.confluence.api.service.content.template
Methods in com.atlassian.confluence.api.service.content.template that throw ServiceException Modifier and Type Method Description ValidationResult
ContentTemplateService.Validator. validateCreate(ContentTemplate newContentTemplate)
Validate that the specified contentTemplate can be created by the current user. -
Uses of ServiceException in com.atlassian.confluence.api.service.exceptions
Subclasses of ServiceException in com.atlassian.confluence.api.service.exceptions Modifier and Type Class Description class
BadRequestException
Thrown when the data in the incoming request is incomplete or otherwise invalid.class
ConflictException
Thrown when a request cannot be performed due to the state of the content, as per the semantics of the HTTP 409 'Conflict' status code.class
GoneException
Thrown when things that are expected to be found are GONE.class
InternalServerException
A ServiceException wrapper for a general runtime exception.class
NotFoundException
Thrown when things that are expected to be found are NOT found.class
PermissionException
Raised when a user attempts to perform an action they do not have permission for.class
ReadOnlyException
This exception is thrown when things that are expected to be read-onlyclass
SeeOtherException
Raised to return an http 303 'see other' to the client. -
Uses of ServiceException in com.atlassian.confluence.api.service.exceptions.unchecked
Subclasses of ServiceException in com.atlassian.confluence.api.service.exceptions.unchecked Modifier and Type Class Description class
NotImplementedServiceException
Indicates that a particular service is not yet implemented, maps to a 501 error -
Uses of ServiceException in com.atlassian.confluence.api.service.journal
Methods in com.atlassian.confluence.api.service.journal that throw ServiceException Modifier and Type Method Description int
JournalService. countEntries(@NonNull JournalIdentifier journalId)
Counts the number of entries in a journal.long
JournalService. enqueue(@NonNull JournalEntry entry)
Adds the given entry to a journal.Iterable<JournalEntry>
JournalService. peek(@NonNull JournalIdentifier journalId, int maxEntries)
Return a copy of journal entries that are waiting to be processed.<V> V
JournalService. processEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull com.google.common.base.Function<Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor)
Deprecated.since 7.0.1.default <V> V
JournalService. processNewEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor)
Processes journal entries that were added since the last time this method was called for this journal on this cluster node.void
JournalService. reset(@NonNull JournalIdentifier journalId)
Resets the state of the journal so that all entries currently in the journal will be skipped. -
Uses of ServiceException in com.atlassian.confluence.api.service.permissions
Methods in com.atlassian.confluence.api.service.permissions that throw ServiceException Modifier and Type Method Description void
ContentRestrictionService. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Adds singular directContentRestriction
foroperationKey
andsubject
to the content identified bycontentId
parameter.ContentRestrictionsPageResponse
ContentRestrictionService. addRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Attempts to add all the restrictions specified to a piece of content identified bycontentId
.ContentRestrictionsPageResponse
ContentRestrictionService. deleteAllDirectRestrictions(ContentId target, Expansion... expansions)
Attempts to delete all the restrictions specified directly on a piece of content identified bycontentId
.void
ContentRestrictionService. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deletes singular directContentRestriction
foroperationKey
andsubject
from the content identified bycontentId
parameter.ContentRestriction
ContentRestrictionService. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)
Retrieves all restrictions for given operation key on given content.Map<OperationKey,ContentRestriction>
ContentRestrictionService. getRestrictionsGroupByOperation(ContentId target, Expansion... expansions)
List all restrictions that exist directly on the given content.boolean
ContentRestrictionService. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Returnstrue
if the User or Group specified by thesubject
parameter has restriction(s) for theoperationKey
operation which are specified directly on the Content identified bycontentId
parameter.ContentRestrictionsPageResponse
ContentRestrictionService. updateRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Sets all the restrictions specified to a piece of content identified bycontentId
, replacing any existing permissions. -
Uses of ServiceException in com.atlassian.confluence.api.service.relations
Methods in com.atlassian.confluence.api.service.relations that throw ServiceException Modifier and Type Method Description <S extends Relatable,T extends Relatable>
RelationInstance<S,T>RelationService. create(RelationInstance<S,T> relationInstance)
Creates a directed relation between two relatable entities.<S extends Relatable,T extends Relatable>
voidRelationService. delete(RelationInstance<S,T> relationInstance)
Remove a relation if it exists between a source and a target relatable entityPageResponse<R>
RelationService.RelatableFinder. fetchMany(PageRequest pageRequest, Expansion... expansions)
-
Uses of ServiceException in com.atlassian.confluence.api.testsupport.matchers.model.content
Methods in com.atlassian.confluence.api.testsupport.matchers.model.content that return types with arguments of type ServiceException Modifier and Type Method Description static org.hamcrest.Matcher<ServiceException>
ContentMatchers. hasValidationError(String key)
-
Uses of ServiceException in com.atlassian.confluence.content.service.experimental
Methods in com.atlassian.confluence.content.service.experimental that throw ServiceException Modifier and Type Method Description PreparedAbstractPage
PageUpdateService. prepare(long id, Modification<AbstractPage> modification, @Nullable SaveContext saveContext)
Prepare content (page or blogpost) for update.void
PageUpdateService. update(PreparedAbstractPage preparedAbstractPage)
Perform update of page or blogpost. -
Uses of ServiceException in com.atlassian.confluence.impl.journal
Methods in com.atlassian.confluence.impl.journal that throw ServiceException Modifier and Type Method Description int
DefaultJournalService. countEntries(@NonNull JournalIdentifier journalId)
long
DefaultJournalService. enqueue(@NonNull JournalEntry entry)
Iterable<JournalEntry>
DefaultJournalService. peek(@NonNull JournalIdentifier journalId, int maxEntries)
<V> V
DefaultJournalService. processEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull com.google.common.base.Function<Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor)
void
DefaultJournalService. reset(@NonNull JournalIdentifier journalId)
-
Uses of ServiceException in com.atlassian.confluence.impl.service.finder.content
Methods in com.atlassian.confluence.impl.service.finder.content that throw ServiceException Modifier and Type Method Description PageResponse<Content>
NoopContentFinder. fetchMany(ContentType type, PageRequest request)
Map<ContentType,PageResponse<Content>>
NoopContentFinder. fetchMappedByContentType(PageRequest request)
-
Uses of ServiceException in com.atlassian.confluence.internal.user
Methods in com.atlassian.confluence.internal.user that throw ServiceException Modifier and Type Method Description protected List<com.atlassian.crowd.embedded.api.SearchRestriction>
UserSearchServiceInternalImpl. convertToSearchRestrictions(String searchTerm, com.atlassian.crowd.search.query.entity.restriction.Property<String> property)
protected List<com.atlassian.crowd.embedded.api.SearchRestriction>
UserSearchServiceInternalImpl. convertToSearchRestrictions(String searchString, List<com.atlassian.crowd.search.query.entity.restriction.Property<String>> properties)
com.atlassian.fugue.Pair<List<String>,PageResponse<ConfluenceUser>>
UserSearchServiceInternal. doMemberOfGroupsSearch(PageRequest pageRequest, GroupSearchRequest searchRequest)
com.atlassian.fugue.Pair<List<String>,PageResponse<ConfluenceUser>>
UserSearchServiceInternalImpl. doMemberOfGroupsSearch(PageRequest pageRequest, GroupSearchRequest searchRequest)
PageResponse<ConfluenceUser>
UserSearchServiceInternal. doUserSearch(PageRequest pageRequest, UserSearchRequest searchRequest)
PageResponse<ConfluenceUser>
UserSearchServiceInternalImpl. doUserSearch(PageRequest pageRequest, UserSearchRequest searchRequest)
protected String
UserSearchServiceInternalImpl. removeWildcards(String term)
-
Uses of ServiceException in com.atlassian.confluence.it.api
Methods in com.atlassian.confluence.it.api that throw ServiceException Modifier and Type Method Description Content
TestAttachmentFactory. addAttachment()
List<Content>
TestAttachmentFactory. addAttachments(int numFiles)
PageResponse<Content>
TestAttachmentFactory. addAttachments(int numFiles, javax.ws.rs.core.MediaType contentType)
Constructors in com.atlassian.confluence.it.api with parameters of type ServiceException Constructor Description RemoteServiceException(ServiceException cause)
-
Uses of ServiceException in com.atlassian.confluence.pages
Methods in com.atlassian.confluence.pages that throw ServiceException Modifier and Type Method Description PageResponse<Content>
DefaultTrashManager. getTrashContents(Space space, LimitedRequest request, Expansion[] expansions)
-
Uses of ServiceException in com.atlassian.confluence.plugins.contentproperty
Methods in com.atlassian.confluence.plugins.contentproperty that throw ServiceException Modifier and Type Method Description void
ContentPropertyServiceImpl. copyAllJsonContentProperties(ContentSelector source, ContentSelector target)
JsonContentProperty
ContentPropertyServiceImpl. create(JsonContentProperty newProperty)
void
ContentPropertyServiceImpl. delete(JsonContentProperty property)
JsonContentProperty
ContentPropertyServiceImpl. update(JsonContentProperty property)
-
Uses of ServiceException in com.atlassian.confluence.plugins.contentproperty.spaceproperty
Methods in com.atlassian.confluence.plugins.contentproperty.spaceproperty that throw ServiceException Modifier and Type Method Description JsonSpaceProperty
SpacePropertyServiceImpl. create(JsonSpaceProperty newProperty)
-
Uses of ServiceException in com.atlassian.confluence.plugins.graphql.providers
Methods in com.atlassian.confluence.plugins.graphql.providers that throw ServiceException Modifier and Type Method Description GraphQLPagination<Content>
ChildContentProvider. attachments(graphql.schema.DataFetchingEnvironment env, String expand, Integer parentVersion, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo)
GraphQLPagination<Content>
ChildContentProvider. children(graphql.schema.DataFetchingEnvironment env, String expand, String type, Integer parentVersion, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo)
GraphQLPagination<Content>
ChildContentProvider. comments(graphql.schema.DataFetchingEnvironment env, String expand, Integer parentVersion, int offset, String afterOffset, int limit, Set<String> location, String depth, javax.ws.rs.core.UriInfo uriInfo)
PageResponse<Label>
ContentLabelsProvider. labels(List<String> prefixes, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo, graphql.schema.DataFetchingEnvironment env)
RestList<JsonContentProperty>
ContentPropertyProvider. properties(String key, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo, graphql.schema.DataFetchingEnvironment env)
List<String>
RecentSpacesProvider. recentSpaces(graphql.schema.DataFetchingEnvironment env, int limit)
Get recently viewed spaces for the current user.CompletableFuture<Space>
SpaceProvider. space(String key, String expand, org.dataloader.DataLoaderRegistry registry)
-
Uses of ServiceException in com.atlassian.confluence.plugins.maintenance.service.impl
Methods in com.atlassian.confluence.plugins.maintenance.service.impl that throw ServiceException Modifier and Type Method Description void
MaintenanceServiceImpl. updateMaintenanceInfo(MaintenanceInfo maintenanceInfo)
-
Uses of ServiceException in com.atlassian.confluence.plugins.restapi.resources
Methods in com.atlassian.confluence.plugins.restapi.resources that throw ServiceException Modifier and Type Method Description ContentWatch
UserWatchResource. addContentWatcher(com.atlassian.sal.api.user.UserKey key, String username, ContentId contentId)
Create a new watcher for the given user and content id.PageResponse<Label>
ContentLabelsResource. addLabels(ContentId contentId, String labels)
Adds a list of labels to the specified content.SpaceWatch
UserWatchResource. addSpaceWatch(com.atlassian.sal.api.user.UserKey key, String username, List<ContentType> contentTypes, String spaceKey)
Create a new watcher for the given user and space key.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 contentMap<ContentType,RestList<Content>>
SpaceResource. contents(String spaceKey, String depth, String expand, int start, int limit)
Returns the content in this given spaceRestList<Content>
SpaceResource. contentsWithType(String spaceKey, String type, String depth, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo)
Returns the content in this given space with the given typeContentBody
ContentBodyResource. convert(ContentBody body, ContentRepresentation toRepresentation, String expand)
Converts between content body representations.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.JsonSpaceProperty
SpacePropertyResource. create(String spaceKey, JsonSpaceProperty newProperty)
Creates a new space property.JsonSpaceProperty
SpacePropertyResource. create(String spaceKey, String propertyKey, JsonSpaceProperty newProperty)
Creates a new space 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.Content
ContentResource. createContent(Content content, ContentStatus status, String expand)
Creates a new piece of Content or publishes the draft if the content id is present.Space
SpaceResource. createPrivateSpace(Space newSpace)
Creates a new private Space, viewable only by its creator.Space
SpaceResource. createSpace(Space newSpace)
Creates a new Space.javax.ws.rs.core.Response
ContentPropertyResource. delete(ContentId contentId, String key)
Deletes a content property.javax.ws.rs.core.Response
ContentResource. delete(ContentId contentId, ContentStatus status)
Trashes or purges a piece of Content, based on itsContentType
andContentStatus
.javax.ws.rs.core.Response
SpacePropertyResource. delete(String spaceKey, String propertyKey)
Deletes a space property.javax.ws.rs.core.Response
SpaceResource. delete(String spaceKey)
Deletes a Space.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.PageResponse<JsonSpaceProperty>
SpacePropertyResource. get(String spaceKey, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of space properties.JsonSpaceProperty
SpacePropertyResource. get(String spaceKey, String propertyKey, String expand)
Returns a space property.RestList<Content>
AttachmentResource. getAttachments(ContentId contentId, String expand, int start, int limit, String filename, String mediaType, javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of attachment Content entities within a single container.PageResponse<Content>
ContentResource. getContent(String type, String spaceKey, String title, List<ContentStatus> statuses, String postingDay, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of Content.Content
ContentResource. getContentById(ContentId id, List<ContentStatus> statuses, Integer version, String expand)
Returns a piece of Content.History
ContentResource. getHistory(ContentId contentId, String expand)
Returns the history of a particular piece of contentMacroInstance
ContentResource. getMacroBodyByHash(ContentId contentId, int versionId, String hash)
MacroInstance
ContentResource. getMacroBodyByMacroId(ContentId contentId, int versionId, String macroId)
Returns the body of a macro (in storage format) with the given id.javax.ws.rs.core.Response
UserWatchResource. isWatchingContent(com.atlassian.sal.api.user.UserKey key, String username, ContentId contentId)
Get information about whether a user is watching a specified content.javax.ws.rs.core.Response
UserWatchResource. isWatchingSpace(com.atlassian.sal.api.user.UserKey key, String username, ContentType contentType, String spaceKey)
Get information about whether a user is watching a specified space.PageResponse<Label>
ContentLabelsResource. labels(ContentId contentId, List<String> prefixes, int offset, int limit, javax.ws.rs.core.UriInfo uriInfo)
Returns the list of labels on a piece of Content.Content
ContentBlueprintResource. publishLegacyDraft(ContentId draftId, Content content, ContentStatus status, String expand)
Publishes a legacy draft of a Content created from a ContentBlueprintContent
ContentBlueprintResource. publishSharedDraft(ContentId draftId, Content content, ContentStatus status, String expand)
Publishes a shared draft of a Content created from a ContentBlueprintjavax.ws.rs.core.Response
UserWatchResource. removeContentWatcher(com.atlassian.sal.api.user.UserKey key, String username, ContentId contentId)
Delete an existing watcher for the given user and content id.javax.ws.rs.core.Response
UserWatchResource. removeSpaceWatch(com.atlassian.sal.api.user.UserKey key, String username, List<ContentType> contentTypes, String spaceKey)
Delete an existing watcher for the given user and space key.PageResponse<Content>
ContentResource. scanContent(String spaceKey, List<ContentStatus> statuses, String expand, int limit, String cursor, javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of Content.PageResponse<Space>
SpaceResource. spaces(String spaceKey, List<String> spaceKeys, String type, String status, List<String> labelNames, Boolean favourite, Boolean hasRetentionPolicy, String expand, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo)
Returns information about a number of spaces.Content
AttachmentResource. update(String attachmentId, Content attachment)
Update the non-binary data of an Attachment.JsonContentProperty
ContentPropertyResource. update(ContentId contentId, String key, JsonContentProperty property)
Updates a content property.Content
ContentResource. update(ContentId contentId, Content content, ContentStatus status, ContentDraftService.ConflictPolicy conflictPolicy)
Updates a piece of Content, including changes to content statusJsonSpaceProperty
SpacePropertyResource. update(String spaceKey, String propertyKey, JsonSpaceProperty property)
Updates a space property.Space
SpaceResource. update(String spaceKey, Space space)
Updates a Space.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. -
Uses of ServiceException in com.atlassian.confluence.rest.client
Methods in com.atlassian.confluence.rest.client that throw ServiceException Modifier and Type Method Description com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentService. addAttachments(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentService. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentService. addAttachments(ContentId contentId, Collection<AttachmentUpload> uploads)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachments(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachments(ContentId contentId, Collection<AttachmentUpload> uploads)
Deprecated.since 7.0.1.CompletionStage<PageResponse<Content>>
RemoteAttachmentService. addAttachmentsCompletionStage(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads)
CompletionStage<PageResponse<Content>>
RemoteAttachmentService. addAttachmentsCompletionStage(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
CompletionStage<PageResponse<Content>>
RemoteAttachmentService. addAttachmentsCompletionStage(ContentId contentId, Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece ofContent
.CompletionStage<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachmentsCompletionStage(ContentId contentId, ContentStatus status, Collection<AttachmentUpload> uploads)
CompletionStage<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachmentsCompletionStage(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
CompletionStage<PageResponse<Content>>
RemoteAttachmentServiceImpl. addAttachmentsCompletionStage(ContentId contentId, Collection<AttachmentUpload> uploads)
com.atlassian.util.concurrent.Promise<Void>
RemoteContentRestrictionService. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Void>
RemoteContentRestrictionServiceImpl. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.CompletionStage<Void>
RemoteContentRestrictionService. addDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
Adds singular directContentRestriction
foroperationKey
andsubject
to the content identified bycontentId
parameter.CompletionStage<Void>
RemoteContentRestrictionServiceImpl. addDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
com.atlassian.util.concurrent.Promise<PageResponse<Label>>
AbstractRemoteContentLabelService. addLabels(ContentId contentId, Iterable<Label> labels)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<? extends Iterable<Label>>
RemoteContentLabelService. addLabels(ContentId contentId, Iterable<Label> labels)
Deprecated.since 7.0.1.CompletionStage<PageResponse<Label>>
AbstractRemoteContentLabelService. addLabelsCompletionStage(ContentId contentId, Iterable<Label> labels)
CompletionStage<? extends Iterable<Label>>
RemoteContentLabelService. addLabelsCompletionStage(ContentId contentId, Iterable<Label> labels)
Adds the given labels to the specified contentcom.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. addRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. addRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. addRestrictionsCompletionStage(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Attempts to add all the restrictions specified to a piece of content identified bycontentId
.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. addRestrictionsCompletionStage(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
com.atlassian.util.concurrent.Promise<Content>
RemoteContentService. create(Content newContent, Expansion... expansions)
Deprecated.since 7.0.1.<S extends Relatable,T extends Relatable>
com.atlassian.util.concurrent.Promise<Void>RemoteRelationService. create(RelationInstance<S,T> relationInstance)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Space>
RemoteSpaceService. create(Space newSpace, boolean isPrivate)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Space>
RemoteSpaceServiceImpl. create(Space newSpace, boolean isPrivate)
Deprecated.since 7.0.1.CompletionStage<Content>
AbstractRemoteContentService. createCompletionStage(Content newContent, Expansion... expansions)
CompletionStage<Content>
RemoteContentService. createCompletionStage(Content newContent, Expansion... expansions)
Create a piece of content.<S extends Relatable,T extends Relatable>
CompletionStage<Void>RemoteRelationService. createCompletionStage(RelationInstance<S,T> relationInstance)
Creates a directed relation between two relatable entities.CompletionStage<Space>
RemoteSpaceService. createCompletionStage(Space newSpace, boolean isPrivate)
Create a new space.CompletionStage<Space>
RemoteSpaceServiceImpl. createCompletionStage(Space newSpace, boolean isPrivate)
com.atlassian.util.concurrent.Promise<Void>
RemoteAttachmentService. delete(Content attachmentContent)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Void>
RemoteAttachmentServiceImpl. delete(Content attachmentContent)
Deprecated.since 7.0.1.<S extends Relatable,T extends Relatable>
com.atlassian.util.concurrent.Promise<Void>RemoteRelationService. delete(RelationInstance<S,T> relationInstance)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. deleteAllDirectRestrictions(ContentId target, Expansion... expansions)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. deleteAllDirectRestrictions(ContentId target, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. deleteAllDirectRestrictionsCompletionStage(ContentId target, Expansion... expansions)
Attempts to delete all the restrictions specified directly on a piece of content identified bycontentId
.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. deleteAllDirectRestrictionsCompletionStage(ContentId target, Expansion... expansions)
CompletionStage<Void>
RemoteAttachmentService. deleteCompletionStage(Content attachmentContent)
Removes an Attachment from the system.CompletionStage<Void>
RemoteAttachmentServiceImpl. deleteCompletionStage(Content attachmentContent)
<S extends Relatable,T extends Relatable>
CompletionStage<Void>RemoteRelationService. deleteCompletionStage(RelationInstance<S,T> relationInstance)
Remove a relation if it exists between a source and a target relatable entitycom.atlassian.util.concurrent.Promise<Void>
RemoteContentRestrictionService. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Void>
RemoteContentRestrictionServiceImpl. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.CompletionStage<Void>
RemoteContentRestrictionService. deleteDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
Deletes singular directContentRestriction
foroperationKey
andsubject
from the content identified bycontentId
parameter.CompletionStage<Void>
RemoteContentRestrictionServiceImpl. deleteDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
com.atlassian.util.concurrent.Promise<ContentRestriction>
RemoteContentRestrictionService. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<ContentRestriction>
RemoteContentRestrictionServiceImpl. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentRestriction>
RemoteContentRestrictionService. getRestrictionsForOperationCompletionStage(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)
Retrieves all restrictions for given operation key on given content.CompletionStage<ContentRestriction>
RemoteContentRestrictionServiceImpl. getRestrictionsForOperationCompletionStage(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... expansions)
com.atlassian.util.concurrent.Promise<Map<OperationKey,ContentRestriction>>
RemoteContentRestrictionService. getRestrictionsGroupByOperation(ContentId target, Expansion... expansions)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Map<OperationKey,ContentRestriction>>
RemoteContentRestrictionServiceImpl. getRestrictionsGroupByOperation(ContentId target, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<Map<OperationKey,ContentRestriction>>
RemoteContentRestrictionService. getRestrictionsGroupByOperationCompletionStage(ContentId target, Expansion... expansions)
List all restrictions that exist directly on the given content.CompletionStage<Map<OperationKey,ContentRestriction>>
RemoteContentRestrictionServiceImpl. getRestrictionsGroupByOperationCompletionStage(ContentId target, Expansion... expansions)
com.atlassian.util.concurrent.Promise<Boolean>
RemoteContentRestrictionService. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Boolean>
RemoteContentRestrictionServiceImpl. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.CompletionStage<Boolean>
RemoteContentRestrictionService. hasDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
Returnstrue
if the User or Group specified by thesubject
parameter has restriction(s) for theoperationKey
operation which are specified directly on the Content identified bycontentId
parameter.CompletionStage<Boolean>
RemoteContentRestrictionServiceImpl. hasDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
com.atlassian.util.concurrent.Promise<Void>
AbstractRemoteContentLabelService. removeLabel(ContentId contentId, String label)
Deprecated.com.atlassian.util.concurrent.Promise<Void>
RemoteContentLabelService. removeLabel(ContentId contentId, String label)
Deprecated.com.atlassian.util.concurrent.Promise<Content>
RemoteAttachmentService. update(Content attachment)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Content>
RemoteAttachmentServiceImpl. update(Content attachment)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Space>
RemoteSpaceService. update(Space space)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Space>
RemoteSpaceServiceImpl. update(Space space)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Void>
RemoteAccessModeService. updateAccessMode(AccessMode accessMode)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Void>
RemoteAccessModeServiceImpl. updateAccessMode(AccessMode accessMode)
'Proxied' method to update the access mode.CompletionStage<Void>
RemoteAccessModeService. updateAccessModeCompletionStage(AccessMode accessMode)
CompletionStage<Void>
RemoteAccessModeServiceImpl. updateAccessModeCompletionStage(AccessMode accessMode)
CompletionStage<Content>
RemoteAttachmentService. updateCompletionStage(Content attachment)
Updates the non-data parts of an AttachmentContent
instance.CompletionStage<Content>
RemoteAttachmentServiceImpl. updateCompletionStage(Content attachment)
CompletionStage<Space>
RemoteSpaceService. updateCompletionStage(Space space)
Updates a space.CompletionStage<Space>
RemoteSpaceServiceImpl. updateCompletionStage(Space space)
com.atlassian.util.concurrent.Promise<Content>
RemoteAttachmentService. updateData(ContentId attachmentId, AttachmentUpload upload)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Content>
RemoteAttachmentServiceImpl. updateData(ContentId attachmentId, AttachmentUpload upload)
Deprecated.since 7.0.1.CompletionStage<Content>
RemoteAttachmentService. updateDataCompletionStage(ContentId attachmentId, AttachmentUpload upload)
Updates the data part of an AttachmentContent
instance.CompletionStage<Content>
RemoteAttachmentServiceImpl. updateDataCompletionStage(ContentId attachmentId, AttachmentUpload upload)
com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. updateRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. updateRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. updateRestrictionsCompletionStage(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
Sets all the restrictions specified to a piece of content identified bycontentId
, replacing any existing permissions.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. updateRestrictionsCompletionStage(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)
<T> com.atlassian.util.concurrent.Promise<T>
RemoteAccessModeService. withReadOnlyAccessExemption(Callable<T> callable)
Deprecated.since 7.0.1.<T> com.atlassian.util.concurrent.Promise<T>
RemoteAccessModeServiceImpl. withReadOnlyAccessExemption(Callable<T> callable)
<T> CompletionStage<T>
RemoteAccessModeService. withReadOnlyAccessExemptionCompletionStage(Callable<T> callable)
Execute a method that needs to be exempt from read-only access check in the permission manager layer.<T> CompletionStage<T>
RemoteAccessModeServiceImpl. withReadOnlyAccessExemptionCompletionStage(Callable<T> callable)
-
Uses of ServiceException in com.atlassian.confluence.rest.client.impl
Methods in com.atlassian.confluence.rest.client.impl that throw ServiceException Modifier and Type Method Description <S extends Relatable,T extends Relatable>
com.atlassian.util.concurrent.Promise<Void>RemoteRelationServiceImpl. create(RelationInstance<S,T> relationInstance)
Deprecated.since 7.0.1.<S extends Relatable,T extends Relatable>
CompletionStage<Void>RemoteRelationServiceImpl. createCompletionStage(RelationInstance<S,T> relationInstance)
<S extends Relatable,T extends Relatable>
com.atlassian.util.concurrent.Promise<Void>RemoteRelationServiceImpl. delete(RelationInstance<S,T> relationInstance)
Deprecated.since 7.0.1.<S extends Relatable,T extends Relatable>
CompletionStage<Void>RemoteRelationServiceImpl. deleteCompletionStage(RelationInstance<S,T> relationInstance)
-
Uses of ServiceException in com.atlassian.confluence.rest.client.model
Methods in com.atlassian.confluence.rest.client.model that return ServiceException Modifier and Type Method Description static ServiceException
ExceptionConverter.Client. convertToServiceException(com.sun.jersey.api.client.UniformInterfaceException e)
Converts a JerseyUniformInterfaceException
, such as would be received by a client for a failed request, into aServiceException
. -
Uses of ServiceException in com.atlassian.confluence.validation
Methods in com.atlassian.confluence.validation with parameters of type ServiceException Modifier and Type Method Description static MessageHolder
XWorkValidationResultSupport. addAnyMessages(MessageHolder holder, ServiceException e)
-