Example usage for com.liferay.portal.util PropsValues ADMIN_EMAIL_PASSWORD_SENT_SUBJECT

List of usage examples for com.liferay.portal.util PropsValues ADMIN_EMAIL_PASSWORD_SENT_SUBJECT

Introduction

In this page you can find the example usage for com.liferay.portal.util PropsValues ADMIN_EMAIL_PASSWORD_SENT_SUBJECT.

Prototype

String ADMIN_EMAIL_PASSWORD_SENT_SUBJECT

To view the source code for com.liferay.portal.util PropsValues ADMIN_EMAIL_PASSWORD_SENT_SUBJECT.

Click Source Link

Usage

From source file:com.liferay.login.web.internal.portlet.action.LoginConfigurationActionImpl.java

License:Open Source License

@Override
public void postProcess(long companyId, PortletRequest portletRequest, PortletPreferences portletPreferences) {

    String languageId = LocaleUtil.toLanguageId(LocaleUtil.getSiteDefault());

    removeDefaultValue(portletRequest, portletPreferences, "emailPasswordResetBody_" + languageId, ContentUtil
            .get(PortalClassLoaderUtil.getClassLoader(), PropsValues.ADMIN_EMAIL_PASSWORD_RESET_BODY));
    removeDefaultValue(portletRequest, portletPreferences, "emailPasswordResetSubject_" + languageId,
            ContentUtil.get(PortalClassLoaderUtil.getClassLoader(),
                    PropsValues.ADMIN_EMAIL_PASSWORD_RESET_SUBJECT));
    removeDefaultValue(portletRequest, portletPreferences, "emailPasswordSentBody_" + languageId, ContentUtil
            .get(PortalClassLoaderUtil.getClassLoader(), PropsValues.ADMIN_EMAIL_PASSWORD_SENT_BODY));
    removeDefaultValue(portletRequest, portletPreferences, "emailPasswordSentSubject_" + languageId, ContentUtil
            .get(PortalClassLoaderUtil.getClassLoader(), PropsValues.ADMIN_EMAIL_PASSWORD_SENT_SUBJECT));
}