- Timestamp:
- 23 Sep 2016, 05:54:20 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/customer.py
r14178 r14181 25 25 from waeup.ikoba.customers.customer import Customer 26 26 from waeup.ikoba.customers.interfaces import ICustomerNavigation 27 from ikobacustom.uniben.customers.interfaces import I SkeletonCustomer27 from ikobacustom.uniben.customers.interfaces import IUnibenCustomer 28 28 from ikobacustom.uniben.interfaces import MessageFactory as _ 29 29 30 30 31 class SkeletonCustomer(Customer):31 class UnibenCustomer(Customer): 32 32 """This is a customer container for the various objects 33 33 owned by customers. 34 34 """ 35 grok.implements(I SkeletonCustomer, ICustomerNavigation)36 grok.provides(I SkeletonCustomer)35 grok.implements(IUnibenCustomer, ICustomerNavigation) 36 grok.provides(IUnibenCustomer) 37 37 38 form_fields_interface = I SkeletonCustomer38 form_fields_interface = IUnibenCustomer 39 39 40 SkeletonCustomer = attrs_to_fields(SkeletonCustomer)40 UnibenCustomer = attrs_to_fields(UnibenCustomer) 41 41 42 42 43 class SkeletonCustomerFactory(grok.GlobalUtility):43 class UnibenCustomerFactory(grok.GlobalUtility): 44 44 """A factory for customers. 45 45 """ … … 50 50 51 51 def __call__(self, *args, **kw): 52 return SkeletonCustomer()52 return UnibenCustomer() 53 53 54 54 def getInterfaces(self): 55 return implementedBy( SkeletonCustomer)55 return implementedBy(UnibenCustomer)
Note: See TracChangeset for help on using the changeset viewer.