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 npcSetting database table.

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.Collection loadActiveCountries()
           
 java.util.Map loadCountriesAndCount(java.util.Map parameters)
           
 java.util.Map loadCountryFromID(java.util.Map parameters)
           
 
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
 

Method Detail

loadActiveCountries

public java.util.Collection loadActiveCountries()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

loadCountriesAndCount

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

addCountry

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

loadCountryFromID

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

editCountry

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

editDeleteCountries

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

deleteCountry

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


Copyright © SoftSlate, Inc. 2003–2005