Interface IHyperLinkManager

    • Method Detail

      • getXmlString

        @Deprecated
        java.lang.String getXmlString​(SessionConfig sessionConfig,
                                      org.w3c.dom.Node hyperLinkNode,
                                      java.lang.String serviceId,
                                      java.lang.String serviceInstanceId,
                                      java.lang.String sourcePageId,
                                      ITransaction transaction)
                               throws ManagerException,
                                      PortalException
        Deprecated.
        This method may be removed in the future.
        Get the XML string of the hyperlink.
        Parameters:
        sessionConfig -
        hyperLinkNode -
        serviceId -
        serviceInstanceId -
        sourcePageId -
        transaction -
        Returns:
        Returns a String.
        Throws:
        ManagerException
        PortalException
      • getHyperlinkServiceId

        java.lang.String getHyperlinkServiceId​(SessionConfig sessionConfig,
                                               HyperLinkConfig hyperLinkConfig,
                                               ITransaction transaction)
                                        throws ManagerException,
                                               PortalException
        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.

        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
        Since:
        4.0.10