Class s.d.p.Person(Domain):

Part of stoqlib.domain.person View In Hierarchy

Base class to register persons in the system. This class should never be instantiated directly.
Method _check_individual_or_company_facets Undocumented
Method address Undocumented
Method _set_phone_number Undocumented
Method _set_fax_number Undocumented
Method _set_mobile_number Undocumented
Method get_main_address Undocumented
Method get_address_string Undocumented
Method get_phone_number_number Returns the phone number without any non-numeric characters
Method get_fax_number_number Returns the fax number without any non-numeric characters
Method get_formatted_phone_number Returns a dash-separated phone number or an empty string
Method get_formatted_fax_number Returns a dash-separated fax number or an empty string
Method has_individual_or_company_facets Undocumented
Method facet_IClient_add Undocumented
Method facet_ITransporter_add Undocumented
Method facet_ISupplier_add Undocumented
Method facet_ICreditProvider_add Undocumented
Method facet_IEmployee_add Undocumented
Method facet_IUser_add Undocumented
Method facet_IBranch_add Undocumented
Method facet_ISalesPerson_add 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 _check_individual_or_company_facets(self):
Undocumented
@property
def address(self):
Undocumented
def _set_phone_number(self, value):
Undocumented
def _set_fax_number(self, value):
Undocumented
def _set_mobile_number(self, value):
Undocumented
def get_main_address(self):
Undocumented
def get_address_string(self):
Undocumented
def get_phone_number_number(self):
Returns the phone number without any non-numeric characters
Returnsthe phone number as a number (type: integer )
def get_fax_number_number(self):
Returns the fax number without any non-numeric characters
Returnsthe fax number as a number (type: integer )
def get_formatted_phone_number(self):
Returns a dash-separated phone number or an empty string
def get_formatted_fax_number(self):
Returns a dash-separated fax number or an empty string
def has_individual_or_company_facets(self):
Undocumented
def facet_IClient_add(self, **kwargs):
Undocumented
def facet_ITransporter_add(self, **kwargs):
Undocumented
def facet_ISupplier_add(self, **kwargs):
Undocumented
def facet_ICreditProvider_add(self, **kwargs):
Undocumented
def facet_IEmployee_add(self, **kwargs):
Undocumented
def facet_IUser_add(self, **kwargs):
Undocumented
def facet_IBranch_add(self, **kwargs):
Undocumented
def facet_ISalesPerson_add(self, **kwargs):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.