LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.app.behaviorinterface
Interface LyPasswordBehaviorInterface

All Superinterfaces:
LyActionBehaviorInterface, LyBehaviorInterface
All Known Implementing Classes:
LyPasswordBehavior

public interface LyPasswordBehaviorInterface
extends LyActionBehaviorInterface

This interface defines the method to implement in order to manage a view that allows a password modification.

See Also:
LyPasswordController

Field Summary
static java.lang.String __VERSION
          File version
 
Method Summary
 boolean changePassword(LyPasswordController passwordController, java.lang.String currentPassword, java.lang.String newPassword, java.lang.String confirmPassword, LyParameterValues values)
          Method invoked to change the given current password with the given new password value.
 void completeInitializePassword(LyPasswordController passwordController)
          Complete password initialization with default values or extra fields adding for input.
 void initializePassword(LyPasswordController passwordController)
          Password initialization of the manipulated classInfo and passwordFieldInfo.
 
Methods inherited from interface leon.app.behaviorinterface.LyActionBehaviorInterface
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction
 
Methods inherited from interface leon.app.behaviorinterface.LyBehaviorInterface
free, handleDemand, init
 

Field Detail

__VERSION

static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Method Detail

initializePassword

void initializePassword(LyPasswordController passwordController)
Password initialization of the manipulated classInfo and passwordFieldInfo.

Parameters:
passwordController - current controller

completeInitializePassword

void completeInitializePassword(LyPasswordController passwordController)
Complete password initialization with default values or extra fields adding for input.

Parameters:
passwordController - current controller

changePassword

boolean changePassword(LyPasswordController passwordController,
                       java.lang.String currentPassword,
                       java.lang.String newPassword,
                       java.lang.String confirmPassword,
                       LyParameterValues values)
Method invoked to change the given current password with the given new password value. Specific implementation may add extra rules here.

Parameters:
passwordController - current controller
currentPassword - current password for validation.
newPassword - new password value typed in by the user
confirmPassword - confirm password request: should equals newPassword
values - user input values of the current, new and confirmed passwords
Returns:
true if action completed successfully, false if password is unchanged

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com