Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chingovan/4885139c858104ca07ff to your computer and use it in GitHub Desktop.
Save chingovan/4885139c858104ca07ff to your computer and use it in GitHub Desktop.
/**
* Copyright 2015 Chi Ngo ([email protected], chingovan.blogspot.com)
*/
package com.blogspot.chingovan.tutorial.combine.search;
import javax.portlet.PortletRequest;
import com.liferay.portal.kernel.util.ParamUtil;
/**
* @author chinv
*
*/
public class StudentSearchTerms extends StudentDisplayTerms {
/**
* @param portletRequest
*/
public StudentSearchTerms(PortletRequest portletRequest) {
super(portletRequest);
code = ParamUtil.getString(portletRequest, "code");
name = ParamUtil.getString(portletRequest, "name");
gender = ParamUtil.getInteger(portletRequest, "gender");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment