com.gentics.api.portalnode.connector
Interface PLinkReplacer
public interface PLinkReplacer
Can be used in combination with
PortalConnectorHelper.replacePLinks(String, PLinkReplacer)
to replace
plinks to real URLs.
- See Also:
PortalConnectorHelper.replacePLinks(String,
PLinkReplacer)
replacePLink
String replacePLink(PLinkInformation plink)
- Has to be implemented by users. It gets the content id of the plink and
should return a URL valid for your portal.
- Parameters:
plink
- the plink to which this plink points. You can retrieve the
content id using PLinkInformation.getContentId()
- Returns:
- URL which will replace the plink tag
- See Also:
PLinkInformation
,
PortalConnectorHelper
Copyright © 2013 Gentics Software GmbH. All Rights Reserved.