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

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

Introduction

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

Prototype

public static String getEmailFromAddress(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 getEmailFromAddress(PortletPreferences portletPreferences, long companyId) {

    return PortalUtil.getEmailFromAddress(portletPreferences, companyId,
            _assetPublisherPortletInstanceConfiguration.emailFromAddress());
}

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

License:Open Source License

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

    return PortalUtil.getEmailFromAddress(preferences, companyId, PropsValues.LOGIN_EMAIL_FROM_ADDRESS);
}