Interface AdministratorProcessor
- All Superinterfaces:
BusinessObject
- All Known Implementing Classes:
BasicAdministratorProcessor
Interface for business logic methods having to do with administrators.
Created in the Struts layer in response to requests for viewing, editing,
adding, and deleting administrators.
When the application needs to create an instance that implements
AdministratorProcessor
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"administratorProcessorImplementer" setting in the
appComponents.properties
file.
The default "administratorProcessorImplementer" is
BasicAdministratorProcessor
.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionaddAdministrator
(Map parameters) void
administratorChangePassword
(String newDecryptedPassword, Administrator administrator) void
deleteAdministrator
(Map parameters) editAdministrator
(Map parameters) editDeleteAdministrators
(Map parameters) loadAdministratorFromID
(Map parameters) loadAdministratorsAndCount
(Map parameters) processApiLogin
(String apiLoginID, String apiAuthenticationToken) processChangePassword
(String password, String newDecryptedPassword, String userName) processLogin
(Map parameters) Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Method Details
-
processLogin
- Throws:
Exception
-
processApiLogin
- Throws:
Exception
-
loadAdministratorsAndCount
- Throws:
Exception
-
addAdministrator
- Throws:
Exception
-
loadAdministratorFromID
- Throws:
Exception
-
editAdministrator
- Throws:
Exception
-
editDeleteAdministrators
- Throws:
Exception
-
deleteAdministrator
- Throws:
Exception
-
administratorChangePassword
void administratorChangePassword(String newDecryptedPassword, Administrator administrator) throws Exception - Throws:
Exception
-
processChangePassword
Map processChangePassword(String password, String newDecryptedPassword, String userName) throws Exception - Throws:
Exception
-