com.softslate.commerce.businessobjects.order
Class BasicStateProcessor

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
          extended by com.softslate.commerce.businessobjects.order.BasicStateProcessor
All Implemented Interfaces:
BusinessObject, BusinessProcessor, StateProcessor

public class BasicStateProcessor
extends BaseBusinessProcessor
implements StateProcessor

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

BasicStateProcessor is the default implementation of the StateProcessor interface for the application.

Author:
David Tobey

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
BasicStateProcessor()
           
 
Method Summary
 void addState(java.util.Map parameters)
           
 void deleteState(java.util.Map parameters)
           
 void editDeleteStates(java.util.Map parameters)
           
 void editState(java.util.Map parameters)
           
 State loadStateFromID(java.util.Map parameters)
           
 java.util.Map loadStatesAndCount(java.util.Map parameters)
           
 
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, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, 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
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

BasicStateProcessor

public BasicStateProcessor()
Method Detail

loadStatesAndCount

public java.util.Map loadStatesAndCount(java.util.Map parameters)
                                 throws java.lang.Exception
Specified by:
loadStatesAndCount in interface StateProcessor
Throws:
java.lang.Exception

addState

public void addState(java.util.Map parameters)
              throws java.lang.Exception
Specified by:
addState in interface StateProcessor
Throws:
java.lang.Exception

loadStateFromID

public State loadStateFromID(java.util.Map parameters)
                      throws java.lang.Exception
Specified by:
loadStateFromID in interface StateProcessor
Throws:
java.lang.Exception

editState

public void editState(java.util.Map parameters)
               throws java.lang.Exception
Specified by:
editState in interface StateProcessor
Throws:
java.lang.Exception

editDeleteStates

public void editDeleteStates(java.util.Map parameters)
                      throws java.lang.Exception
Specified by:
editDeleteStates in interface StateProcessor
Throws:
java.lang.Exception

deleteState

public void deleteState(java.util.Map parameters)
                 throws java.lang.Exception
Specified by:
deleteState in interface StateProcessor
Throws:
java.lang.Exception


Copyright ? SoftSlate, LLC 2003?2005