com.softslate.commerce.businessobjects.administrator
Class BasicRoleProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.administrator.BasicRoleProcessor
- All Implemented Interfaces:
- RoleProcessor, BusinessObject, BusinessProcessor
public class BasicRoleProcessor
- extends BaseBusinessProcessor
- implements RoleProcessor
Processes business logic having to do with roles. Created in the Struts layer
in response to requests for viewing, editing, adding, and deleting roles.
BasicRoleProcessor is the default implementation of the
RoleProcessor interface for the application.
- Author:
- David Tobey
|
Field Summary |
(package private) static org.apache.commons.logging.Log |
log
|
| Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor |
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getProductIDs, getSettings, getUser, initialize, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, updateOrderTotals, updateOrderTotals, utils |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor |
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils |
log
static org.apache.commons.logging.Log log
BasicRoleProcessor
public BasicRoleProcessor()
loadRolesAndCount
public java.util.Map loadRolesAndCount(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
loadRolesAndCount in interface RoleProcessor
- Throws:
java.lang.Exception
addRole
public void addRole(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
addRole in interface RoleProcessor
- Throws:
java.lang.Exception
loadRoleFromID
public Role loadRoleFromID(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
loadRoleFromID in interface RoleProcessor
- Throws:
java.lang.Exception
editRole
public void editRole(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
editRole in interface RoleProcessor
- Throws:
java.lang.Exception
editDeleteRoles
public void editDeleteRoles(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
editDeleteRoles in interface RoleProcessor
- Throws:
java.lang.Exception
deleteRole
public void deleteRole(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
deleteRole in interface RoleProcessor
- Throws:
java.lang.Exception
Copyright © SoftSlate, LLC 20032005