1 16 package com.blandware.atleap.webapp.form.core; 17 18 import com.blandware.atleap.webapp.form.BaseForm; 19 import org.apache.struts.action.ActionMapping; 20 21 import javax.servlet.http.HttpServletRequest ; 22 23 32 public class BaseFilterForm extends BaseForm { 33 34 protected String fieldName = new String (); 35 protected String gridName = new String (); 36 protected String pageUrl = new String (); 37 protected String fieldKey = null; 38 protected String clearFilter = null; 39 protected String rowIterators = null; 40 41 44 public BaseFilterForm() { 45 } 46 47 52 public String getFieldName() { 53 return fieldName; 54 } 55 56 61 public void setFieldName(String fieldName) { 62 this.fieldName = fieldName; 63 } 64 65 70 public String getGridName() { 71 return gridName; 72 } 73 74 79 public void setGridName(String gridName) { 80 this.gridName = gridName; 81 } 82 83 88 public String getPageUrl() { 89 return pageUrl; 90 } 91 92 97 public void setPageUrl(String pageUrl) { 98 this.pageUrl = pageUrl; 99 } 100 101 106 public String getFieldKey() { 107 return fieldKey; 108 } 109 110 115 public void setFieldKey(String fieldKey) { 116 this.fieldKey = fieldKey; 117 } 118 119 125 public String getClearFilter() { 126 return clearFilter; 127 } 128 129 133 public void setClearFilter(String clearFilter) { 134 this.clearFilter = clearFilter; 135 } 136 137 142 public String getRowIterators() { 143 return rowIterators; 144 } 145 146 151 public void setRowIterators(String rowIterators) { 152 this.rowIterators = rowIterators; 153 } 154 155 161 public void reset(ActionMapping mapping, HttpServletRequest request) { 162 this.fieldKey = null; 163 this.rowIterators = null; 164 } 165 166 } | Popular Tags |