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
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCountry(Map parameters) voiddeleteCountry(Map parameters) editCountry(Map parameters) editDeleteCountries(Map parameters) loadCountriesAndCount(Map parameters) loadCountryFromID(Map parameters) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utilsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initializeMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
BasicCountryProcessor
public BasicCountryProcessor()
-
-
Method Details
-
loadCountriesAndCount
- Specified by:
loadCountriesAndCountin interfaceCountryProcessor- Throws:
Exception
-
addCountry
- Specified by:
addCountryin interfaceCountryProcessor- Throws:
Exception
-
loadCountryFromID
- Specified by:
loadCountryFromIDin interfaceCountryProcessor- Throws:
Exception
-
editCountry
- Specified by:
editCountryin interfaceCountryProcessor- Throws:
Exception
-
editDeleteCountries
- Specified by:
editDeleteCountriesin interfaceCountryProcessor- Throws:
Exception
-
deleteCountry
- Specified by:
deleteCountryin interfaceCountryProcessor- Throws:
Exception
-