| Modifier and Type | Method and Description |
|---|---|
RelationInstance |
RelationInstanceFactory.buildFrom(RelatableEntity sourceEntity,
String relationName,
RelatableEntity targetEntity,
Expansions expansions)
Should only be used for likes and favourites, doesn't provide the relationData
|
RelationInstance |
RelationInstanceFactory.buildFrom(RelationEntity hibernateObject,
Expansions expansions) |
<S extends Relatable,T extends Relatable> |
RelationServiceImpl.create(RelationInstance<S,T> relationInstance) |
| 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.delete(RelationInstance<S,T> relationInstance) |
| Modifier and Type | Method and Description |
|---|---|
RelationInstance<S,T> |
RelationInstance.RelationInstanceBuilder.build() |
| 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.
|
| 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.delete(RelationInstance<S,T> relationInstance)
Remove a relation if it exists between a source and a target relatable entity
|
| Modifier and Type | Method and Description |
|---|---|
RelationInstance |
RelationEvent.getRelation() |
| Constructor and Description |
|---|
RelationCreatedEvent(Object src,
RelationInstance relationInstance) |
RelationDeletedEvent(Object src,
RelationInstance relationInstance) |
RelationEvent(Object src,
RelationInstance relationInstance) |
| Modifier and Type | Method and Description |
|---|---|
void |
RelationManager.publishRelationCreatedEvent(RelationInstance obj)
Publish
RelationCreatedEvent for the RelationInstance object. |
void |
DefaultRelationManager.publishRelationCreatedEvent(RelationInstance obj) |
void |
RelationManager.publishRelationDeletedEvent(RelationInstance obj)
Publish
RelationDeletedEvent for the RelationInstance object. |
void |
DefaultRelationManager.publishRelationDeletedEvent(RelationInstance obj) |
| Modifier and Type | Method and Description |
|---|---|
RelationInstance |
ExperimentalRelationResource.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 |
ExperimentalRelationResource.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 |
ExperimentalRelationResource.isRelatedLegacy(String sourceType,
String sourceKey,
String relationName,
String targetType,
String targetKey,
ContentStatus sourceStatus,
ContentStatus targetStatus,
Integer sourceVersion,
Integer targetVersion) |
| 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.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.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 |
|---|---|
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
|
| 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.delete(RelationInstance<S,T> relationInstance)
Remove a relation if it exists between a source and a target relatable entity
|
| 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.delete(RelationInstance<S,T> relationInstance) |
Copyright © 2003–2016 Atlassian. All rights reserved.