| preload.js | |
| bbop. | Preload BBOP manager for dealing with remote calls. |
| Functions | |
| preload | Contructor for the GOlr query manager. |
| load | |
| update | See the documentation in <golr_manager.js> on update to get more of the story. |
Preload BBOP manager for dealing with remote calls. Remember, this is actually a “subclass” of bbop.golr.manager.
This is synchronous.
This is mostly for testing purposes.
bbop.golr.manager.preload = function ( golr_loc, golr_conf_obj )
Contructor for the GOlr query manager.
Allows preloading of the returned document.
| golr_loc | string url to GOlr server |
| golr_conf_obj | a bbop.golr.conf object |
golr manager object
bbop.golr.manager.preload.prototype.update = function( callback_type, rows, start )
See the documentation in <golr_manager.js> on update to get more of the story. This override function adds a trigger that can be preloaded with results. Really only for testing.
| callback_type | callback type string |
| rows | [serially optional] integer; the number of rows to return |
| start | [serially optional] integer; the offset of the returned rows |
the query url
Contructor for the GOlr query manager.
bbop.golr.manager.preload = function ( golr_loc, golr_conf_obj )
bbop.golr.manager.preload.prototype.load = function( thing )
See the documentation in golr_manager.js on update to get more of the story.
bbop.golr.manager.preload.prototype.update = function( callback_type, rows, start )
Get the current invariant state of the manager returned as a encoded URL string (using encodeURI()).
this.get_query_url = function()