abstract
EntityLink
|
addEntityLink(String localKey, Class<? extends EntityType> localType, EntityLink entityLink)
Create an EntityLink from an entity in the local application to an entity in the remote application.
|
abstract
EntityLink
|
addReciprocatedEntityLink(String localKey, Class<? extends EntityType> localType, EntityLink entityLink)
Create an EntityLink from an entity in the local application to an entity in the remote application, and
a reciprocal link from the entity in the remote application back to the local entity.
|
abstract
boolean
|
deleteEntityLink(String localKey, Class<? extends EntityType> localType, EntityLink entityLink)
Delete an EntityLink from an entity in the local application to an entity in the remote application.
|
abstract
void
|
deleteEntityLinksFor(ApplicationLink link)
|
abstract
boolean
|
deleteReciprocatedEntityLink(String localKey, Class<? extends EntityType> localType, EntityLink entityLink)
Delete an EntityLink from an entity in the local application to an entity in the remote application after
first deleting the reciprocal link from the entity in the remote application back to the local entity.
|
abstract
EntityLink
|
getEntityLink(String localKey, Class<? extends EntityType> localType, String remoteKey, Class<? extends EntityType> remoteType, ApplicationId applicationId)
Retrieve an existing EntityLink that links the specified local entity to the specified remote entity, or
return null if no link matching linking the specified entities exists.
|
abstract
EntityLinkBuilderFactory
|
getEntityLinkBuilderFactory()
|
abstract
Iterable<EntityLink>
|
getEntityLinksForApplicationLink(ApplicationLink applicationLink)
Retrieves all configured entity links for a configured application link.
|
abstract
Iterable<EntityLink>
|
getEntityLinksForKey(String localKey, Class<? extends EntityType> localType)
|
abstract
Iterable<EntityLink>
|
getEntityLinksForKey(String localKey, Class<? extends EntityType> localType, Class<? extends EntityType> type)
|
abstract
EntityLink
|
getPrimaryEntityLinkForKey(String localKey, Class<? extends EntityType> localType, Class<? extends EntityType> type)
|
abstract
EntityLink
|
makePrimary(String localKey, Class<? extends EntityType> localType, EntityLink entityLink)
|