lumis.content.service
Class ContentHyperLinkResolver

Package class diagram package ContentHyperLinkResolver
java.lang.Object
  extended by lumis.portal.hyperlink.GenericHyperLinkResolver
      extended by lumis.doui.service.DouiHyperLinkResolver
          extended by lumis.content.service.ContentHyperLinkResolver
All Implemented Interfaces:
IHyperLinkResolver

public class ContentHyperLinkResolver
extends DouiHyperLinkResolver

Hyperlink resolver for content services.

Since:
4.2.0

Field Summary
 
Fields inherited from class lumis.doui.service.DouiHyperLinkResolver
PARAMETER_DESTINATION_SOURCE
 
Constructor Summary
ContentHyperLinkResolver()
           
 
Method Summary
protected  IServiceInterfaceUrl createUrl(SessionConfig sessionConfig, HyperLinkConfig hyperLinkConfig, String pageId, ITransaction transaction)
          Creates an URL for the given hyperlink.
 
Methods inherited from class lumis.doui.service.DouiHyperLinkResolver
resolveDestinationInterfaceId, setUrlParameters
 
Methods inherited from class lumis.portal.hyperlink.GenericHyperLinkResolver
keepPagePreviousState, resolveDestinationPageId, resolveHyperLink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentHyperLinkResolver

public ContentHyperLinkResolver()
Method Detail

createUrl

protected IServiceInterfaceUrl createUrl(SessionConfig sessionConfig,
                                         HyperLinkConfig hyperLinkConfig,
                                         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 class GenericHyperLinkResolver
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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.