Business Objects

The business objects are the core of the West Wind Web Store and this section demonstrates and documents the base business object framework as well as the application specific business objects that handle all of the applications business logic.

There is more info on the Business Object Base Classes that describes the wwBusiness class that the following classes are all based on.

ClassDescription
  busAdministration Utility business object used for administrative or non business object specific tasks
  busCustomer The customer business object contains all information about address and contact info as well as some minimal tracking information. This object is also used for the customer's profile information which is mapped directly via a cookie id or via custom logins.
  busInvoice The invoice class is the topmost class in the Web store application around which most of the others are centered.
  busInvoice_WestWind West Wind Specific subclass of the Invoice object
  busItem The busItem class controls the inventory in the Web Store application. It provides features for the online store in accessing items and showing list of items as well as providing limited stock updat functionality.
  busItemUpsell Class used to describe related items or upsell items for inventory items. It's a companion class to the busItem class.
  busLineItem The LineItem class used to hold and manipulate the Invoice lineitems. This class provides an interface both to a single LineItem as well as a group of lineitems which is represented by the Details table (wws_lineitems_LIST).
  busLookups A utility class that provides for various system lookup tables.
  busPhoneBook The customer business object contains all information about address and contact info as well as some minimal tracking information. This object is also used for the customer's profile information which is mapped directly via a cookie id or via custom logins.
  busShippingAddress Shipping address container. Shipping addresses are kept here to pass optional shipping address information between the customer and invoice forms.
  busTLineItem The Temporary LineItem class used to hold temporary lineitems. This class behaves only slightly different than the lineitems class - it includes a few extra fields that deal with timeouts of the temporary lineitems.
  InvoiceEntity Overridden to handle Customer and LineItem child objects as a fully represented Entity.
  InvoiceSearch A very simple container class that exists purely to pass invoice search parameters around. The fields of this class are essentially parameter values for the
  ShippingInfo Value container used for shipping calculations. This class is meant to allow the front end code to pass shipping options to the business object. The Invoice object then utilizes the data stored in this object to calculate shipping rates for the invoice in combination with the LineItems of the invoice.
  VendorConfirmation Class used to generate a confirmation for vendors. Message contains base text plus an XML string that can be used to dynamically parse information.
  WebStoreFactory This class serves as a Class Factory for the business object classes to allow a single point of providing a class. This allows easy specification of custom subclasses of the business objects to be used.



 Last Updated: 1/16/2008 | Send topic feedback