Source code: org/acs/damsel/client/search/SearchForm.java
1 package org.acs.damsel.client.search;
2
3 import org.apache.struts.action.*;
4 import javax.servlet.http.*;
5
6 public class SearchForm extends ActionForm {
7 private String searchKeyword;
8 private String collectionSelect = "AllAssets";
9
10 public String getSearchKeyword() {
11 return searchKeyword;
12 }
13 public void setSearchKeyword(String searchKeyword) {
14 this.searchKeyword = searchKeyword;
15 }
16 public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
17 return null;
18 }
19 public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
20 }
21 public String getCollectionSelect() {
22 return collectionSelect;
23 }
24 public void setCollectionSelect(String collectionSelect) {
25 this.collectionSelect = collectionSelect;
26 }
27 }