SigPath

org.sigpath.form
Class SpecifyPagedResults

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.sigpath.form.SpecifyPagedResults
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SpecifyModelSearch, SpecifyMoleculeSearch, SpecifyPendingReview, SpecifyPendingReview, SpecifyReactionSearch

public abstract class SpecifyPagedResults
extends org.apache.struts.action.ActionForm

Specify Paged Results. Frequently, result sets are spread out across multiple pages, and the user will need to select next/previous buttons to scroll through these results. Each time through, the startIndex value will indicate the startIndex for a specific collection of results. All subclasses are required to implement a getAllParameters() method. This method is used to automatically create next/previous methods.

Author:
Ethan Cerami
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
SpecifyPagedResults()
           
 
Method Summary
abstract  Map getAllParameters()
          Get all name/value pairs used by this form.
 int getStartIndex()
           
 void setStartIndex(int startIndex)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecifyPagedResults

public SpecifyPagedResults()
Method Detail

getStartIndex

public int getStartIndex()

setStartIndex

public void setStartIndex(int startIndex)

getAllParameters

public abstract Map getAllParameters()
Get all name/value pairs used by this form.

Returns:
map of values indexed by parameter name

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.