|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Role public interface LinkService
The LinkService manage 2 different type of link, the EntityConfig and the link reference.
| Method Summary | |
|---|---|
org.xwiki.gwt.wysiwyg.client.wiki.EntityConfig |
getEntityConfig(org.xwiki.gwt.wysiwyg.client.wiki.EntityReference origin,
org.xwiki.gwt.wysiwyg.client.wiki.ResourceReference destination)
Creates an entity link configuration object (URL, link reference) for a link with the specified origin and destination. |
org.xwiki.gwt.wysiwyg.client.wiki.ResourceReference |
parseLinkReference(String linkReference,
org.xwiki.gwt.wysiwyg.client.wiki.EntityReference baseReference)
Parses the given link reference and extracts a reference to the linked entity. |
| Method Detail |
|---|
org.xwiki.gwt.wysiwyg.client.wiki.EntityConfig getEntityConfig(org.xwiki.gwt.wysiwyg.client.wiki.EntityReference origin,
org.xwiki.gwt.wysiwyg.client.wiki.ResourceReference destination)
EntityConfig is relative to the link origin.
origin - the origin of the linkdestination - the destination of the link
org.xwiki.gwt.wysiwyg.client.wiki.ResourceReference parseLinkReference(String linkReference,
org.xwiki.gwt.wysiwyg.client.wiki.EntityReference baseReference)
linkReference - a link reference pointing to an entity of the specified typebaseReference - the entity reference used to resolve the linked entity reference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||