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

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 loadActiveAttributes()
           
 java.util.Collection loadAllAttributes()
           
 java.util.Map loadAttributeFromID(java.util.Map parameters)
           
 java.util.Collection loadAttributeOptions(java.util.Map parameters)
           
 java.util.Map loadAttributesAndCount(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

loadAllAttributes

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

loadActiveAttributes

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

loadAttributesAndCount

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

addAttribute

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

loadAttributeFromID

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

editAttribute

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

editDeleteAttributes

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

loadAttributeOptions

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

deleteAttribute

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


Copyright © SoftSlate, Inc. 2003–2005