Package lumis.service.simplecontent
Class SimpleContentHyperLinkResolver
- java.lang.Object
-
- lumis.portal.hyperlink.GenericHyperLinkResolver
-
- lumis.doui.service.DouiHyperLinkResolver
-
- lumis.content.service.ContentHyperLinkResolver
-
- lumis.service.simplecontent.SimpleContentHyperLinkResolver
-
- All Implemented Interfaces:
IHyperLinkResolver
public class SimpleContentHyperLinkResolver extends ContentHyperLinkResolver
Hyperlink resolver for simple content service.- Since:
- 8.0.0
- Version:
- $Revision: 17049 $ $Date: 2015-03-03 11:26:53 -0300 (Tue, 03 Mar 2015) $
-
-
Field Summary
-
Fields inherited from class lumis.doui.service.DouiHyperLinkResolver
PARAMETER_DESTINATION_SOURCE
-
-
Constructor Summary
Constructors Constructor Description SimpleContentHyperLinkResolver()
-
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.protected java.lang.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 java.lang.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, 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 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
-
-