Example usage for com.liferay.portal.kernel.model ListTypeConstants CONTACT_SUFFIX

List of usage examples for com.liferay.portal.kernel.model ListTypeConstants CONTACT_SUFFIX

Introduction

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

Prototype

String CONTACT_SUFFIX

To view the source code for com.liferay.portal.kernel.model ListTypeConstants CONTACT_SUFFIX.

Click Source Link

Usage

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

License:Open Source License

private ActionRequest _wrapActionRequest(ActionRequest actionRequest) throws Exception {

    DynamicActionRequest dynamicActionRequest = new DynamicActionRequest(actionRequest);

    long prefixId = getListTypeId(actionRequest, "prefixValue", ListTypeConstants.CONTACT_PREFIX);

    dynamicActionRequest.setParameter("prefixId", String.valueOf(prefixId));

    long suffixId = getListTypeId(actionRequest, "suffixValue", ListTypeConstants.CONTACT_SUFFIX);

    dynamicActionRequest.setParameter("suffixId", String.valueOf(suffixId));

    return dynamicActionRequest;
}