001
014
015 package com.liferay.portlet.journal.search;
016
017 import com.liferay.portal.kernel.dao.search.DAOParamUtil;
018
019 import javax.portlet.PortletRequest;
020
021
024 public class TemplateSearchTerms extends TemplateDisplayTerms {
025
026 public TemplateSearchTerms(PortletRequest portletRequest) {
027 super(portletRequest);
028
029 description = DAOParamUtil.getString(portletRequest, DESCRIPTION);
030 groupIds = setGroupIds(portletRequest);
031 name = DAOParamUtil.getString(portletRequest, NAME);
032 structureId = DAOParamUtil.getString(portletRequest, STRUCTURE_ID);
033 templateId = DAOParamUtil.getString(portletRequest, TEMPLATE_ID);
034 }
035
036 public String getStructureIdComparator() {
037 return structureIdComparator;
038 }
039
040 public void setGroupIds(long[] groupIds) {
041 this.groupIds = groupIds;
042 }
043
044 public void setStructureId(String structureId) {
045 this.structureId = structureId;
046 }
047
048 public void setStructureIdComparator(String structureIdComparator) {
049 this.structureIdComparator = structureIdComparator;
050 }
051
052 protected String structureIdComparator;
053
054 }