@Role
public interface LinkService
| Modifier and Type | Method and Description |
|---|---|
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 EntityConfig (URL and 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 a given link reference and extracts a reference to the linked entity.
|
org.xwiki.gwt.wysiwyg.client.wiki.EntityConfig getEntityConfig(org.xwiki.gwt.wysiwyg.client.wiki.EntityReference origin,
org.xwiki.gwt.wysiwyg.client.wiki.ResourceReference destination)
origin - Origin of the link.destination - Destination of the link.org.xwiki.gwt.wysiwyg.client.wiki.ResourceReference parseLinkReference(String linkReference, org.xwiki.gwt.wysiwyg.client.wiki.EntityReference baseReference)
linkReference - The link reference pointing to the entity.baseReference - The entity reference which is used for resolving the linked entity reference.Copyright © 2003-2018 eXo Platform SAS. All Rights Reserved.