com.softslate.commerce.businessobjects.product
Interface AttributeProcessor

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

public interface AttributeProcessor
extends BusinessProcessor

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

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

The default "attributeProcessorImplementer" is AttributeProcessor.

Author:
David Tobey

Method Summary
 void addAttribute(java.util.Map parameters)
           
 void deleteAttribute(java.util.Map parameters)
           
 void editAttribute(java.util.Map parameters)
           
 void editDeleteAttributes(java.util.Map parameters)
           
 java.util.Collection loadAllAttributes()
           
 Attribute loadAttributeFromID(java.util.Map parameters)
           
 java.util.Map loadAttributesAndCount(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

loadAllAttributes

java.util.Collection loadAllAttributes()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

loadAttributesAndCount

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

addAttribute

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

loadAttributeFromID

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

editAttribute

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

editDeleteAttributes

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

deleteAttribute

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


Copyright ? SoftSlate, LLC 2003?2005