ccc.commands
Class UpdatePasswordAction

java.lang.Object
  extended by ccc.commands.UpdatePasswordAction

public class UpdatePasswordAction
extends java.lang.Object

Command: update a user's password..

Author:
Civic Computing Ltd.

Constructor Summary
UpdatePasswordAction(IRepositoryFactory repoFactory)
          Constructor.
 
Method Summary
 void execute(UserEntity actor, java.util.Date happenedOn, java.util.UUID userId, java.lang.String password)
          Update a user's password.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdatePasswordAction

public UpdatePasswordAction(IRepositoryFactory repoFactory)
Constructor.

Parameters:
repoFactory - The repository factory for this command.
Method Detail

execute

public void execute(UserEntity actor,
                    java.util.Date happenedOn,
                    java.util.UUID userId,
                    java.lang.String password)
Update a user's password.

Parameters:
userId - The user's id.
password - The new password.
actor - The user who performed the command.
happenedOn - When the command was performed.


Copyright © 2010. All Rights Reserved.