public class HyperLinkManager extends Object implements IHyperLinkManager
Constructor and Description |
---|
HyperLinkManager() |
Modifier and Type | Method and Description |
---|---|
String |
getHyperlinkServiceId(SessionConfig sessionConfig,
HyperLinkConfig hyperLinkConfig,
ITransaction transaction)
Returns the id of the service related to the given hyperlink.
|
IServiceInterfaceUrl |
getUrl(SessionConfig sessionConfig,
HyperLinkConfig hyperLinkConfig,
ITransaction transaction)
Returns the URL corresponding to the information contained in the
given
HyperlinkConfig . |
String |
getXmlString(SessionConfig sessionConfig,
Node hyperLinksNode,
String serviceId,
String serviceInstanceId,
String sourcePageId,
ITransaction transaction)
Deprecated.
|
public IServiceInterfaceUrl getUrl(SessionConfig sessionConfig, HyperLinkConfig hyperLinkConfig, ITransaction transaction) throws ManagerException, PortalException
IHyperLinkManager
HyperlinkConfig
.getUrl
in interface IHyperLinkManager
sessionConfig
- the user session information.hyperLinkConfig
- contains the hyperlink information to be used.transaction
- the transaction for persistence access.null
if
it could not be resolved.ManagerException
PortalException
lumis.portal.hyperlink
public String getHyperlinkServiceId(SessionConfig sessionConfig, HyperLinkConfig hyperLinkConfig, ITransaction transaction) throws ManagerException, PortalException
IHyperLinkManager
If the service id is not explicitly defined in the hyperLinkConfig
,
other defined ids are analyzed to infer the corresponding service.
getHyperlinkServiceId
in interface IHyperLinkManager
sessionConfig
- the user session information.hyperLinkConfig
- contains the hyperlink information to be used.transaction
- the transaction for persistence access.ManagerException
PortalException
@Deprecated public String getXmlString(SessionConfig sessionConfig, Node hyperLinksNode, String serviceId, String serviceInstanceId, String sourcePageId, ITransaction transaction) throws ManagerException, PortalException
IHyperLinkManager
getXmlString
in interface IHyperLinkManager
ManagerException
PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.