List of usage examples for com.liferay.portal.kernel.dao.search DAOParamUtil getLong
public static long getLong(PortletRequest portletRequest, String param)
From source file:com.liferay.calendar.search.CalendarResourceSearchTerms.java
License:Open Source License
public CalendarResourceSearchTerms(PortletRequest portletRequest) { super(portletRequest); active = DAOParamUtil.getBoolean(portletRequest, ACTIVE); code = DAOParamUtil.getLike(portletRequest, CODE); description = DAOParamUtil.getLike(portletRequest, DESCRIPTION); name = DAOParamUtil.getLike(portletRequest, NAME); scope = DAOParamUtil.getLong(portletRequest, SCOPE); type = DAOParamUtil.getString(portletRequest, TYPE); }
From source file:com.liferay.mobile.device.rules.web.internal.search.RuleGroupSearchTerms.java
License:Open Source License
public RuleGroupSearchTerms(PortletRequest portletRequest) { super(portletRequest); setGroupId(DAOParamUtil.getLong(portletRequest, GROUP_ID)); setName(DAOParamUtil.getString(portletRequest, NAME)); }
From source file:com.liferay.portlet.dynamicdatamapping.search.StructureSearchTerms.java
License:Open Source License
public StructureSearchTerms(PortletRequest portletRequest) { super(portletRequest); classNameId = DAOParamUtil.getLong(portletRequest, CLASS_NAME_ID); description = DAOParamUtil.getString(portletRequest, DESCRIPTION); name = DAOParamUtil.getString(portletRequest, NAME); storageType = DAOParamUtil.getString(portletRequest, STORAGE_TYPE); }
From source file:org.opencps.datamgt.search.DictCollectionSearchTerms.java
License:Open Source License
public DictCollectionSearchTerms(PortletRequest portletRequest) { super(portletRequest); createDate = ParamUtil.getDate(portletRequest, CREATE_DATE, DateTimeUtil.getDateTimeFormat(DateTimeUtil._VN_DATE_TIME_FORMAT)); dictCollectionId = DAOParamUtil.getLong(portletRequest, DICTCOLLECTION_ID); description = DAOParamUtil.getString(portletRequest, DESCRIPTION); modifiedDate = ParamUtil.getDate(portletRequest, MODIFIED_DATE, DateTimeUtil.getDateTimeFormat(DateTimeUtil._VN_DATE_TIME_FORMAT)); collectionCode = DAOParamUtil.getString(portletRequest, COLLECTION_CODE); collectionName = DAOParamUtil.getString(portletRequest, COLLECTION_NAME); userId = DAOParamUtil.getLong(portletRequest, USER_ID); groupId = setGroupId(portletRequest); }
From source file:org.opencps.datamgt.search.DictItemSearchTerms.java
License:Open Source License
public DictItemSearchTerms(PortletRequest portletRequest) { super(portletRequest); createDate = ParamUtil.getDate(portletRequest, CREATE_DATE, DateTimeUtil.getDateTimeFormat(DateTimeUtil._VN_DATE_TIME_FORMAT)); dictCollectionId = DAOParamUtil.getLong(portletRequest, DICTCOLLECTION_ID); description = DAOParamUtil.getString(portletRequest, DESCRIPTION); modifiedDate = ParamUtil.getDate(portletRequest, MODIFIED_DATE, DateTimeUtil.getDateTimeFormat(DateTimeUtil._VN_DATE_TIME_FORMAT)); itemCode = DAOParamUtil.getString(portletRequest, ITEM_CODE); itemName = DAOParamUtil.getString(portletRequest, ITEM_NAME); userId = DAOParamUtil.getLong(portletRequest, USER_ID); groupId = setGroupId(portletRequest); }
From source file:org.opencps.processmgt.search.ProcessOrderSearchTerms.java
License:Open Source License
public ProcessOrderSearchTerms(PortletRequest portletRequest) { super(portletRequest); actionDatetime = ParamUtil.getDate(portletRequest, ACTION_DATE_TIME, DateTimeUtil.getDateTimeFormat(DateTimeUtil._VN_DATE_TIME_FORMAT)); serviceInfoId = DAOParamUtil.getLong(portletRequest, SERVICE_INFO_ID); userId = DAOParamUtil.getLong(portletRequest, USER_ID); receptionNo = DAOParamUtil.getString(portletRequest, RECEPTION_NO); processStepId = DAOParamUtil.getLong(portletRequest, PROCESS_STEP_ID); govAgencyOrganizationId = DAOParamUtil.getLong(portletRequest, GOV_AGENCY_ORGANIZATION_ID); }
From source file:org.opencps.sample.department.search.DepartmentSearchTerms.java
License:Open Source License
public DepartmentSearchTerms(PortletRequest portletRequest) { super(portletRequest); createDate = ParamUtil.getDate(portletRequest, CREATE_DATE, PortletUtil.getDateTimeFormat(PortletUtil._VN_DATE_TIME_FORMAT)); departmentId = DAOParamUtil.getLong(portletRequest, DEPARTMENT_ID); description = DAOParamUtil.getString(portletRequest, DESCRIPTION); modifiedDate = ParamUtil.getDate(portletRequest, MODIFIED_DATE, PortletUtil.getDateTimeFormat(PortletUtil._VN_DATE_TIME_FORMAT)); name = DAOParamUtil.getString(portletRequest, NAME); parentId = DAOParamUtil.getLong(portletRequest, PARENT_ID); userName = DAOParamUtil.getString(portletRequest, USER_NAME); groupId = setGroupId(portletRequest); }
From source file:org.opencps.usermgt.search.EmployeeSearchTerm.java
License:Open Source License
public EmployeeSearchTerm(PortletRequest portletRequest) { super(portletRequest); employeeNo = DAOParamUtil.getString(portletRequest, EmployeeDisplayTerm.EMPLOYEE_NO); workingUnitId = DAOParamUtil.getLong(portletRequest, EmployeeDisplayTerm.WORKING_UNIT_ID); fullName = DAOParamUtil.getString(portletRequest, EmployeeDisplayTerm.FULL_NAME); workingUnitStatus = DAOParamUtil.getInteger(portletRequest, EmployeeDisplayTerm.WORKING_STATUS); }