com.softslate.commerce.businessobjects.order
Interface CountryProcessor

All Superinterfaces:
BusinessObject, BusinessProcessor
All Known Implementing Classes:
BasicCountryProcessor

public interface CountryProcessor
extends BusinessProcessor

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

When the application needs to create an instance that implements CountryProcessor, BusinessObjectFactory finds the name of the Java class to instantiate from the "countryProcessorImplementer" setting in the appComponents.properties file.

The default "countryProcessorImplementer" is CountryProcessor.

Author:
David Tobey

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 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
 

Method Detail

loadCountriesAndCount

java.util.Map loadCountriesAndCount(java.util.Map parameters)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

addCountry

void addCountry(java.util.Map parameters)
                throws java.lang.Exception
Throws:
java.lang.Exception

loadCountryFromID

Country loadCountryFromID(java.util.Map parameters)
                          throws java.lang.Exception
Throws:
java.lang.Exception

editCountry

void editCountry(java.util.Map parameters)
                 throws java.lang.Exception
Throws:
java.lang.Exception

editDeleteCountries

void editDeleteCountries(java.util.Map parameters)
                         throws java.lang.Exception
Throws:
java.lang.Exception

deleteCountry

void deleteCountry(java.util.Map parameters)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright ? SoftSlate, LLC 2003?2005