Interface AttributeProcessor
- All Superinterfaces:
BusinessObject,BusinessProcessor
- All Known Implementing Classes:
BasicAttributeProcessor
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
Modifier and TypeMethodDescriptionaddAttribute(Map parameters) voiddeleteAttribute(Map parameters) editAttribute(Map parameters) editDeleteAttributes(Map parameters) loadAttributeFromCode(Map describe) loadAttributeFromID(Map parameters) loadAttributesAndCount(Map parameters) intMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initializeMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Method Details
-
loadAllAttributes
- Throws:
Exception
-
loadAttributesAndCount
- Throws:
Exception
-
addAttribute
- Throws:
Exception
-
loadAttributeFromID
- Throws:
Exception
-
editAttribute
- Throws:
Exception
-
editDeleteAttributes
- Throws:
Exception
-
deleteAttribute
- Throws:
Exception
-
loadMaxAttributeID
- Throws:
Exception
-
loadAttributeFromCode
- Throws:
Exception
-