org.extremecomponents.table.model
Class ParameterRegistry

java.lang.Object
  extended byorg.extremecomponents.table.model.ParameterRegistry

public class ParameterRegistry
extends java.lang.Object

Author:
jeff johnston

Field Summary
static java.lang.String APPEND
           
static java.lang.String EXPORT
           
static java.lang.String FILTER
           
static java.lang.String OPEN
           
static java.lang.String PAGE
           
static java.lang.String SORT
           
 
Constructor Summary
ParameterRegistry(TableModel model)
           
 
Method Summary
 void addParameter(java.lang.String name, java.lang.String value)
          Add additional parameters that need to be passed around
 java.util.Map clearParameters(java.lang.String parameter)
          Get a map of specific parameters
 void destroy()
           
 java.lang.String getFormHiddenFields(boolean filter, boolean sort, boolean page)
          Get all the action as hidden fields.
 java.lang.String getHiddenFields(java.lang.String parameter)
          Take the parameters and format into hidden fields
 java.lang.String getParameter(java.lang.String parameter)
          Get the parameter
 java.util.Map getParameters(java.lang.String parameter)
          Get a map of specific parameters
 java.lang.String getParameterString(java.lang.String parameter)
          Get a URI formated parameter string.
 java.lang.String getURLParameterString(boolean filter, boolean sort, boolean page)
          Get parameter datum.
 void init(javax.servlet.jsp.PageContext pageContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE

public static final java.lang.String PAGE
See Also:
Constant Field Values

SORT

public static final java.lang.String SORT
See Also:
Constant Field Values

FILTER

public static final java.lang.String FILTER
See Also:
Constant Field Values

EXPORT

public static final java.lang.String EXPORT
See Also:
Constant Field Values

APPEND

public static final java.lang.String APPEND
See Also:
Constant Field Values

OPEN

public static final java.lang.String OPEN
See Also:
Constant Field Values
Constructor Detail

ParameterRegistry

public ParameterRegistry(TableModel model)
Method Detail

init

public void init(javax.servlet.jsp.PageContext pageContext)

addParameter

public void addParameter(java.lang.String name,
                         java.lang.String value)
Add additional parameters that need to be passed around


getParameter

public java.lang.String getParameter(java.lang.String parameter)
Get the parameter


getParameters

public java.util.Map getParameters(java.lang.String parameter)
Get a map of specific parameters


clearParameters

public java.util.Map clearParameters(java.lang.String parameter)
Get a map of specific parameters


getHiddenFields

public java.lang.String getHiddenFields(java.lang.String parameter)
Take the parameters and format into hidden fields


getParameterString

public java.lang.String getParameterString(java.lang.String parameter)
Get a URI formated parameter string. Will look like &key=value


getURLParameterString

public java.lang.String getURLParameterString(boolean filter,
                                              boolean sort,
                                              boolean page)
Get parameter datum.


getFormHiddenFields

public java.lang.String getFormHiddenFields(boolean filter,
                                            boolean sort,
                                            boolean page)
Get all the action as hidden fields.


destroy

public void destroy()


Copyright © 2004 sourceforge. All Rights Reserved.