Liferay 6.2-ce-ga5

com.liferay.portlet.wiki
Class WikiFriendlyURLMapper

java.lang.Object
  extended by com.liferay.portal.kernel.portlet.BaseFriendlyURLMapper
      extended by com.liferay.portal.kernel.portlet.DefaultFriendlyURLMapper
          extended by com.liferay.portlet.wiki.WikiFriendlyURLMapper
All Implemented Interfaces:
FriendlyURLMapper

public class WikiFriendlyURLMapper
extends DefaultFriendlyURLMapper


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.portlet.DefaultFriendlyURLMapper
defaultIgnoredParameters, defaultReservedParameters
 
Fields inherited from class com.liferay.portal.kernel.portlet.BaseFriendlyURLMapper
router
 
Constructor Summary
WikiFriendlyURLMapper()
           
 
Method Summary
protected  void addParameter(Map<String,String> routeParameters, String name, boolean escape)
           
 String buildPath(LiferayPortletURL liferayPortletURL)
          Generates a friendly URL path from the portlet URL object.
protected  void populateParams(Map<String,String[]> parameterMap, String namespace, Map<String,String> routeParameters)
          Populates the parameter map using the parameters from the router and the default reserved parameters.
 
Methods inherited from class com.liferay.portal.kernel.portlet.DefaultFriendlyURLMapper
addDefaultIgnoredParameter, addDefaultReservedParameter, addParametersIncludedInPath, buildRouteParameters, getDefaultIgnoredParameters, getDefaultReservedParameters, getPortletId, populateParams
 
Methods inherited from class com.liferay.portal.kernel.portlet.BaseFriendlyURLMapper
addParam, addParam, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, getMapping, getNamespace, getPortletId, getRouter, isCheckMappingWithPrefix, isPortletInstanceable, setMapping, setPortletId, setPortletInstanceable, setRouter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiFriendlyURLMapper

public WikiFriendlyURLMapper()
Method Detail

buildPath

public String buildPath(LiferayPortletURL liferayPortletURL)
Description copied from interface: FriendlyURLMapper
Generates a friendly URL path from the portlet URL object.

Specified by:
buildPath in interface FriendlyURLMapper
Overrides:
buildPath in class DefaultFriendlyURLMapper
Parameters:
liferayPortletURL - the portlet URL object to generate a friendly URL for
Returns:
the generated friendly URL, or null if one cannot be built. Returning null will cause a normal portlet URL to be generated.

addParameter

protected void addParameter(Map<String,String> routeParameters,
                            String name,
                            boolean escape)

populateParams

protected void populateParams(Map<String,String[]> parameterMap,
                              String namespace,
                              Map<String,String> routeParameters)
Description copied from class: DefaultFriendlyURLMapper
Populates the parameter map using the parameters from the router and the default reserved parameters.

Overrides:
populateParams in class DefaultFriendlyURLMapper
Parameters:
parameterMap - the parameter map to populate. This should be the map passed to DefaultFriendlyURLMapper.populateParams(String, Map, Map) by PortalImpl.
namespace - the namespace to use for parameters added to parameterMap
routeParameters - the parameter map populated by the router

Liferay 6.2-ce-ga5