Liferay 6.2-ce-ga5
Class WikiFriendlyURLMapper

  extended by com.liferay.portal.kernel.portlet.BaseFriendlyURLMapper
      extended by com.liferay.portal.kernel.portlet.DefaultFriendlyURLMapper
          extended by
All Implemented Interfaces:

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
Constructor Summary
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


public WikiFriendlyURLMapper()
Method Detail


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
buildPath in class DefaultFriendlyURLMapper
liferayPortletURL - the portlet URL object to generate a friendly URL for
the generated friendly URL, or null if one cannot be built. Returning null will cause a normal portlet URL to be generated.


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


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.

populateParams in class DefaultFriendlyURLMapper
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