Example usage for com.liferay.portal.kernel.portlet FriendlyURLMapper getMapping

List of usage examples for com.liferay.portal.kernel.portlet FriendlyURLMapper getMapping

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.portlet FriendlyURLMapper getMapping.

Prototype

public String getMapping();

Source Link

Document

Returns the friendly URL mapping for this portlet.

Usage

From source file:com.liferay.wiki.engine.html.internal.HtmlEngine.java

License:Open Source License

@Reference(target = "(javax.portlet.name=" + WikiPortletKeys.WIKI + ")", unbind = "-")
protected void setFriendlyURLMapper(FriendlyURLMapper friendlyURLMapper) {
    _friendlyURLMapping = Portal.FRIENDLY_URL_SEPARATOR + friendlyURLMapper.getMapping();

    _router = friendlyURLMapper.getRouter();
}