Example usage for com.liferay.portal.kernel.util PortalUtil getEmailFromName

List of usage examples for com.liferay.portal.kernel.util PortalUtil getEmailFromName

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util PortalUtil getEmailFromName.

Prototype

public static String getEmailFromName(PortletPreferences preferences, long companyId, String defaultValue) 

Source Link

Usage

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

License:Open Source License

public static String getEmailFromName(PortletPreferences portletPreferences, long companyId) {

    return PortalUtil.getEmailFromName(portletPreferences, companyId,
            _assetPublisherPortletInstanceConfiguration.emailFromName());
}

From source file:com.liferay.login.web.internal.portlet.util.LoginUtil.java

License:Open Source License

public static String getEmailFromName(PortletPreferences preferences, long companyId) {

    return PortalUtil.getEmailFromName(preferences, companyId, PropsValues.LOGIN_EMAIL_FROM_NAME);
}