com.liferay.dynamic.data.mapping.web.internal.search.TemplateDisplayTerms 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.DisplayTerms;
import com.liferay.portal.kernel.util.ParamUtil;
import javax.portlet.PortletRequest;
/**
* @author Eduardo Lundgren
*/
public class TemplateDisplayTerms extends DisplayTerms {
public static final String DESCRIPTION = "description";
public static final String NAME = "name";
public static final String TYPE = "type";
public TemplateDisplayTerms(PortletRequest portletRequest) {
super(portletRequest);
description = ParamUtil.getString(portletRequest, DESCRIPTION);
name = ParamUtil.getString(portletRequest, NAME);
type = ParamUtil.getString(portletRequest, TYPE);
}
public String getDescription() {
return description;
}
public String getName() {
return name;
}
public String getType() {
return type;
}
protected String description;
protected String name;
protected String type;
}