Class s.d.d.DeviceSettings(Domain):

Part of stoqlib.domain.devices View In Hierarchy

No class docstring
Method get_printer_description Undocumented
Method get_device_description Undocumented
Method get_port_name Undocumented
Method get_device_type_name Undocumented
Method get_interface Based on the column values instantiate the stoqdrivers interface
Method is_a_printer Undocumented
Method is_valid Undocumented
Class Method get_by_station_and_type Fetch all settings for a specific station and type.
Class Method get_scale_settings Get the scale device settings for the current station
Method inactivate Undocumented
Method activate Undocumented
Method get_status_string Undocumented
Method get_description Undocumented

Inherited from Domain:

Method __init__ Undocumented
Method _create Undocumented
Method user Undocumented
Class Method iselect Like select, but search on the adapter implementing the interface iface
Class Method iselectBy Like selectBy, but search on the adapter implementing the interface iface
Class Method iselectOne Like selectOne, but search on the adapter implementing the interface iface
Class Method iselectOneBy Like selectOneBy, but search on the adapter implementing the interface iface
Class Method iget Like get, but gets on the adapter implementing the interface iface

Inherited from AbstractModel (via Domain, BaseDomain):

Method __ne__ Undocumented
Method __eq__ Undocumented
Method _SO_setValue Undocumented
Method clone Get a persistent copy of an existent object. Remember that we can
Method get_connection Undocumented

Inherited from AdaptableORMObject (via Domain):

Class Method registerFacet Registers a facet for class cls.

Inherited from Adaptable (via Domain, AdaptableORMObject):

Class Method getFacetType Fetches a facet type associated with an interface, or raise
Class Method getFacetTypes Returns facet classes for this object
Method addFacet Adds a facet implementing iface for the current object
Method removeFacet Removes a facet from the current object
Method getFacets Gets a list of facets assoicated with the current object.
def get_printer_description(self):
Undocumented
def get_device_description(self, device=None):
Undocumented
def get_port_name(self, device=None):
Undocumented
def get_device_type_name(self, type=None):
Undocumented
def get_interface(self):
Based on the column values instantiate the stoqdrivers interface for the device itself.
def is_a_printer(self):
Undocumented
def is_valid(self):
Undocumented
@classmethod
def get_by_station_and_type(cls, conn, station, type):
Fetch all settings for a specific station and type.
Parametersconna database connection
stationa BranchStation instance
typedevice type
@classmethod
def get_scale_settings(cls, conn):
Get the scale device settings for the current station
Parametersconna database connection
Returnsa DeviceSettings object or None if there is none
def inactivate(self):
Undocumented
def activate(self):
Undocumented
def get_status_string(self):
Undocumented
def get_description(self):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.