public class WAIFriendlyURLMapper
extends Object
implements com.liferay.portal.kernel.portlet.FriendlyURLMapper
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.portlet.Router |
router |
Constructor and Description |
---|
WAIFriendlyURLMapper() |
Modifier and Type | Method and Description |
---|---|
String |
buildPath(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL) |
String |
getMapping() |
String |
getPortletId() |
com.liferay.portal.kernel.portlet.Router |
getRouter() |
protected boolean |
hasBinaryExtension(String friendlyURLPath) |
boolean |
isCheckMappingWithPrefix() |
boolean |
isPortletInstanceable() |
void |
populateParams(String friendlyURLPath,
Map<String,String[]> parameterMap,
Map<String,Object> requestContext) |
void |
setMapping(String mapping) |
void |
setPortletId(String portletId) |
void |
setPortletInstanceable(boolean portletInstanceable) |
void |
setRouter(com.liferay.portal.kernel.portlet.Router router) |
public String buildPath(com.liferay.portal.kernel.portlet.LiferayPortletURL liferayPortletURL)
buildPath
in interface com.liferay.portal.kernel.portlet.FriendlyURLMapper
public String getMapping()
getMapping
in interface com.liferay.portal.kernel.portlet.FriendlyURLMapper
public String getPortletId()
getPortletId
in interface com.liferay.portal.kernel.portlet.FriendlyURLMapper
public com.liferay.portal.kernel.portlet.Router getRouter()
getRouter
in interface com.liferay.portal.kernel.portlet.FriendlyURLMapper
public boolean isCheckMappingWithPrefix()
isCheckMappingWithPrefix
in interface com.liferay.portal.kernel.portlet.FriendlyURLMapper
public boolean isPortletInstanceable()
isPortletInstanceable
in interface com.liferay.portal.kernel.portlet.FriendlyURLMapper
public void populateParams(String friendlyURLPath, Map<String,String[]> parameterMap, Map<String,Object> requestContext)
populateParams
in interface com.liferay.portal.kernel.portlet.FriendlyURLMapper
public void setMapping(String mapping)
setMapping
in interface com.liferay.portal.kernel.portlet.FriendlyURLMapper
public void setPortletId(String portletId)
setPortletId
in interface com.liferay.portal.kernel.portlet.FriendlyURLMapper
public void setPortletInstanceable(boolean portletInstanceable)
setPortletInstanceable
in interface com.liferay.portal.kernel.portlet.FriendlyURLMapper
public void setRouter(com.liferay.portal.kernel.portlet.Router router)
setRouter
in interface com.liferay.portal.kernel.portlet.FriendlyURLMapper
protected boolean hasBinaryExtension(String friendlyURLPath)