| Modifier and Type | Method and 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) | 
| Modifier and Type | Method and 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) | 
| Modifier and Type | Method and Description | 
|---|---|
| static Supplier<NotFoundException> | ServiceExceptionSupplier. notFound(String message) | 
| static com.atlassian.fugue.Function2<String,ValidationResult,? extends NotFoundException> | ServiceExceptionSupplier. notFoundException()Deprecated. 
 since 7.0.1. Use  ServiceExceptionSupplier.notFoundExceptionSupplier() | 
| 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() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | AttachmentService.Validator. canCreateAttachments(ContentId containerId)Checks if the user is permitted to add attachments to the current version of the
 given content | 
| boolean | AttachmentService.Validator. canCreateAttachments(ContentId containerId,
                    ContentStatus status)Checks if the user is permitted to add attachments to the given content | 
| PageResponse<Content> | SpaceService.SpaceContentFinder. fetchMany(ContentType type,
         PageRequest request)Retrieve all content contained in this space of the particular type | 
| Map<ContentType,PageResponse<Content>> | SpaceService.SpaceContentFinder. fetchMappedByType(PageRequest request)Retrieve all content contained in this space mapped by ContentType | 
| ChildContentService.ChildContentFinder | ChildContentService. findContent(ContentId parentId,
           Expansion... expansion)A finder to locate  Contentunder a parent. | 
| SpaceService.SpaceContentFinder | SpaceService. findContent(Space space,
           Expansion... expansion)A finder to locate content in the space | 
| PageResponse<Label> | ContentLabelService. getLabels(ContentId contentId,
         Collection<Label.Prefix> prefixes,
         PageRequest pageRequest)Get the labels attached to a given piece of content in the given namespaces | 
| Modifier and Type | Method and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| ContentRestrictionsPageResponse | ContentRestrictionService. getRestrictions(ContentId target,
               PageRequest pageRequest,
               Expansion... expansions)Retrieves all the restrictions for all the operations on a given Content. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DefaultSpaceRetentionPolicyService. deletePolicy(String spaceKey) | 
| void | DefaultSpaceRetentionPolicyService. savePolicy(String spaceKey,
          SpaceRetentionPolicy newPolicy) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected <TYPE> TYPE | TransactionWrappingFinder. executeReadOnly(ThrowingTransactionCallback<TYPE,NotFoundException> callback) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected <TYPE> TYPE | TransactionWrappingFinder. executeReadOnly(ThrowingTransactionCallback<TYPE,NotFoundException> callback) | 
| PageResponse<T> | TransactionWrappingFinder. fetchMany(PageRequest request) | 
| Modifier and Type | Method and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> T | OptionGetters. getOrThrowNotFound(com.atlassian.fugue.Option<T> option,
                  String errorMessage)Retrieve the non-null value from an  Option, or throw aNotFoundException. | 
| Modifier and Type | Method and Description | 
|---|---|
| com.atlassian.util.concurrent.Promise<? extends Iterable<Label>> | RemoteContentLabelService. getLabels(ContentId contentId,
         Collection<Label.Prefix> prefixes,
         PageRequest request)Deprecated. 
 since 7.0.1. Use  RemoteContentLabelService.getLabelsCompletionStage(ContentId, Collection, PageRequest)instead. | 
| com.atlassian.util.concurrent.Promise<PageResponse<Label>> | RemoteContentLabelServiceImpl. getLabels(ContentId contentId,
         Collection<Label.Prefix> prefixes,
         PageRequest request)Deprecated. 
 since 7.0.1. Use  RemoteContentLabelServiceImpl.getLabelsCompletionStage(ContentId, Collection, PageRequest)instead. | 
| CompletionStage<? extends Iterable<Label>> | RemoteContentLabelService. getLabelsCompletionStage(ContentId contentId,
                        Collection<Label.Prefix> prefixes,
                        PageRequest request)Get the labels attached to a given piece of content in the given namespaces | 
| com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> | RemoteContentRestrictionService. getRestrictions(ContentId target,
               PageRequest pageRequest,
               Expansion... expansions)Deprecated. 
 since 7.0.1. Use  RemoteContentRestrictionService.getRestrictionsCompletionStage(ContentId, PageRequest, Expansion...)instead. | 
| com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> | RemoteContentRestrictionServiceImpl. getRestrictions(ContentId target,
               PageRequest pageRequest,
               Expansion... expansions)Deprecated. 
 since 7.0.1. Use  RemoteContentRestrictionServiceImpl.getRestrictionsCompletionStage(ContentId, PageRequest, Expansion...)instead. | 
| CompletionStage<ContentRestrictionsPageResponse> | RemoteContentRestrictionService. getRestrictionsCompletionStage(ContentId target,
                              PageRequest pageRequest,
                              Expansion... expansions)Retrieves all the restrictions for all the operations on a given Content. | 
| CompletionStage<ContentRestrictionsPageResponse> | RemoteContentRestrictionServiceImpl. getRestrictionsCompletionStage(ContentId target,
                              PageRequest pageRequest,
                              Expansion... expansions) | 
| Modifier and Type | Method and Description | 
|---|---|
| com.atlassian.util.concurrent.Promise<PageResponse<Label>> | GraphQLRemoteContentLabelServiceImpl. getLabels(ContentId contentId,
         Collection<Label.Prefix> prefixes,
         PageRequest request)Deprecated. 
 since 7.0.1. Use  GraphQLRemoteContentLabelServiceImpl.getLabelsCompletionStage(ContentId, Collection, PageRequest)instead. | 
Copyright © 2003–2022 Atlassian. All rights reserved.