Class e.p.w.w.WMDResource(ResourceProvider):

Part of elisa.plugins.wmd.wmd_resource View In Hierarchy

No class docstring
Line # Kind Name Docs
85 Method __init__ Undocumented
89 Method initialize Initialize the component.
107 Method get Simple method to retrieve volumes. You can access it with volumes://

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.
142 Method clean Clean 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 get(self, uri, model):

Simple method to retrieve volumes. You can access it with volumes:// and apply a filter parameter. This is an and filter. If you specify it only these kind of volumes show up. Example: volumes://localhost/?filter=dvd,cdda would only give you dvds and cddas. The three knows filters are: dvd, removable and cdda.

The default is that all filters are applied (like filter=dvd,cdda,removable).

In return you get a *new* elisa.plugins.wmd.models.VolumesModel
API Documentation for Elisa Media Center, generated by pydoctor at 2008-08-11 20:05:11.