sdlip.examples.demo
Class ResultNode

java.lang.Object
  |
  +--sdlip.examples.demo.BasicNode
        |
        +--sdlip.examples.demo.ResultNode

public class ResultNode
extends BasicNode
implements Timeoutable

A TreeNode representing an SDLIP result set.


Constructor Summary
ResultNode(CollectionNode coll, java.lang.String name, Element eBasicsearch, Element ePropList)
           
 
Method Summary
 void displayCurrentItem(java.lang.StringBuffer b)
           
 void done()
           
static java.lang.String expectedTotalString(int total)
           
 CollectionNode getCollection()
           
 boolean isEmpty()
           
 void nextResult(int num)
           
 void retrieveMoreAttributes(sdlip.examples.demo.JSObject form)
           
 void setItemsPerPage(int ipp)
           
 void timeout(java.lang.Object handle)
           
 
Methods inherited from class sdlip.examples.demo.BasicNode
addChild, children, getLabel, getOpen, removeChild, setOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultNode

public ResultNode(CollectionNode coll,
                  java.lang.String name,
                  Element eBasicsearch,
                  Element ePropList)
           throws SDLIPException
Method Detail

getCollection

public CollectionNode getCollection()

timeout

public void timeout(java.lang.Object handle)
Specified by:
timeout in interface Timeoutable

done

public void done()

displayCurrentItem

public void displayCurrentItem(java.lang.StringBuffer b)

isEmpty

public boolean isEmpty()

retrieveMoreAttributes

public void retrieveMoreAttributes(sdlip.examples.demo.JSObject form)
                            throws java.lang.Exception

setItemsPerPage

public void setItemsPerPage(int ipp)

nextResult

public void nextResult(int num)
                throws SDLIPException

expectedTotalString

public static java.lang.String expectedTotalString(int total)