lumis.portal.hyperlink
Class HyperLinkManager

Package class diagram package HyperLinkManager
java.lang.Object
  extended by lumis.portal.hyperlink.HyperLinkManager
All Implemented Interfaces:
IHyperLinkManager

public class HyperLinkManager
extends Object
implements IHyperLinkManager

Implementation of hyperlink operations.

Since:
4.0.0

Constructor Summary
HyperLinkManager()
           
 
Method Summary
 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. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HyperLinkManager

public HyperLinkManager()
Method Detail

getUrl

public IServiceInterfaceUrl getUrl(SessionConfig sessionConfig,
                                   HyperLinkConfig hyperLinkConfig,
                                   ITransaction transaction)
                            throws ManagerException,
                                   PortalException
Description copied from interface: IHyperLinkManager
Returns the URL corresponding to the information contained in the given HyperlinkConfig.

Specified by:
getUrl in interface IHyperLinkManager
Parameters:
sessionConfig - the user session information.
hyperLinkConfig - contains the hyperlink information to be used.
transaction - the transaction for persistence access.
Returns:
Returns the corresponding url, or null if it could not be resolved.
Throws:
ManagerException
PortalException
See Also:
lumis.portal.hyperlink

getHyperlinkServiceId

public String getHyperlinkServiceId(SessionConfig sessionConfig,
                                    HyperLinkConfig hyperLinkConfig,
                                    ITransaction transaction)
                             throws ManagerException,
                                    PortalException
Description copied from interface: IHyperLinkManager
Returns the id of the service related to the given hyperlink.

If the service id is not explicitly defined in the hyperLinkConfig, other defined ids are analyzed to infer the corresponding service.

Specified by:
getHyperlinkServiceId in interface IHyperLinkManager
Parameters:
sessionConfig - the user session information.
hyperLinkConfig - contains the hyperlink information to be used.
transaction - the transaction for persistence access.
Returns:
the service id, or null if it could not be inferred.
Throws:
ManagerException
PortalException

getXmlString

@Deprecated
public String getXmlString(SessionConfig sessionConfig,
                                      Node hyperLinksNode,
                                      String serviceId,
                                      String serviceInstanceId,
                                      String sourcePageId,
                                      ITransaction transaction)
                    throws ManagerException,
                           PortalException
Deprecated. 

Description copied from interface: IHyperLinkManager
Get the XML string of the hyperlink.

Specified by:
getXmlString in interface IHyperLinkManager
Returns:
Returns a String.
Throws:
ManagerException
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.