com.softslate.commerce.businessobjects.administrator
Interface RoleProcessor

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

public interface RoleProcessor
extends BusinessProcessor

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

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

The default "roleProcessorImplementer" is RoleProcessor.

Author:
David Tobey

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 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

loadRolesAndCount

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

addRole

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

loadRoleFromID

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

editRole

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

editDeleteRoles

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

deleteRole

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


Copyright ? SoftSlate, LLC 2003?2005