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 voidAccessModeServiceImpl. updateAccessMode(AccessMode accessMode)<T> TAccessModeServiceImpl. 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 ValidationResultAuditRecordValidator. 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)ContentBodyContentBodyConversionServiceImpl. convert(ContentBody body, ContentRepresentation toFormat)ContentBodyContentBodyConversionServiceImpl. convert(ContentBody contentBody, ContentRepresentation toFormat, Expansion... expansions)ContentBodyContentBodyConversionServiceImpl. convertBody(Content content, ContentRepresentation toFormat)ContentBodyContentBodyConversionServiceImpl. convertBody(Content content, ContentRepresentation toFormat, Expansion... expansions)ContentContentServiceImpl. create(Content newContent)ContentContentServiceImpl. create(Content newContent, Expansion... expansions)SpaceSpaceServiceImpl. create(Space space, boolean isPrivate)voidAttachmentServiceImpl. delete(Content attachmentContent)voidContentServiceImpl. delete(Content content)LongTaskSubmissionSpaceServiceImpl. delete(Space spaceToDelete)voidContentLabelServiceImpl. removeLabel(ContentId contentId, String label)Deprecated.since 6.5.0 use {ContentLabelServiceImpl.removeLabel(ContentId, Label)}ContentAttachmentServiceImpl. update(Content updatedContent)ContentContentServiceImpl. update(Content updatedContent)SpaceSpaceServiceImpl. update(Space space)ContentAttachmentServiceImpl. updateData(ContentId attachmentId, AttachmentUpload upload)ValidationResultContentServiceImpl.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 ContentLegacyContentDraftServiceImpl. publishNewDraft(Content content, Expansion... expansions)ContentSharedContentDraftServiceImpl. 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 ContentBodyContentBodyFactory. 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 voidContentRestrictionServiceImpl. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)ContentRestrictionsPageResponseContentRestrictionServiceImpl. addRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)ContentRestrictionsPageResponseContentRestrictionServiceImpl. deleteAllDirectRestrictions(ContentId target, Expansion... expansions)voidContentRestrictionServiceImpl. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)ContentRestrictionsPageResponseContentRestrictionServiceImpl. getRestrictions(ContentId target, PageRequest pageRequest, Expansion... allExpansions)ContentRestrictionContentRestrictionServiceImpl. getRestrictionsForOperation(ContentId target, OperationKey operationKey, PageRequest pageRequest, Expansion... allExpansions)Map<OperationKey,ContentRestriction>ContentRestrictionServiceImpl. getRestrictionsGroupByOperation(ContentId target, Expansion... allExpansions)booleanContentRestrictionServiceImpl. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)ContentRestrictionsPageResponseContentRestrictionServiceImpl. 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.BuilderSimpleValidationResult.Builder. addExceptionSupplier(com.atlassian.fugue.Function2<String,ValidationResult,? extends ServiceException> exceptionSupplier)Deprecated.since 7.0.1.SimpleValidationResult.BuilderSimpleValidationResult.Builder. withExceptionSupplier(BiFunction<String,ValidationResult,? extends ServiceException> exceptionSupplier)Methods in com.atlassian.confluence.api.model.validation that throw ServiceException Modifier and Type Method Description ServiceExceptionSimpleMergeValidationResult. throwIfInvalid()Deprecated.since 5.10 please useSimpleMergeValidationResult.throwIfNotSuccessful()ServiceExceptionSimpleMergeValidationResult. throwIfInvalid(String msg)Deprecated.since 5.10 please useSimpleMergeValidationResult.throwIfNotSuccessful(String)default ServiceExceptionValidationResult. throwIfInvalid()Deprecated.since 5.10 please useValidationResult.throwIfNotSuccessful()default ServiceExceptionValidationResult. throwIfInvalid(String msg)Deprecated.since 5.10 please useValidationResult.throwIfNotSuccessful(String)voidSimpleMergeValidationResult. throwIfNotSuccessful()voidSimpleMergeValidationResult. throwIfNotSuccessful(String msg)default voidValidationResult. throwIfNotSuccessful()Converts this validation result into aServiceExceptionand throws it.default voidValidationResult. throwIfNotSuccessful(String msg)Converts this validation result into aServiceExceptionand throws it.voidSimpleMergeValidationResult. throwIfNotValid(String msg)Deprecated.since 5.10 please useSimpleMergeValidationResult.throwIfNotSuccessful(String)default voidValidationResult. 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 voidAccessModeService. updateAccessMode(AccessMode accessMode)Update the access mode if the current user is a sysadmin<T> TAccessModeService. 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 RetentionPeriodAuditService. setRetentionPeriod(RetentionPeriod retentionPeriod)Deprecated.Set the configured retention period for audit records.AuditRecordAuditService. storeRecord(AuditRecord record)Deprecated.Persist the givenAuditRecord.ValidationResultAuditService.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 contentContentBodyContentBodyConversionService. convert(ContentBody body, ContentRepresentation representation)Same as callingContentBodyConversionService.convert(ContentBody, ContentRepresentation, Expansion...)with an empty expansion.ContentBodyContentBodyConversionService. convert(ContentBody body, ContentRepresentation representation, Expansion... expansions)Convert a ContentBody value into another format, performing validation during the conversion.ContentBodyContentBodyConversionService. convertBody(Content content, ContentRepresentation representation)Same as callingContentBodyConversionService.convertBody(Content, ContentRepresentation, Expansion...)with an empty expansion.ContentBodyContentBodyConversionService. convertBody(Content content, ContentRepresentation representation, Expansion... expansions)Convert the single ContentBody value in aContentbody map into another format, performing validation during the conversion.voidContentPropertyService. copyAllJsonContentProperties(ContentSelector source, ContentSelector target)Copy all JsonContentProperty from one content to other contentJsonContentPropertyContentPropertyService. create(JsonContentProperty newProperty)Create a content property.ContentContentService. create(Content newContent)Create a piece of content.ContentContentService. create(Content newContent, Expansion... expansions)Create a piece of content.JsonSpacePropertySpacePropertyService. create(JsonSpaceProperty newProperty)Create a content property.SpaceSpaceService. create(Space newSpace, boolean isPrivate)Create a new space.voidAttachmentService. delete(Content attachment)Moves an Attachment to trash.voidContentPropertyService. delete(JsonContentProperty property)Removes a content property from the system.voidContentService. delete(Content content)Removes a piece of Content from the system.LongTaskSubmissionSpaceService. 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)ContentAttachmentService. update(Content attachment)Updates the non-data parts of an AttachmentContentinstance.JsonContentPropertyContentPropertyService. update(JsonContentProperty property)Updates a content property.ContentContentService. update(Content content)Updates a piece of content.SpaceSpaceService. update(Space space)Updates a space.ContentAttachmentService. updateData(ContentId attachmentId, AttachmentUpload upload)Updates the data part of an AttachmentContentinstance.ValidationResultContentService.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 ValidationResultContentTemplateService.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 classBadRequestExceptionThrown when the data in the incoming request is incomplete or otherwise invalid.classConflictExceptionThrown when a request cannot be performed due to the state of the content, as per the semantics of the HTTP 409 'Conflict' status code.classGoneExceptionThrown when things that are expected to be found are GONE.classInternalServerExceptionA ServiceException wrapper for a general runtime exception.classNotFoundExceptionThrown when things that are expected to be found are NOT found.classPermissionExceptionRaised when a user attempts to perform an action they do not have permission for.classReadOnlyExceptionThis exception is thrown when things that are expected to be read-onlyclassSeeOtherExceptionRaised 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 classNotImplementedServiceExceptionIndicates 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 intJournalService. countEntries(@NonNull JournalIdentifier journalId)Counts the number of entries in a journal.longJournalService. 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> VJournalService. processEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull com.google.common.base.Function<Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor)Deprecated.since 7.0.1.default <V> VJournalService. 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.voidJournalService. 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 voidContentRestrictionService. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Adds singular directContentRestrictionforoperationKeyandsubjectto the content identified bycontentIdparameter.ContentRestrictionsPageResponseContentRestrictionService. addRestrictions(ContentId target, Collection<? extends ContentRestriction> contentRestrictions, Expansion... expansions)Attempts to add all the restrictions specified to a piece of content identified bycontentId.ContentRestrictionsPageResponseContentRestrictionService. deleteAllDirectRestrictions(ContentId target, Expansion... expansions)Attempts to delete all the restrictions specified directly on a piece of content identified bycontentId.voidContentRestrictionService. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Deletes singular directContentRestrictionforoperationKeyandsubjectfrom the content identified bycontentIdparameter.ContentRestrictionContentRestrictionService. 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.booleanContentRestrictionService. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)Returnstrueif the User or Group specified by thesubjectparameter has restriction(s) for theoperationKeyoperation which are specified directly on the Content identified bycontentIdparameter.ContentRestrictionsPageResponseContentRestrictionService. 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 PreparedAbstractPagePageUpdateService. prepare(long id, Modification<AbstractPage> modification, @Nullable SaveContext saveContext)Prepare content (page or blogpost) for update.voidPageUpdateService. 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 intDefaultJournalService. countEntries(@NonNull JournalIdentifier journalId)longDefaultJournalService. enqueue(@NonNull JournalEntry entry)Iterable<JournalEntry>DefaultJournalService. peek(@NonNull JournalIdentifier journalId, int maxEntries)<V> VDefaultJournalService. processEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull com.google.common.base.Function<Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor)voidDefaultJournalService. 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 StringUserSearchServiceInternalImpl. 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 ContentTestAttachmentFactory. 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 voidContentPropertyServiceImpl. copyAllJsonContentProperties(ContentSelector source, ContentSelector target)JsonContentPropertyContentPropertyServiceImpl. create(JsonContentProperty newProperty)voidContentPropertyServiceImpl. delete(JsonContentProperty property)JsonContentPropertyContentPropertyServiceImpl. 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 JsonSpacePropertySpacePropertyServiceImpl. 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 voidMaintenanceServiceImpl. 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 ContentWatchUserWatchResource. 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.SpaceWatchUserWatchResource. 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 typeContentBodyContentBodyResource. convert(ContentBody body, ContentRepresentation toRepresentation, String expand)Converts between content body representations.JsonContentPropertyContentPropertyResource. create(ContentId contentId, JsonContentProperty newProperty)Creates a new content property.JsonContentPropertyContentPropertyResource. create(ContentId contentId, String key, JsonContentProperty newProperty)Creates a new content property.JsonSpacePropertySpacePropertyResource. create(String spaceKey, JsonSpaceProperty newProperty)Creates a new space property.JsonSpacePropertySpacePropertyResource. 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.ContentContentResource. createContent(Content content, ContentStatus status, String expand)Creates a new piece of Content or publishes the draft if the content id is present.SpaceSpaceResource. createPrivateSpace(Space newSpace)Creates a new private Space, viewable only by its creator.SpaceSpaceResource. createSpace(Space newSpace)Creates a new Space.javax.ws.rs.core.ResponseContentPropertyResource. delete(ContentId contentId, String key)Deletes a content property.javax.ws.rs.core.ResponseContentResource. delete(ContentId contentId, ContentStatus status)Trashes or purges a piece of Content, based on itsContentTypeandContentStatus.javax.ws.rs.core.ResponseSpacePropertyResource. delete(String spaceKey, String propertyKey)Deletes a space property.javax.ws.rs.core.ResponseSpaceResource. delete(String spaceKey)Deletes a Space.javax.ws.rs.core.ResponseContentLabelsResource. deleteLabel(ContentId contentId, String label)Deletes a labels to the specified content.javax.ws.rs.core.ResponseContentLabelsResource. 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.JsonContentPropertyContentPropertyResource. 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.JsonSpacePropertySpacePropertyResource. 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.ContentContentResource. getContentById(ContentId id, List<ContentStatus> statuses, Integer version, String expand)Returns a piece of Content.HistoryContentResource. getHistory(ContentId contentId, String expand)Returns the history of a particular piece of contentMacroInstanceContentResource. getMacroBodyByHash(ContentId contentId, int versionId, String hash)MacroInstanceContentResource. getMacroBodyByMacroId(ContentId contentId, int versionId, String macroId)Returns the body of a macro (in storage format) with the given id.javax.ws.rs.core.ResponseUserWatchResource. 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.ResponseUserWatchResource. 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.ContentContentBlueprintResource. publishLegacyDraft(ContentId draftId, Content content, ContentStatus status, String expand)Publishes a legacy draft of a Content created from a ContentBlueprintContentContentBlueprintResource. publishSharedDraft(ContentId draftId, Content content, ContentStatus status, String expand)Publishes a shared draft of a Content created from a ContentBlueprintjavax.ws.rs.core.ResponseUserWatchResource. 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.ResponseUserWatchResource. 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.ContentAttachmentResource. update(String attachmentId, Content attachment)Update the non-binary data of an Attachment.JsonContentPropertyContentPropertyResource. update(ContentId contentId, String key, JsonContentProperty property)Updates a content property.ContentContentResource. update(ContentId contentId, Content content, ContentStatus status, ContentDraftService.ConflictPolicy conflictPolicy)Updates a piece of Content, including changes to content statusJsonSpacePropertySpacePropertyResource. update(String spaceKey, String propertyKey, JsonSpaceProperty property)Updates a space property.SpaceSpaceResource. update(String spaceKey, Space space)Updates a Space.ContentAttachmentResource. 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 directContentRestrictionforoperationKeyandsubjectto the content identified bycontentIdparameter.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 directContentRestrictionforoperationKeyandsubjectfrom the content identified bycontentIdparameter.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)Returnstrueif the User or Group specified by thesubjectparameter has restriction(s) for theoperationKeyoperation which are specified directly on the Content identified bycontentIdparameter.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 AttachmentContentinstance.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 AttachmentContentinstance.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 ServiceExceptionExceptionConverter.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 MessageHolderXWorkValidationResultSupport. addAnyMessages(MessageHolder holder, ServiceException e)
-