lumis.doui.service
Class DouiHyperLinkResolver
java.lang.Object
lumis.portal.hyperlink.GenericHyperLinkResolver
lumis.doui.service.DouiHyperLinkResolver
- All Implemented Interfaces:
- IHyperLinkResolver
@StableMinor(version="4.1",
sinceVersion="4.0")
public class DouiHyperLinkResolver
- extends GenericHyperLinkResolver
Customizes the generic hyperlink resolver to also verify the
destination source during interface resolution.
The destination source id is taken from the
PARAMETER_DESTINATION_SOURCE
parameter.
- Since:
- 4.0.10
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAMETER_DESTINATION_SOURCE
public static final String PARAMETER_DESTINATION_SOURCE
- The name of the parameter where the destination source id is stored.
- Since:
- 4.0.10
- See Also:
- Constant Field Values
DouiHyperLinkResolver
public DouiHyperLinkResolver()
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 given
hyperlinkConfig
- Overrides:
resolveDestinationInterfaceId
in class GenericHyperLinkResolver
- 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
setUrlParameters
protected void setUrlParameters(SessionConfig sessionConfig,
IServiceInterfaceUrl url,
Map<String,String[]> parameters,
ITransaction transaction)
throws PortalException
- Description copied from class:
GenericHyperLinkResolver
- Replaces the parameters in the url with the parameters in the given map.
To customize the parameters set in the url, this method may be overrided.
- Overrides:
setUrlParameters
in class GenericHyperLinkResolver
- Parameters:
sessionConfig
- the user session information.url
- the url to set parameters.parameters
- the parameters to set in the url.transaction
- the transaction for persistence access.
- Throws:
PortalException
- See Also:
PortalRequestParameters.isReservedParameter(String)
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.