public class UserProfileDialog
extends org.zkoss.zk.ui.util.GenericForwardComposer
Modifier and Type | Field and Description |
---|---|
static String |
ARG_EVENT_CHILD_HANDLER
The
EventChildHandler used to process events. |
static String |
ARG_OK_EVENT_LISTENER
Listener called when user clicked OK.
|
static String |
ARG_PASSWORD_EXPIRED_MODE
Force the user to change password, disables other settings.
|
Constructor and Description |
---|
UserProfileDialog() |
Modifier and Type | Method and Description |
---|---|
void |
doAfterCompose(org.zkoss.zk.ui.Component comp) |
Boolean |
getIsPresent()
Gets the presence-property.
|
boolean |
getPasswordChangeDisabled()
Checks if changing the password is disabled.
|
String |
getPasswordConstraint()
Gets the password constraint.
|
boolean |
getSubstituteAccessEnabled() |
boolean |
isPasswordChanged() |
boolean |
isPresenceChanged() |
boolean |
isPresenceDisabled()
Returns a boolean value that tells you whether the the workflow feature is enabled or not.
|
boolean |
isSubstituteAccessChanged() |
boolean |
isSubstituteChanged() |
void |
onChanging$upd_currentPassword() |
void |
onChanging$upd_newPassword() |
void |
onChanging$upd_repeatNewPassword(org.zkoss.zk.ui.event.InputEvent event)
OnChanging handler for repeat-new-password box.
|
void |
onCheck$upd_presenceCheckbox(org.zkoss.zk.ui.event.CheckEvent event)
OnCheck handler for presence checkbox.
|
void |
onCheck$upd_substituteAccessCheckbox(org.zkoss.zk.ui.event.CheckEvent event) |
void |
onClick$upd_cancelButton()
OnClick handler for cancel-button.
|
void |
onClick$upd_okButton()
A click on the okay button starts validating all input fields If an error occurs
during field validation the window stays open and shows the error messages next
to the erroneous input fields.
|
void |
onClick$upd_selectSubstituteButton(org.zkoss.zk.ui.event.Event event)
Display the User Selection dialogue.
|
void |
setIsPresent(boolean isPresent)
Sets the presence-property.
|
void |
setPasswordChanged(boolean passwordChanged) |
void |
setPasswordChangeDisabled(boolean disabled)
Sets if changing the password is disabled.
|
void |
setPasswordConstraint(String constraint)
Sets the password constraint.
|
void |
setPresenceChanged(boolean presenceChanged) |
void |
setSubstituteAccessChanged(boolean substituteAccessChanged) |
void |
setSubstituteAccessEnabled(boolean substituteAccessEnabled) |
void |
setSubstituteChanged(boolean substituteChanged) |
static void |
show(org.zkoss.zk.ui.Component parent,
Map<String,Object> args)
Shows the dialog.
|
alert, didActivate, getPage, willClone
doBeforeCompose, doBeforeComposeChildren, doCatch, doFinally, willPassivate
bindComponent, getController, onEvent, unbindComponent
public static final String ARG_EVENT_CHILD_HANDLER
EventChildHandler
used to process events.public static final String ARG_PASSWORD_EXPIRED_MODE
public static final String ARG_OK_EVENT_LISTENER
public static void show(org.zkoss.zk.ui.Component parent, Map<String,Object> args)
parent
- parent component for the dialog (usually the root component)args
- argumentspublic void doAfterCompose(org.zkoss.zk.ui.Component comp) throws Exception
doAfterCompose
in interface org.zkoss.zk.ui.util.Composer
doAfterCompose
in class org.zkoss.zk.ui.util.GenericForwardComposer
Exception
GenericForwardComposer.doAfterCompose(org.zkoss.zk.ui.Component)
public void onClick$upd_okButton()
public void onClick$upd_cancelButton()
public void onChanging$upd_repeatNewPassword(org.zkoss.zk.ui.event.InputEvent event)
event
- the eventpublic void onChanging$upd_newPassword()
public void onChanging$upd_currentPassword()
public void onCheck$upd_substituteAccessCheckbox(org.zkoss.zk.ui.event.CheckEvent event)
public void onClick$upd_selectSubstituteButton(org.zkoss.zk.ui.event.Event event)
event
- Event that is thrown onClick to the select substitute button.public void onCheck$upd_presenceCheckbox(org.zkoss.zk.ui.event.CheckEvent event)
event
- the eventpublic Boolean getIsPresent()
public void setIsPresent(boolean isPresent)
isPresent
- if user is present or notpublic String getPasswordConstraint()
public void setPasswordConstraint(String constraint)
constraint
- the new password constraintpublic void setPasswordChangeDisabled(boolean disabled)
disabled
- if changing the password is disabled or notpublic boolean getPasswordChangeDisabled()
public boolean isPresenceDisabled()
public void setSubstituteAccessEnabled(boolean substituteAccessEnabled)
public boolean getSubstituteAccessEnabled()
public boolean isSubstituteAccessChanged()
public void setSubstituteAccessChanged(boolean substituteAccessChanged)
public boolean isSubstituteChanged()
public void setSubstituteChanged(boolean substituteChanged)
public boolean isPresenceChanged()
public void setPresenceChanged(boolean presenceChanged)
public boolean isPasswordChanged()
public void setPasswordChanged(boolean passwordChanged)
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.