View Javadoc

1   /*
2    * Copyright 2004-2005 Emmanouil Batsis
3    * 
4    * Licensed under the GNU General Public License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.gnu.org/licenses/gpl.txt
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   * 
16   */
17  package com.geekologue.md4j.web;
18  
19  import com.geekologue.md4j.dao.Order;
20  
21  /***
22   * Interface for Struts ActionForms with paged results
23   * 
24   * @author manos
25   * 
26   */
27  public interface PagedSearchResultsForm {
28      /***
29       * Get the result page number
30       * 
31       * @return the result page number
32       */
33      public Integer getResultsPageNumber();
34  
35      /***
36       * Get the order rules to use for page generation
37       * 
38       * @return
39       */
40      public Order getOrder();
41  }