| Package | Description | 
|---|---|
| com.atlassian.confluence.api.impl.service.relation | |
| com.atlassian.confluence.api.model.content | |
| com.atlassian.confluence.api.model.people | |
| com.atlassian.confluence.api.model.relations | |
| com.atlassian.confluence.api.service.relations | |
| com.atlassian.confluence.rest.client | 
 This package contains the code which communicates with Confluence via REST API. 
 | 
| com.atlassian.confluence.rest.client.impl | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AuthenticatedUserRelationDescriptor<S extends User,T extends Relatable>
A  
ValidatingRelationDescriptor which checks that the User for which the relation is being created is
 also the currently authenticated user. | 
class  | 
DefaultValidatingRelationDescriptor<S extends Relatable,T extends Relatable>  | 
class  | 
DefaultValidatingRelationDescriptor<S extends Relatable,T extends Relatable>  | 
class  | 
RelatableFactory<S extends RelatableEntity,T extends Relatable>  | 
| Modifier and Type | Method and Description | 
|---|---|
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.create(RelationInstance<S,T> relationInstance)  | 
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.create(RelationInstance<S,T> relationInstance)  | 
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.delete(RelationInstance<S,T> relationInstance)  | 
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.delete(RelationInstance<S,T> relationInstance)  | 
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.findSources(T target,
           RelationDescriptor<S,T> relationDescriptor)  | 
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.findSources(T target,
           RelationDescriptor<S,T> relationDescriptor)  | 
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.findTargets(S source,
           RelationDescriptor<S,T> relationDescriptor)  | 
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.findTargets(S source,
           RelationDescriptor<S,T> relationDescriptor)  | 
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.isRelated(S source,
         RelationDescriptor<S,T> relationDescriptor,
         T target)  | 
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.isRelated(S source,
         RelationDescriptor<S,T> relationDescriptor,
         T target)  | 
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.removeAllRelationsFromEntityWithType(RelationDescriptor<S,T> relationDescriptor,
                                    Relatable relatable)  | 
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.removeAllRelationsFromEntityWithType(RelationDescriptor<S,T> relationDescriptor,
                                    Relatable relatable)  | 
| Modifier and Type | Method and Description | 
|---|---|
<S extends Relatable,T extends Relatable> | 
RelationServiceImpl.removeAllRelationsFromEntityWithType(RelationDescriptor<S,T> relationDescriptor,
                                    Relatable relatable)  | 
RelatableEntity | 
RelatableResolver.resolve(Relatable relatable)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Content
Represents all the different kinds of content that can be housed in Confluence: pages, blog posts, comments and so
 on. 
 | 
class  | 
Space
Representation of a Confluence Space. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
KnownUser  | 
class  | 
UnknownUser  | 
class  | 
User  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractRelationDescriptor<S extends Relatable,T extends Relatable>
Relation descriptor, which should be used as a base class for all custom relation descriptors. 
 | 
class  | 
AbstractRelationDescriptor<S extends Relatable,T extends Relatable>
Relation descriptor, which should be used as a base class for all custom relation descriptors. 
 | 
class  | 
FavouriteRelationDescriptor<T extends Relatable>
The built-in relationship type for favourites. 
 | 
class  | 
LikeRelationDescriptor<T extends Relatable>  | 
class  | 
NamedRelationDescriptor<S extends Relatable,T extends Relatable>
Simple implementation of  
RelationDescriptor, which allows to create simple named relation descriptors. | 
class  | 
NamedRelationDescriptor<S extends Relatable,T extends Relatable>
Simple implementation of  
RelationDescriptor, which allows to create simple named relation descriptors. | 
interface  | 
RelationDescriptor<S extends Relatable,T extends Relatable>
Defines relation name, type and who may have such relations. 
 | 
interface  | 
RelationDescriptor<S extends Relatable,T extends Relatable>
Defines relation name, type and who may have such relations. 
 | 
class  | 
RelationInstance<S extends Relatable,T extends Relatable>
Represents relation between two entities 
 | 
class  | 
RelationInstance<S extends Relatable,T extends Relatable>
Represents relation between two entities 
 | 
