Changes between Version 15 and Version 16 of BluePrintSearch


Ignore:
Timestamp:
03/23/11 12:15:23 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintSearch

    v15 v16  
    4444==== REST Interface ====
    4545
    46 The '''S3Find''' class implements the '''[wiki:S3XRC/S3Method S3Method]''' interface, and is connected to the {{{search}}} URL method in [wiki:S3XRC/RESTfulAPI/s3_rest_controller s3_rest_controller]:
     46The '''S3Search''' class implements the '''[wiki:S3XRC/S3Method S3Method]''' interface, and is connected to the {{{search}}} URL method in [wiki:S3XRC/RESTfulAPI/s3_rest_controller s3_rest_controller]:
    4747
    4848{{{
     
    5050}}}
    5151
    52 '''S3Find''' implements both interactive and non-interactive search methods. Currently supported formats are:
     52'''S3Search''' implements both interactive and non-interactive search methods. Currently supported formats are:
    5353
    5454  - HTML
    5555  - JSON
    5656
    57 There is a generic '''S3Find''' default instance connected to all resources, which will be used unless there is a resource-specific instance configured. However, this default instance does '''not''' provide any interactive search methods (JSON only).
     57There is a generic '''S3Search''' default instance connected to all resources, which will be used unless there is a resource-specific instance configured. However, this default instance does '''not''' provide any interactive search methods (JSON only).
    5858
    59 To connect a custom {{{S3Find}}} instance to a resource (in order to add interactive search methods), use {{{s3xrc.model.configure}}}:
     59To connect a custom {{{S3Search}}} instance to a resource (in order to add interactive search methods), use {{{s3xrc.model.configure}}}:
    6060
    6161{{{
    62 s3xrc.model.configure(table, search_method=my_s3find_instance
     62s3xrc.model.configure(table, search_method=my_s3search_instance
    6363}}}
    6464
    65 See the next paragraph for how to build and connect a custom '''S3Find''' instance for a resource.
     65See the next paragraph for how to build and connect a custom '''S3Search''' instance for a resource.
    6666
    6767==== Configuring Interactive search methods ====