View Javadoc

1   /*
2   Copyright 2010 James Pether Sörling Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 
3   	$Id
4   */
5   package com.hack23.cia.web.action.user;
6   
7   /***
8    * The Class SearchAction.
9    */
10  public class SearchAction extends AbstractParliamentAction {
11  
12      /*** The Constant serialVersionUID. */
13      private static final long serialVersionUID = 967092220196995079L;
14  
15      /*** The search string. */
16      private final String searchString;
17  
18      /***
19       * Instantiates a new search action.
20       *
21       * @param searchString the search string
22       */
23      public SearchAction(final String searchString) {
24          super();
25          this.searchString = searchString;
26      }
27  
28      /***
29       * Gets the search string.
30       *
31       * @return the search string
32       */
33      public final String getSearchString() {
34          return searchString;
35      }
36  
37  }