lumis.portal.url
Interface IURLResolver

Package class diagram package IURLResolver
All Known Implementing Classes:
GenericURLResolver

@StableMinor(version="6.2",
             sinceVersion="5.0")
public interface IURLResolver

Defines methods used for resolving portal web resource URLs. This interface may be implemented to customize how the URLs are resolved.

The methods of this interface are always called inside a transactional context.

Since:
5.0.0
See Also:
lumis.portal.url

Method Summary
 String resolveFriendlyPath(WebResource resource, String currentPath)
          Resolves the friendly path for a web resource.
 

Method Detail

resolveFriendlyPath

String resolveFriendlyPath(WebResource resource,
                           String currentPath)
                           throws PortalException
Resolves the friendly path for a web resource.

Parameters:
resource - the web resource.
currentPath - the path value resolved by previous IURLResolver in the resolution pipeline, or an empty String if this is the first resolver in the pipeline.
Returns:
the resolved friendly path value. The final friendly path for the resolution pipeline must start with '/', or be an empty string for no friendly path.
Throws:
PortalException
Since:
5.0.0


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