| 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.find(Expansion... expansions) |
<S extends Relatable,T extends Relatable> |
RelationServiceImpl.find(Expansion... expansions) |
<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 a named relation between two entities
|
class |
RelationInstance<S extends Relatable,T extends Relatable>
Represents a named 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(Reference<S> sourceRef,
RelationDescriptor<S,T> relationDescriptor,
Reference<T> targetRef) |
static <S extends Relatable,T extends Relatable> |
RelationInstance.builder(Reference<S> sourceRef,
RelationDescriptor<S,T> relationDescriptor,
Reference<T> targetRef) |
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.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 | Method and Description |
|---|---|
Navigation.RelationToNav |
Navigation.RelationFromNav.from(Reference<? extends Relatable> reference) |
Navigation.Builder |
Navigation.RelationToNav.to(Class<? extends Relatable> targetClass) |
Navigation.Builder |
Navigation.RelationToNav.to(Reference<? extends Relatable> reference) |
| 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.
|
static interface |
RelationService.RelationFinder<S extends Relatable,T extends Relatable>
Finder which fetches relation instances, this is useful for getting data that is associated with a relation.
|
static interface |
RelationService.RelationFinder<S extends Relatable,T extends Relatable>
Finder which fetches relation instances, this is useful for getting data that is associated with a relation.
|
| 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.find(Expansion... expansions)
Creates a finder to find relation instances.
|
<S extends Relatable,T extends Relatable> |
RelationService.find(Expansion... expansions)
Creates a finder to find relation instances.
|
<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 |
|---|---|
Navigation.RelationToNav |
RelationNavImpl.from(Reference<? extends Relatable> reference) |
RelationNavImpl |
RelationNavImpl.to(Class<? extends Relatable> targetClass) |
Navigation.Builder |
RelationNavImpl.to(Reference<? extends Relatable> reference) |
| Modifier and Type | Method and Description |
|---|---|
PageResponse<RelationInstance<Relatable,Relatable>> |
ExperimentalRelationResource.findSourcesForTarget(String relationName,
String targetType,
String targetKey,
String sourceType,
ContentStatus targetStatus,
Integer targetVersion,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Find relation instances to the given target entity that have a relation with the relation name from the source type
|
PageResponse<RelationInstance<Relatable,Relatable>> |
ExperimentalRelationResource.findSourcesForTarget(String relationName,
String targetType,
String targetKey,
String sourceType,
ContentStatus targetStatus,
Integer targetVersion,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Find relation instances to the given target entity that have a relation with the relation name from the source type
|
PageResponse<RelationInstance<Relatable,Relatable>> |
ExperimentalRelationResource.findTargetFromSource(String sourceType,
String sourceKey,
String relationName,
String targetType,
ContentStatus sourceStatus,
ContentStatus targetStatus,
Integer sourceVersion,
Integer targetVersion,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Find relation instances of the given target type that have a relation with the relation name from the source entity
|
PageResponse<RelationInstance<Relatable,Relatable>> |
ExperimentalRelationResource.findTargetFromSource(String sourceType,
String sourceKey,
String relationName,
String targetType,
ContentStatus sourceStatus,
ContentStatus targetStatus,
Integer sourceVersion,
Integer targetVersion,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Find relation instances of the given target type that have a relation with the relation name from the source entity
|
| Modifier and Type | Method and Description |
|---|---|
RelationInstance<Relatable,Relatable> |
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.
|
RelationInstance<Relatable,Relatable> |
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.
|
PageResponse<RelationInstance<Relatable,Relatable>> |
RelationResource.findSourcesForTarget(String relationName,
String targetType,
String targetKey,
String sourceType,
ContentStatus targetStatus,
Integer targetVersion,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Find relation instances to the given target entity that have a relation with the relation name from the source type
|
PageResponse<RelationInstance<Relatable,Relatable>> |
RelationResource.findSourcesForTarget(String relationName,
String targetType,
String targetKey,
String sourceType,
ContentStatus targetStatus,
Integer targetVersion,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Find relation instances to the given target entity that have a relation with the relation name from the source type
|
PageResponse<RelationInstance<Relatable,Relatable>> |
RelationResource.findTargetFromSource(String sourceType,
String sourceKey,
String relationName,
String targetType,
ContentStatus sourceStatus,
ContentStatus targetStatus,
Integer sourceVersion,
Integer targetVersion,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Find relation instances of the given target type that have a relation with the relation name from the source entity
|
PageResponse<RelationInstance<Relatable,Relatable>> |
RelationResource.findTargetFromSource(String sourceType,
String sourceKey,
String relationName,
String targetType,
ContentStatus sourceStatus,
ContentStatus targetStatus,
Integer sourceVersion,
Integer targetVersion,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Find relation instances of the given target type that have a relation with the relation name from the source entity
|
RelationInstance<Relatable,Relatable> |
RelationResource.isRelated(String sourceType,
String sourceKey,
String relationName,
String targetType,
String targetKey,
ContentStatus sourceStatus,
ContentStatus targetStatus,
Integer sourceVersion,
Integer targetVersion,
String expand)
Determines whether a relationship exists between two user, space or content entities.
|
RelationInstance<Relatable,Relatable> |
RelationResource.isRelated(String sourceType,
String sourceKey,
String relationName,
String targetType,
String targetKey,
ContentStatus sourceStatus,
ContentStatus targetStatus,
Integer sourceVersion,
Integer targetVersion,
String expand)
Determines whether a relationship exists between two user, space or content entities.
|
| Modifier and Type | Method and Description |
|---|---|
<S extends Relatable,T extends Relatable> |
RemoteRelationService.create(RelationInstance<S,T> relationInstance)
Creates a directed relation between two relatable entities.
|
<S extends Relatable,T extends Relatable> |
RemoteRelationService.create(RelationInstance<S,T> relationInstance)
Creates a directed relation between two relatable entities.
|
<S extends Relatable,T extends Relatable> |
RemoteRelationService.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> |
RemoteRelationService.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> |
RemoteRelationService.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> |
RemoteRelationService.isRelated(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) |
<S extends Relatable,T extends Relatable> |
RemoteRelationServiceImpl.create(RelationInstance<S,T> relationInstance) |
<S extends Relatable,T extends Relatable> |
RemoteRelationServiceImpl.delete(RelationInstance<S,T> relationInstance) |
<S extends Relatable,T extends Relatable> |
RemoteRelationServiceImpl.delete(RelationInstance<S,T> relationInstance) |
<S extends Relatable,T extends Relatable> |
RemoteRelationServiceImpl.isRelated(S source,
RelationDescriptor<S,T> relationDescriptor,
T target) |
<S extends Relatable,T extends Relatable> |
RemoteRelationServiceImpl.isRelated(S source,
RelationDescriptor<S,T> relationDescriptor,
T target) |
Copyright © 2003–2016 Atlassian. All rights reserved.