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

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)
           
 java.util.Collection loadActiveRoles()
           
 java.util.Map loadRoleFromID(java.util.Map parameters)
           
 java.util.Map loadRolesAndCount(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

loadActiveRoles

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

loadRolesAndCount

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

addRole

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

loadRoleFromID

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

editRole

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

editDeleteRoles

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

deleteRole

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


Copyright © SoftSlate, Inc. 2003–2005