com.softslate.commerce.businessobjects.order
Class BasicCountryProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
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
|
| 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, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, updateOrderTotals, updateOrderTotals, 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 |
log
static org.apache.commons.logging.Log log
BasicCountryProcessor
public BasicCountryProcessor()
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 java.util.Map 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 java.util.Map 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 20032010