--- /dev/null
+/**\r
+ * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.\r
+ *\r
+ * This library is free software; you can redistribute it and/or modify it under\r
+ * the terms of the GNU Lesser General Public License as published by the Free\r
+ * Software Foundation; either version 2.1 of the License, or (at your option)\r
+ * any later version.\r
+ *\r
+ * This library is distributed in the hope that it will be useful, but WITHOUT\r
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\r
+ * details.\r
+ */\r
+\r
+package com.liferay.portlet.useradmin.search;\r
+\r
+import com.liferay.portal.kernel.dao.search.DAOParamUtil;\r
+import com.liferay.portal.kernel.util.ParamUtil;\r
+import com.liferay.portal.kernel.workflow.WorkflowConstants;\r
+\r
+import javax.portlet.PortletRequest;\r
+\r
+/**\r
+ * @author Brian Wing Shun Chan\r
+ */\r
+public class UserSearchTerms extends UserDisplayTerms {\r
+\r
+ public UserSearchTerms(PortletRequest portletRequest) {\r
+ super(portletRequest);\r
+\r
+ emailAddress = DAOParamUtil.getString(portletRequest, EMAIL_ADDRESS);\r
+ firstName = DAOParamUtil.getString(portletRequest, FIRST_NAME);\r
+ lastName = DAOParamUtil.getString(portletRequest, LAST_NAME);\r
+ middleName = DAOParamUtil.getString(portletRequest, MIDDLE_NAME);\r
+ organizationId = ParamUtil.getLong(portletRequest, ORGANIZATION_ID);\r
+ roleId = ParamUtil.getLong(portletRequest, ROLE_ID);\r
+ screenName = DAOParamUtil.getString(portletRequest, SCREEN_NAME);\r
+ status = ParamUtil.getInteger(\r
+ portletRequest, STATUS, WorkflowConstants.STATUS_APPROVED);\r
+ userGroupId = ParamUtil.getLong(portletRequest, USER_GROUP_ID);\r
+ \r
+ /*Custom classe*/\r
+ collegeId = ParamUtil.getLong(portletRequest, COLLEGE_ID);\r
+ classeId = ParamUtil.getLong(portletRequest, CLASSE_ID);\r
+ enseignementid = ParamUtil.getLong(portletRequest, ENSEIGNEMENT_ID);\r
+ }\r
+\r
+}
\ No newline at end of file