Part of lp.hardwaredb.interfaces.webservice View In Hierarchy
| Attribute | bus_vendor | Undocumented |
| Int | submissions | Undocumented |
| Method | getSubmissions | List all submissions which mention this device. |
| Method | getOrCreateDeviceClass | Return an IHWDeviceClass record or create a new one. |
| Method | removeDeviceClass | Add an IHWDeviceClass record. |
Only submissions matching all given criteria are returned. Only one of :distribution: or :distroseries: may be supplied.
| Parameters | driver | Limit results to devices that use the given
IHWDriver. |
| distribution | Limit results to submissions for this
IDistribution. | |
| distroseries | Limit results to submissions for this
IDistroSeries. | |
| architecture | Limit results to submissions for this architecture. | |
| owner | Limit results to submissions from this person. |
IHWDeviceClass record or create a new one.
main_class and sub_class are integers specifying the class of the device, or, in the case of USB devices, the class of an interface.
IHWDeviceClass records must be unique; if this method is called
to create a new record with data of an already existing record,
the existing record is returned.
| Parameters | main_class | The main class to be added. |
| sub_class | The sub-class to added (otpional). | |
| Returns | An IHWDeviceClass record. | |
IHWDeviceClass record.| Parameters | main_class | The main class to be added. |
| sub_class | The sub-class to added. |