com.softslate.commerce.businessobjects.administrator
Class BasicRoleProcessor

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
          extended by 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
           
 
Constructor Summary
BasicRoleProcessor()
           
 
Method Summary
 void addRole(java.util.Map parameters)
           
 void deleteRole(java.util.Map parameters)
           
 void editDeleteRoles(java.util.Map parameters)
           
 void editRole(java.util.Map parameters)
           
 Role loadRoleFromID(java.util.Map parameters)
           
 java.util.Map loadRolesAndCount(java.util.Map parameters)
           
 
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, 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
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

BasicRoleProcessor

public BasicRoleProcessor()
Method Detail

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 2003?2005