org.histpop.ohpr.session
Class PageQueryState

java.lang.Object
  extended by org.histpop.ohpr.session.PageQueryState

public class PageQueryState
extends java.lang.Object

A session-cached object which stores the pages and downloadable tables as needed for the Target Page browser.

This object is part of a session object and is alive for the duration of a session between the web browser client and the OHPR server. There is no need for client-side scripting such as Javascript.


Constructor Summary
PageQueryState(SectionQueryState owner)
          Initialize a new instance of the pages state.
PageQueryState(SectionQueryState owner, Bag pages)
          Initialize a new instance of the pages state.
 
Method Summary
 void destroy()
           
 SectionQueryState getOwner()
           
 Bag getPages()
           
 Bag getPageSections()
           
 Bag getTables()
           
 void setPages(Bag pages)
           
 void setPageSections(Bag pageSections)
           
 void setTables(Bag tables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageQueryState

public PageQueryState(SectionQueryState owner)
               throws ServerException
Initialize a new instance of the pages state.

Parameters:
owner - The owning sections state object.
Throws:
ServerException

PageQueryState

public PageQueryState(SectionQueryState owner,
                      Bag pages)
               throws ServerException
Initialize a new instance of the pages state.

Parameters:
owner - The owning sections state object.
pages - A collection of persistent objects of type Page.
Throws:
ServerException
Method Detail

getPages

public Bag getPages()

setPages

public void setPages(Bag pages)

getTables

public Bag getTables()

setTables

public void setTables(Bag tables)

getPageSections

public Bag getPageSections()

setPageSections

public void setPageSections(Bag pageSections)

getOwner

public SectionQueryState getOwner()

destroy

public void destroy()