Example usage for com.liferay.portal.kernel.model Layout getTypeSettingsProperty

List of usage examples for com.liferay.portal.kernel.model Layout getTypeSettingsProperty

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.model Layout getTypeSettingsProperty.

Prototype

public String getTypeSettingsProperty(String key, String defaultValue);

Source Link

Usage

From source file:com.liferay.asset.publisher.web.internal.util.AssetPublisherWebUtil.java

License:Open Source License

public String getDefaultAssetPublisherId(Layout layout) {
    return layout.getTypeSettingsProperty(LayoutTypePortletConstants.DEFAULT_ASSET_PUBLISHER_PORTLET_ID,
            StringPool.BLANK);/* w  w  w.  j a  va 2  s .  c  o  m*/
}