com.softslate.commerce.businessobjects.order
Class BasicCountryProcessor

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
          extended by com.softslate.commerce.businessobjects.order.BasicCountryProcessor
All Implemented Interfaces:
BusinessObject, BusinessProcessor, CountryProcessor

public class BasicCountryProcessor
extends BaseBusinessProcessor
implements CountryProcessor

Processes business logic having to do with countries. Created in the Struts layer in response to requests for viewing, editing, adding, and deleting countries.

BasicCountryProcessor is the default implementation of the CountryProcessor interface for the application.

Author:
David Tobey

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
BasicCountryProcessor()
           
 
Method Summary
 void addCountry(java.util.Map parameters)
           
 void deleteCountry(java.util.Map parameters)
           
 void editCountry(java.util.Map parameters)
           
 void editDeleteCountries(java.util.Map parameters)
           
 java.util.Map loadCountriesAndCount(java.util.Map parameters)
           
 Country loadCountryFromID(java.util.Map parameters)
           
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getProductIDs, getSettings, getUser, initialize, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

BasicCountryProcessor

public BasicCountryProcessor()
Method Detail

loadCountriesAndCount

public java.util.Map loadCountriesAndCount(java.util.Map parameters)
                                    throws java.lang.Exception
Specified by:
loadCountriesAndCount in interface CountryProcessor
Throws:
java.lang.Exception

addCountry

public void addCountry(java.util.Map parameters)
                throws java.lang.Exception
Specified by:
addCountry in interface CountryProcessor
Throws:
java.lang.Exception

loadCountryFromID

public Country loadCountryFromID(java.util.Map parameters)
                          throws java.lang.Exception
Specified by:
loadCountryFromID in interface CountryProcessor
Throws:
java.lang.Exception

editCountry

public void editCountry(java.util.Map parameters)
                 throws java.lang.Exception
Specified by:
editCountry in interface CountryProcessor
Throws:
java.lang.Exception

editDeleteCountries

public void editDeleteCountries(java.util.Map parameters)
                         throws java.lang.Exception
Specified by:
editDeleteCountries in interface CountryProcessor
Throws:
java.lang.Exception

deleteCountry

public void deleteCountry(java.util.Map parameters)
                   throws java.lang.Exception
Specified by:
deleteCountry in interface CountryProcessor
Throws:
java.lang.Exception


Copyright ? SoftSlate, LLC 2003?2005