Package org.xwiki.link
Interface LinkStore
-
@Role @Unstable public interface LinkStore
Allow accessing the links extracted from various entities.- Since:
- 14.8RC1
- Version:
- $Id: f2597b67eb1cffcfdca0fd729384b82de4b4d58f $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<EntityReference>
resolveBackLinkedEntities(EntityReference reference)
Set<EntityReference>
resolveLinkedEntities(EntityReference reference)
-
-
-
Method Detail
-
resolveLinkedEntities
Set<EntityReference> resolveLinkedEntities(EntityReference reference) throws LinkException
- Parameters:
reference
- the reference of the entity containing links- Returns:
- the other (DOCUMENT based) entities linked by the passed entity
- Throws:
LinkException
- when failing to load the links
-
resolveBackLinkedEntities
Set<EntityReference> resolveBackLinkedEntities(EntityReference reference) throws LinkException
- Parameters:
reference
- the reference of the entities targeted by the links- Returns:
- the (DOCUMENT based) entities containing links to the passed entity
- Throws:
LinkException
- when failing to load the backlinks
-
-