|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.control.LyController
leon.control.LyAreaController
leon.control.LyUserInputController
leon.control.LyPasswordController
public class LyPasswordController
This class implements a user input dialog/window to change the user password. This controller is associated with a behavior that implements LyPasswordBehaviorInterface. Usually, the behavior is an instance of LyPasswordBehavior class.
LyPasswordBehavior
,
LyPasswordBehaviorInterface
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File Version |
static java.lang.String |
PARAM_CONFIRM_PASSWORD
Confirm Password. |
static java.lang.String |
PARAM_CURRENT_PASSWORD
Current Password (for validation). |
static java.lang.String |
PARAM_NEW_PASSWORD
New Password. |
Fields inherited from class leon.control.LyAreaController |
---|
DEFAULT_MENU_ITEM_IMAGE_SIZE, DEMAND_APPLY, DEMAND_CANCEL, DEMAND_CLOSE, DEMAND_CREATE_CHART, DEMAND_DELETE_CHART, DEMAND_DELETE_OBJECTINFOS, DEMAND_DELETE_PREFERENCE, DEMAND_UPDATE_VIEW, DEMAND_VALIDATE |
Fields inherited from class leon.control.LyController |
---|
_nbControllers, _nextId, CONTROLLER_ID_SEP, DEFAULT_IMAGE_FORMAT, DEMAND_HELP, ID_SEP |
Constructor Summary | |
---|---|
LyPasswordController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList objects)
Default constructor. |
Method Summary | |
---|---|
boolean |
allowEmptyPassword()
Getter for the allow empty password value. |
boolean |
checkPassword(LyParameterValues values)
Checks the values submitted in the password and return true if everything is valid. |
java.lang.Class<?> |
getBehaviorInterface()
Method that gives the interface that must be implemented by the behavior associated to this controller. |
LyFieldInfo |
getPasswordFieldInfo()
Accessor to password fieldInfo. |
LyObject |
getUser()
Accessor to the user to modify password. |
LyClassInfo |
getUserClassInfo()
Accessor to User classInfo. |
void |
invokeNextActions()
Proceed to next actions after a password (password should be valid at that point). |
void |
setPasswordFieldInfo(LyFieldInfo passwordFieldInfo)
Accessor to password fieldInfo. |
void |
setUserClassInfo(LyClassInfo userClassInfo)
Accessor to User classInfo. |
Methods inherited from class leon.control.LyUserInputController |
---|
actionDemand, addBoolean, addBoolean, addChoice, addChoice, addDate, addDate, addFile, addFile, addLabel, addLabel, addList, addList, addNumber, addNumber, addRelation, addRelation, addText, addText, addText, getClassInfo, getComponent, getFormComponent, getImage, getInputId, getTitleBar, getViewController, isDialog, isViewResizable, reset, setBehavior, setBuilder, setDialog, setImage, setInputId, setTitleBar |
Methods inherited from class leon.control.LyController |
---|
activateViewDemand, demandPerformed, dragDropDemand, getApplication, getClassInfo, getId, getImage, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getName, getObjectId, getSession, getUserData, getView, getViewManager, helpDemand, hideView, isFreed, isIdle, selectionDemand, setBuilderClass, setLastModified, setName, setUserData, showError, showError, showWarning, updateViewFromValues |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static java.lang.String PARAM_CURRENT_PASSWORD
public static java.lang.String PARAM_NEW_PASSWORD
public static java.lang.String PARAM_CONFIRM_PASSWORD
Constructor Detail |
---|
public LyPasswordController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, LyObjectList objects)
session
- current session associated to the controller. The controller automatically
registers on the specified session.parent
- parent controller (or null for 'root' controller).action
- action associated to the password. (parameters of view)classInfo
- related classInfoobjects
- current contextMethod Detail |
---|
public java.lang.Class<?> getBehaviorInterface()
getBehaviorInterface
in class LyUserInputController
public boolean checkPassword(LyParameterValues values)
values
- submitted values.
public void invokeNextActions()
public LyObject getUser()
public LyClassInfo getUserClassInfo()
public LyFieldInfo getPasswordFieldInfo()
public void setUserClassInfo(LyClassInfo userClassInfo)
userClassInfo
- User classInfopublic void setPasswordFieldInfo(LyFieldInfo passwordFieldInfo)
passwordFieldInfo
- password fieldInfopublic boolean allowEmptyPassword()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |