com.softslate.commerce.businessobjects.order
Class BasicCountryProcessor

java.lang.Object
  extended bycom.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended bycom.softslate.commerce.businessobjects.core.BaseBusinessProcessor
          extended bycom.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
           
 
Fields inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
 
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.Collection loadActiveCountries()
           
 java.util.Map loadCountriesAndCount(java.util.Map parameters)
           
 java.util.Map loadCountryFromID(java.util.Map parameters)
           
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatPrice, getBusinessObjectFactory, getDaoFactory, getSettingsBean, getUser, initialize, setBusinessObjectFactory, setDaoFactory, setSettingsBean, setUser
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
formatDateTime, parseDateTime, prepareRequestData, sendHTTPPost
 
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
getBusinessObjectFactory, getDaoFactory, getSettingsBean, getUser, setBusinessObjectFactory, setDaoFactory, setSettingsBean, setUser
 
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

loadActiveCountries

public java.util.Collection loadActiveCountries()
                                         throws java.lang.Exception
Specified by:
loadActiveCountries in interface CountryProcessor
Throws:
java.lang.Exception

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 java.util.Map 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, Inc. 2003–2005