static class  | 
RelationInstance.RelationInstanceBuilder<S extends Relatable,T extends Relatable>  | 
static class  | 
RelationInstance.RelationInstanceBuilder<S extends Relatable,T extends Relatable>  | 
interface  | 
ValidatingRelationDescriptor<S extends Relatable,T extends Relatable>
A  
RelationDescriptor which provides a method to perform validation on descriptor operations. | 
interface  | 
ValidatingRelationDescriptor<S extends Relatable,T extends Relatable>
A  
RelationDescriptor which provides a method to perform validation on descriptor operations. | 
| Modifier and Type | Method and Description | 
|---|---|
static <S extends Relatable,T extends Relatable> | 
RelationInstance.builder(S source,
       RelationDescriptor<S,T> relationDescriptor,
       T target)  | 
static <S extends Relatable,T extends Relatable> | 
RelationInstance.builder(S source,
       RelationDescriptor<S,T> relationDescriptor,
       T target)  | 
static <S extends Relatable,T extends Relatable> | 
RelationDescriptors.canRelate(S source,
         RelationDescriptor<S,T> relationDescriptor,
         T target)
Deprecated. 
 
since 5.11. Use  
ValidatingRelationDescriptor.canRelate(Relatable, Relatable) instead | 
static <S extends Relatable,T extends Relatable> | 
RelationDescriptors.canRelate(S source,
         RelationDescriptor<S,T> relationDescriptor,
         T target)
Deprecated. 
 
since 5.11. Use  
ValidatingRelationDescriptor.canRelate(Relatable, Relatable) instead | 
static <S extends Relatable,T extends Relatable> | 
RelationDescriptors.lookupBuiltinOrCreate(Class<S> sourceClass,
                     String name,
                     Class<T> targetClass)
Get one of the built-in RelationDescriptor objects (for example FavouriteRelationDescriptor). 
 | 
static <S extends Relatable,T extends Relatable> | 
RelationDescriptors.lookupBuiltinOrCreate(Class<S> sourceClass,
                     String name,
                     Class<T> targetClass)
Get one of the built-in RelationDescriptor objects (for example FavouriteRelationDescriptor). 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
RelationService.RelatableFinder<R extends Relatable>
Finder, which is used to perform basic relation operations, such as fetching source or target entities of
 particular relation, get total number of related entities etc. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<S extends Relatable,T extends Relatable> | 
RelationService.create(RelationInstance<S,T> relationInstance)
Creates a directed relation between two relatable entities. 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.create(RelationInstance<S,T> relationInstance)
Creates a directed relation between two relatable entities. 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.delete(RelationInstance<S,T> relationInstance)
Remove a relation if it exists between a source and a target relatable entity 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.delete(RelationInstance<S,T> relationInstance)
Remove a relation if it exists between a source and a target relatable entity 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.findSources(T target,
           RelationDescriptor<S,T> relationDescriptor)
Create a finder to find sources of a relation. 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.findSources(T target,
           RelationDescriptor<S,T> relationDescriptor)
Create a finder to find sources of a relation. 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.findTargets(S source,
           RelationDescriptor<S,T> relationDescriptor)
Create a finder to find targets of a relation. 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.findTargets(S source,
           RelationDescriptor<S,T> relationDescriptor)
Create a finder to find targets of a relation. 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.isRelated(S source,
         RelationDescriptor<S,T> relationDescriptor,
         T target)
Determine whether a given source and target are related by the given relation 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.isRelated(S source,
         RelationDescriptor<S,T> relationDescriptor,
         T target)
Determine whether a given source and target are related by the given relation 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.removeAllRelationsFromEntityWithType(RelationDescriptor<S,T> relationDescriptor,
                                    Relatable relatable)
Remove all relations of the given type where the given entity participates 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.removeAllRelationsFromEntityWithType(RelationDescriptor<S,T> relationDescriptor,
                                    Relatable relatable)
Remove all relations of the given type where the given entity participates 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.Validator.validateCreate(S source,
              RelationDescriptor<S,T> relationDescriptor,
              T target)
Validate create operation 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.Validator.validateCreate(S source,
              RelationDescriptor<S,T> relationDescriptor,
              T target)
Validate create operation 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.Validator.validateDelete(S source,
              RelationDescriptor<S,T> relationDescriptor,
              T target)
Validate delete operation 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.Validator.validateDelete(S source,
              RelationDescriptor<S,T> relationDescriptor,
              T target)
Validate delete operation 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.Validator.validateDeleteAllWithType(Relatable relatable,
                         RelationDescriptor<S,T> relationDescriptor)
