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
52 Method __init__ Undocumented
57 Method initialize Initialize the component.
102 Method get Make a search request. The context model is ingored.
238 Method clean Clean the component.
65 Method _add_searcher Undocumented
76 Method _load_searchers Load the searchers that are defined in the entrypoint
145 Method _model_returner Undocumented
149 Method _call_searchers Undocumented
227 Method _clean_searchers Undocumented

Inherited from ResourceProvider:

Line # Kind Name Docs
94 Method post Update the resource pointed by uri with parameters.
107 Method put Put one resource into another. Both resources are identified with URIs.
129 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 2008-12-01 12:03:30.