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