Package lumis.content.service
Class ContentHyperLinkResolver
- java.lang.Object
-
- lumis.portal.hyperlink.GenericHyperLinkResolver
-
- lumis.doui.service.DouiHyperLinkResolver
-
- lumis.content.service.ContentHyperLinkResolver
-
- All Implemented Interfaces:
IHyperLinkResolver
- Direct Known Subclasses:
HtmlContentHyperLinkResolver
,SimpleContentHyperLinkResolver
public class ContentHyperLinkResolver extends DouiHyperLinkResolver
Hyperlink resolver for content services.- Since:
- 4.2.0
- Version:
- $Revision: 25304 $ $Date: 2022-10-22 22:51:05 -0300 (Sat, 22 Oct 2022) $
-
-
Field Summary
-
Fields inherited from class lumis.doui.service.DouiHyperLinkResolver
PARAMETER_DESTINATION_SOURCE
-
-
Constructor Summary
Constructors Constructor Description ContentHyperLinkResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IServiceInterfaceUrl
createUrl(SessionConfig sessionConfig, HyperLinkConfig hyperLinkConfig, java.lang.String pageId, ITransaction transaction)
Creates an URL for the given hyperlink.-
Methods inherited from class lumis.doui.service.DouiHyperLinkResolver
resolveDestinationInterfaceId, setUrlParameters
-
Methods inherited from class lumis.portal.hyperlink.GenericHyperLinkResolver
interfaceInstanceCanBeUsedAsLinkTarget, keepPagePreviousState, resolveDestinationPageId, resolveHyperLink
-
-
-
-
Method Detail
-
createUrl
protected IServiceInterfaceUrl createUrl(SessionConfig sessionConfig, HyperLinkConfig hyperLinkConfig, java.lang.String pageId, ITransaction transaction) throws PortalException
Description copied from class:GenericHyperLinkResolver
Creates an URL for the given hyperlink.This implementation call
GenericHyperLinkResolver.setUrlParameters(SessionConfig, IServiceInterfaceUrl, Map, ITransaction)
to fill the created URL's parameters.- Overrides:
createUrl
in classGenericHyperLinkResolver
- Parameters:
sessionConfig
- the user session information.hyperLinkConfig
- the hyperlink value.pageId
- the destination page. If null the created URL will not have an explicit pageId specified.transaction
- the transaction for persistence access.- Returns:
- the created URL, or null if the arguments could not be resolved into a URL.
- Throws:
PortalException
-
-