Package lumis.service.htmlcontent
Class HtmlContentHyperLinkResolver
- java.lang.Object
-
- lumis.portal.hyperlink.GenericHyperLinkResolver
-
- lumis.doui.service.DouiHyperLinkResolver
-
- lumis.content.service.ContentHyperLinkResolver
-
- lumis.service.htmlcontent.HtmlContentHyperLinkResolver
-
- All Implemented Interfaces:
IHyperLinkResolver
public class HtmlContentHyperLinkResolver extends ContentHyperLinkResolver
Hyperlink resolver for simple content service.- Since:
- 8.0.0
- Version:
- $Revision: 20203 $ $Date: 2017-06-01 17:47:16 -0300 (Thu, 01 Jun 2017) $
-
-
Field Summary
-
Fields inherited from class lumis.doui.service.DouiHyperLinkResolver
PARAMETER_DESTINATION_SOURCE
-
-
Constructor Summary
Constructors Constructor Description HtmlContentHyperLinkResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IServiceInterfaceUrl
createUrl(SessionConfig sessionConfig, HyperLinkConfig hyperLinkConfig, String pageId, ITransaction transaction)
Creates an URL for the given hyperlink.protected String
resolveDestinationInterfaceId(SessionConfig sessionConfig, HyperLinkConfig hyperLinkConfig, ITransaction transaction)
Resolves the interface that should be the destination for the givenhyperlinkConfig
-
Methods inherited from class lumis.doui.service.DouiHyperLinkResolver
setUrlParameters
-
Methods inherited from class lumis.portal.hyperlink.GenericHyperLinkResolver
interfaceInstanceCanBeUsedAsLinkTarget, keepPagePreviousState, resolveDestinationPageId, resolveHyperLink
-
-
-
-
Method Detail
-
resolveDestinationInterfaceId
protected String resolveDestinationInterfaceId(SessionConfig sessionConfig, HyperLinkConfig hyperLinkConfig, ITransaction transaction) throws PortalException
Description copied from class:GenericHyperLinkResolver
Resolves the interface that should be the destination for the givenhyperlinkConfig
- Overrides:
resolveDestinationInterfaceId
in classDouiHyperLinkResolver
- Parameters:
sessionConfig
- the user session information.hyperLinkConfig
- the hyperLink information.transaction
- theh transaction for persistence access.- Returns:
- the resolved destination interface id, or null if it could not be resolved.
- Throws:
PortalException
-
createUrl
protected IServiceInterfaceUrl createUrl(SessionConfig sessionConfig, HyperLinkConfig hyperLinkConfig, 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 classContentHyperLinkResolver
- 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
-
-