Class e.p.s.s.SearchMetaresourceProvider(ResourceProvider):

Part of elisa.plugins.search.search_metaresource_provider View In Hierarchy

No class docstring
Line # Kind Name Docs
53 Method __init__ Undocumented
58 Method initialize Initialize the component.
103 Method get Make a search request. The context model is ingored.
239 Method clean Clean the component.
66 Method _add_searcher Undocumented
77 Method _load_searchers Load the searchers that are defined in the entrypoint
146 Method _model_returner Undocumented
150 Method _call_searchers Undocumented
228 Method _clean_searchers Undocumented

Inherited from ResourceProvider:

Line # Kind Name Docs
103 Method post Update the resource pointed by uri with parameters.
116 Method put Put one resource into another. Both resources are identified with URIs.
138 Method delete Delete a Resource represented by a URI.

Inherited from Component (via ResourceProvider):

Line # Kind Name Docs
85 Class PathDescriptor Undocumented
97 Class Method create Create and initialize the component.
def __init__(self):
Undocumented
def initialize(self):
Initialize the component.

This method is called by Component.create to finish the initialization of a component.

Returnsa deferred called when a component is fully initialized (type: twisted.internet.defer.Deferred )
def _add_searcher(self, searcher, name):
Undocumented
def _load_searchers(self, old_result):
Load the searchers that are defined in the entrypoint SearchMetaresourceProvider.entry_point. Use pkg_resources for that.
def get(self, uri, context_model=None):
Make a search request. The context model is ingored.
def _model_returner(self, result, model):
Undocumented
def _call_searchers(self, old_result, search_type, selected_searchers, uri, model):
Undocumented
def _clean_searchers(self, res):
Undocumented
def clean(self):
Clean the component.

This method is called when a component is not needed anymore to clean its state.

Returnsa deferred called when the component has finished cleaning its state (type: twisted.internet.defer.Deferred )
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.