Open SiteSearch 4.1.1
Final

ORG.oclc.obi
Class initialize

java.lang.Object
  |
  +--ORG.oclc.obi.initialize

public class initialize
extends Object
implements JavaPage

The initialize class creates default UserStateObject entities for a new user. In addition, initialize selects the user's StyleTable object. The name of the StyleTable can be located in either the style widget, user's accessClient data or finally the default StyleTable is chosen. The StyleTable is then used to locate the user's DisplayGadgets StyleTable.
If a default database name (&StyleTable.default.defaultdb;) is provided then a PostProceessed Z39.50 Init is scheduled for that database.

Create the UserState entity defaultnumrecs used in determining whether records are automatically retrieved on a query. This is based on whether the names of the databases are re-orderd in the resultsframescreen.java class. If the names are not reordered the entity is set to 10 and if they are reordered the entity is set to 0 (indicating not to piggyback a FETCH which the QUERY since the first Database may be different after the reordering).

The entities set are:

ScreenCount
0
CurrentSearchScreen
&StyleTable.default.defaultsearchscreen;
active
0
dbname
&StyleTable.default.defaultdb;
NoLimitsSet
""
BookMarkInfo
&StyleTable.messages.noBookMarkedRecords;
defaultnumrecs
0 (default) or 10

See Also:
JavaPage, UserStateObject, RequestManager, DataPairs, StyleTable, AccessUserData, AccessClient

Constructor Summary
initialize()
          Constructs a intialize object.
 
Method Summary
 void runit(RequestManager rMngr)
          Executes the embedded intialize.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

initialize

public initialize()
Constructs a intialize object.
Method Detail

runit

public void runit(RequestManager rMngr)
Executes the embedded intialize.
Specified by:
runit in interface JavaPage
Parameters:
rMngr - the RequestManager object

Open SiteSearch 4.1.1
Final