Uses of Class
com.atlassian.confluence.api.service.exceptions.NotFoundException
-
-
Uses of NotFoundException in com.atlassian.confluence.api.impl.service.content
Methods in com.atlassian.confluence.api.impl.service.content that throw NotFoundException Modifier and Type Method Description ChildContentService.ChildContentFinder
ChildContentServiceImpl. findContent(ContentId parentId, Expansion... expansions)
SpaceService.SpaceContentFinder
SpaceServiceImpl. findContent(Space space, Expansion... expansions)
PageResponse<Label>
ContentLabelServiceImpl. getLabels(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest pageRequest)
-
Uses of NotFoundException in com.atlassian.confluence.api.impl.service.network
Methods in com.atlassian.confluence.api.impl.service.network that throw NotFoundException Modifier and Type Method Description PageResponse<User>
NetworkServiceImpl. getFollowers(com.atlassian.sal.api.user.UserKey userKey, PageRequest request)
PageResponse<User>
NetworkServiceImpl. getFollowing(com.atlassian.sal.api.user.UserKey userKey, PageRequest request)
-
Uses of NotFoundException in com.atlassian.confluence.api.model.validation
Methods in com.atlassian.confluence.api.model.validation that return types with arguments of type NotFoundException Modifier and Type Method Description static Supplier<NotFoundException>
ServiceExceptionSupplier. notFound(String message)
static com.atlassian.fugue.Function2<String,ValidationResult,? extends NotFoundException>
ServiceExceptionSupplier. notFoundException()
Deprecated.since 7.0.1.static com.google.common.base.Supplier<NotFoundException>
ServiceExceptionSupplier. notFoundException(String errorMsg)
Deprecated.since 6.13.0, use {ServiceExceptionSupplier.notFound(String)
}static BiFunction<String,ValidationResult,? extends NotFoundException>
ServiceExceptionSupplier. notFoundExceptionSupplier()
-
Uses of NotFoundException in com.atlassian.confluence.api.service.content
Methods in com.atlassian.confluence.api.service.content that throw NotFoundException Modifier and Type Method Description boolean
AttachmentService.Validator. canCreateAttachments(ContentId containerId)
Checks if the user is permitted to add attachments to the current version of the given contentboolean
AttachmentService.Validator. canCreateAttachments(ContentId containerId, ContentStatus status)
Checks if the user is permitted to add attachments to the given contentPageResponse<Content>
SpaceService.SpaceContentFinder. fetchMany(ContentType type, PageRequest request)
Retrieve all content contained in this space of the particular typeMap<ContentType,PageResponse<Content>>
SpaceService.SpaceContentFinder. fetchMappedByType(PageRequest request)
Retrieve all content contained in this space mapped by ContentTypeChildContentService.ChildContentFinder
ChildContentService. findContent(ContentId parentId, Expansion... expansion)
A finder to locateContent
under a parent.SpaceService.SpaceContentFinder
SpaceService. findContent(Space space, Expansion... expansion)
A finder to locate content in the spacePageResponse<Label>
ContentLabelService. getLabels(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest pageRequest)
Get the labels attached to a given piece of content in the given namespaces -
Uses of NotFoundException in com.atlassian.confluence.api.service.network
Methods in com.atlassian.confluence.api.service.network that throw NotFoundException Modifier and Type Method Description PageResponse<User>
NetworkService. getFollowers(com.atlassian.sal.api.user.UserKey userKey, PageRequest request)
Gets the users who are following the given user.PageResponse<User>
NetworkService. getFollowing(com.atlassian.sal.api.user.UserKey userKey, PageRequest request)
Gets the users that the given user is following. -
Uses of NotFoundException in com.atlassian.confluence.api.service.permissions
Methods in com.atlassian.confluence.api.service.permissions that throw NotFoundException Modifier and Type Method Description ContentRestrictionsPageResponse
ContentRestrictionService. getRestrictions(ContentId target, PageRequest pageRequest, Expansion... expansions)
Retrieves all the restrictions for all the operations on a given Content. -
Uses of NotFoundException in com.atlassian.confluence.impl.retention.service
Methods in com.atlassian.confluence.impl.retention.service that throw NotFoundException Modifier and Type Method Description void
DefaultSpaceRetentionPolicyService. deletePolicy(String spaceKey)
void
DefaultSpaceRetentionPolicyService. savePolicy(String spaceKey, SpaceRetentionPolicy newPolicy)
-
Uses of NotFoundException in com.atlassian.confluence.plugins.contentproperty
Method parameters in com.atlassian.confluence.plugins.contentproperty with type arguments of type NotFoundException Modifier and Type Method Description protected <TYPE> TYPE
TransactionWrappingFinder. executeReadOnly(ThrowingTransactionCallback<TYPE,NotFoundException> callback)
Methods in com.atlassian.confluence.plugins.contentproperty that throw NotFoundException Modifier and Type Method Description protected <TYPE> TYPE
TransactionWrappingFinder. executeReadOnly(ThrowingTransactionCallback<TYPE,NotFoundException> callback)
PageResponse<T>
TransactionWrappingFinder. fetchMany(PageRequest request)
-
Uses of NotFoundException in com.atlassian.confluence.plugins.restapi.experimental.resources
Methods in com.atlassian.confluence.plugins.restapi.experimental.resources that throw NotFoundException Modifier and Type Method Description javax.ws.rs.core.Response
RelationResource. create(String sourceType, String sourceKey, String relationName, String targetType, String targetKey, ContentStatus sourceStatus, ContentStatus targetStatus, Integer sourceVersion, Integer targetVersion)
Add a relationship between two user, space, or content entities.javax.ws.rs.core.Response
RelationResource. delete(String sourceType, String sourceKey, String relationName, String targetType, String targetKey, ContentStatus sourceStatus, ContentStatus targetStatus, Integer sourceVersion, Integer targetVersion)
Remove a relationship between two user, space, or content entities.javax.ws.rs.core.Response
RelationResource. isRelated(String sourceType, String sourceKey, String relationName, String targetType, String targetKey, ContentStatus sourceStatus, ContentStatus targetStatus, Integer sourceVersion, Integer targetVersion)
Determines whether a relationship exists between two user, space or content entities. -
Uses of NotFoundException in com.atlassian.confluence.plugins.restapi.resources
Methods in com.atlassian.confluence.plugins.restapi.resources that throw NotFoundException Modifier and Type Method Description static <T> T
OptionGetters. getOrThrowNotFound(com.atlassian.fugue.Option<T> option, String errorMessage)
Retrieve the non-null value from anOption
, or throw aNotFoundException
. -
Uses of NotFoundException in com.atlassian.confluence.rest.client
Methods in com.atlassian.confluence.rest.client that throw NotFoundException Modifier and Type Method Description com.atlassian.util.concurrent.Promise<? extends Iterable<Label>>
RemoteContentLabelService. getLabels(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<PageResponse<Label>>
RemoteContentLabelServiceImpl. getLabels(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
Deprecated.since 7.0.1.CompletionStage<? extends Iterable<Label>>
RemoteContentLabelService. getLabelsCompletionStage(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
Get the labels attached to a given piece of content in the given namespacescom.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. getRestrictions(ContentId target, PageRequest pageRequest, Expansion... expansions)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. getRestrictions(ContentId target, PageRequest pageRequest, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionService. getRestrictionsCompletionStage(ContentId target, PageRequest pageRequest, Expansion... expansions)
Retrieves all the restrictions for all the operations on a given Content.CompletionStage<ContentRestrictionsPageResponse>
RemoteContentRestrictionServiceImpl. getRestrictionsCompletionStage(ContentId target, PageRequest pageRequest, Expansion... expansions)
-
Uses of NotFoundException in com.atlassian.confluence.rest.client.graphql
Methods in com.atlassian.confluence.rest.client.graphql that throw NotFoundException Modifier and Type Method Description com.atlassian.util.concurrent.Promise<PageResponse<Label>>
GraphQLRemoteContentLabelServiceImpl. getLabels(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
Deprecated.since 7.0.1.
-