com.liferay.portlet.wiki
Class WikiFriendlyURLMapper
java.lang.Object
com.liferay.portal.kernel.portlet.BaseFriendlyURLMapper
com.liferay.portal.kernel.portlet.DefaultFriendlyURLMapper
com.liferay.portlet.wiki.WikiFriendlyURLMapper
- All Implemented Interfaces:
- FriendlyURLMapper
public class WikiFriendlyURLMapper
- extends DefaultFriendlyURLMapper
| 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 |
WikiFriendlyURLMapper
public WikiFriendlyURLMapper()
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
parameterMaprouteParameters - the parameter map populated by the router