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

The default "stateProcessorImplementer" is StateProcessor.

Author:
David Tobey

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)
           
 java.util.Collection loadActiveStates()
           
 java.util.Map loadStateFromID(java.util.Map parameters)
           
 java.util.Map loadStatesAndCount(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

loadActiveStates

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

loadStatesAndCount

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

addState

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

loadStateFromID

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

editState

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

editDeleteStates

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

deleteState

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


Copyright © SoftSlate, Inc. 2003–2005