no.sesat.search.view.navigation
Class ResultPagingNavigationConfig

java.lang.Object
  extended by no.sesat.search.view.navigation.NavigationConfig.Nav
      extended by no.sesat.search.view.navigation.ResultPagingNavigationConfig
All Implemented Interfaces:
Serializable

@NavigationConfig.Nav.ControllerFactory(value="no.sesat.search.view.navigation.ResultPagingNavigationController")
public final class ResultPagingNavigationConfig
extends NavigationConfig.Nav

Configuration for result paging. Makes it possible to configure pageSize, number of page number thumbnails, and jump forward multiple pages options.

Version:
$Id: ResultPagingNavigationConfig.java 7225 2009-04-09 00:32:20Z ssmiweve $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class no.sesat.search.view.navigation.NavigationConfig.Nav
NavigationConfig.Nav.ControllerFactory
 
Field Summary
static String OFFSET_KEY
          Used for both the id of the configuration AND the parameter name.
 
Constructor Summary
ResultPagingNavigationConfig(NavigationConfig.Nav parent, NavigationConfig.Navigation navigation, Element e)
           
 
Method Summary
 String getCommandName()
           
 String getHitcountSource()
           
 int getMultiplePageSize()
           
 int getNumberOfPages()
           
 int getPageSize()
           
 void setCommandName(String commandName)
           
 void setHitcountSource(String hitcountSource)
           
 void setMultiplePageSize(int multiplePageSize)
           
 void setNumberOfPages(int numberOfPages)
           
 void setPageSize(int pageSize)
           
 
Methods inherited from class no.sesat.search.view.navigation.NavigationConfig.Nav
addChild, getBackText, getChildNavs, getField, getId, getMaxsize, getNavigation, getParent, getStaticParameters, getTab, isAutoNavigation, isOut, isVirtual, setAutoNavigation, setBackText, setField, setId, setMaxsize, setOut, setStaticParameters, setTab, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OFFSET_KEY

public static final String OFFSET_KEY
Used for both the id of the configuration AND the parameter name.

See Also:
Constant Field Values
Constructor Detail

ResultPagingNavigationConfig

public ResultPagingNavigationConfig(NavigationConfig.Nav parent,
                                    NavigationConfig.Navigation navigation,
                                    Element e)
Method Detail

getMultiplePageSize

public int getMultiplePageSize()

setMultiplePageSize

public void setMultiplePageSize(int multiplePageSize)

getPageSize

public int getPageSize()

setPageSize

public void setPageSize(int pageSize)

getNumberOfPages

public int getNumberOfPages()

setNumberOfPages

public void setNumberOfPages(int numberOfPages)

getCommandName

public String getCommandName()
Overrides:
getCommandName in class NavigationConfig.Nav

setCommandName

public void setCommandName(String commandName)
Overrides:
setCommandName in class NavigationConfig.Nav

getHitcountSource

public String getHitcountSource()

setHitcountSource

public void setHitcountSource(String hitcountSource)


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.