org.benow.web.security
Interface ModuleHandler


public interface ModuleHandler

A Handler for SecurityPage UserModule modification requests. IE when the user requests a modification to their email within the MailUserModule, the user module that can handle MailUserModule (via getHandled()) is used to handle the edit request (via handleCommit(User,QueryParameter,ObjectRepositoryConnection,Transaction).

Author:
andy

Method Summary
 java.lang.Class<?> getHandled()
           
 void handleCommit(org.benow.security.user.UserModule module, QueryParams params, org.benow.repository.ObjectRepositoryConnection conn, org.benow.repository.Transaction tx)
          Handles an edit of a user instance of this class.
 

Method Detail

getHandled

java.lang.Class<?> getHandled()
Returns:
the UserModule class that this ModuleHandler handles

handleCommit

void handleCommit(org.benow.security.user.UserModule module,
                  QueryParams params,
                  org.benow.repository.ObjectRepositoryConnection conn,
                  org.benow.repository.Transaction tx)
                  throws WebException,
                         org.benow.repository.ObjectRepositoryException
Handles an edit of a user instance of this class.

Parameters:
module -
params -
conn -
tx -
Throws:
WebException
org.benow.repository.ObjectRepositoryException