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