com.softslate.commerce.businessobjects.order
Interface StateProcessor

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

public interface StateProcessor
extends BusinessProcessor

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

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

The default "stateProcessorImplementer" is StateProcessor.

Author:
David Tobey

Method Summary
 java.util.Map addState(java.util.Map parameters)
           
 void deleteState(java.util.Map parameters)
           
 void editDeleteStates(java.util.Map parameters)
           
 java.util.Map editState(java.util.Map parameters)
           
 State loadStateFromID(java.util.Map parameters)
           
 java.util.Map loadStatesAndCount(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

loadStatesAndCount

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

addState

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

loadStateFromID

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

editState

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

editDeleteStates

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

deleteState

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


Copyright © SoftSlate, LLC 2003–2005