com.liferay.dynamic.data.mapping.web.internal.search.TemplateSearchTerms Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.dynamic.data.mapping.web
Show all versions of com.liferay.dynamic.data.mapping.web
Liferay Dynamic Data Mapping Web
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.dynamic.data.mapping.web.internal.search;
import com.liferay.portal.kernel.dao.search.DAOParamUtil;
import com.liferay.portal.kernel.workflow.WorkflowConstants;
import javax.portlet.PortletRequest;
/**
* @author Eduardo Lundgren
*/
public class TemplateSearchTerms extends TemplateDisplayTerms {
public TemplateSearchTerms(PortletRequest portletRequest) {
super(portletRequest);
description = DAOParamUtil.getString(portletRequest, DESCRIPTION);
name = DAOParamUtil.getString(portletRequest, NAME);
}
public int getStatus() {
return _status;
}
public void setStatus(int status) {
_status = status;
}
private int _status = WorkflowConstants.STATUS_ANY;
}