Validate the delete all operation 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.Validator.validateDeleteAllWithType(Relatable relatable,
                         RelationDescriptor<S,T> relationDescriptor)
Validate the delete all operation 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.Validator.validateFetch(S source,
             RelationDescriptor<S,T> relationDescriptor,
             T target)
Validate fetch operation to check whether a user can view the specifed relation 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.Validator.validateFetch(S source,
             RelationDescriptor<S,T> relationDescriptor,
             T target)
Validate fetch operation to check whether a user can view the specifed relation 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<S extends Relatable,T extends Relatable> | 
RelationService.removeAllRelationsFromEntityWithType(RelationDescriptor<S,T> relationDescriptor,
                                    Relatable relatable)
Remove all relations of the given type where the given entity participates 
 | 
<S extends Relatable,T extends Relatable> | 
RelationService.Validator.validateDeleteAllWithType(Relatable relatable,
                         RelationDescriptor<S,T> relationDescriptor)
Validate the delete all operation 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.create(RelationInstance<S,T> relationInstance)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationService.createCompletionStage(RelationInstance) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.create(RelationInstance<S,T> relationInstance)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationService.createCompletionStage(RelationInstance) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.createCompletionStage(RelationInstance<S,T> relationInstance)
Creates a directed relation between two relatable entities. 
 | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.createCompletionStage(RelationInstance<S,T> relationInstance)
Creates a directed relation between two relatable entities. 
 | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.delete(RelationInstance<S,T> relationInstance)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationService.deleteCompletionStage(RelationInstance) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.delete(RelationInstance<S,T> relationInstance)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationService.deleteCompletionStage(RelationInstance) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.deleteCompletionStage(RelationInstance<S,T> relationInstance)
Remove a relation if it exists between a source and a target relatable entity 
 | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.deleteCompletionStage(RelationInstance<S,T> relationInstance)
Remove a relation if it exists between a source and a target relatable entity 
 | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.isRelated(S source,
         RelationDescriptor<S,T> relationDescriptor,
         T target)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationService.isRelatedCompletionStage(Relatable, RelationDescriptor, Relatable) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.isRelated(S source,
         RelationDescriptor<S,T> relationDescriptor,
         T target)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationService.isRelatedCompletionStage(Relatable, RelationDescriptor, Relatable) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.isRelatedCompletionStage(S source,
                        RelationDescriptor<S,T> relationDescriptor,
                        T target)
Determine whether a given source and target are related by the given relation 
 | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationService.isRelatedCompletionStage(S source,
                        RelationDescriptor<S,T> relationDescriptor,
                        T target)
Determine whether a given source and target are related by the given relation 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.create(RelationInstance<S,T> relationInstance)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationServiceImpl.createCompletionStage(RelationInstance) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.create(RelationInstance<S,T> relationInstance)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationServiceImpl.createCompletionStage(RelationInstance) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.createCompletionStage(RelationInstance<S,T> relationInstance)  | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.createCompletionStage(RelationInstance<S,T> relationInstance)  | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.delete(RelationInstance<S,T> relationInstance)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationServiceImpl.deleteCompletionStage(RelationInstance) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.delete(RelationInstance<S,T> relationInstance)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationServiceImpl.deleteCompletionStage(RelationInstance) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.deleteCompletionStage(RelationInstance<S,T> relationInstance)  | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.deleteCompletionStage(RelationInstance<S,T> relationInstance)  | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.isRelated(S source,
         RelationDescriptor<S,T> relationDescriptor,
         T target)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationServiceImpl.isRelatedCompletionStage(Relatable, RelationDescriptor, Relatable) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.isRelated(S source,
         RelationDescriptor<S,T> relationDescriptor,
         T target)
Deprecated. 
 
since 7.0.1. Use  
RemoteRelationServiceImpl.isRelatedCompletionStage(Relatable, RelationDescriptor, Relatable) instead. | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.isRelatedCompletionStage(S source,
                        RelationDescriptor<S,T> relationDescriptor,
                        T target)  | 
<S extends Relatable,T extends Relatable> | 
RemoteRelationServiceImpl.isRelatedCompletionStage(S source,
                        RelationDescriptor<S,T> relationDescriptor,
                        T target)  | 
Copyright © 2003–2022 Atlassian. All rights reserved.