/** * Clears the wrong old password error.<p> */ void clearOldPasswordError() { m_form.setErrorOldPassword(null, null); }
/** * Gets the OU.<p> * * @return the OU */ public String getOrgUnit() { return m_ouSelect.getValue(); }
/** * Toggles visibility of 'advanced' options.<p> */ public void toggleOptionsVisible() { setOptionsVisible(!m_optionsVisible); }
/** * Gets the subject for the report mail.<p> * * @param locale the locale * * @return the localized text */ public static String getReportSubject(Locale locale) { return getMessage("inactiveusers.report.subject", locale); }
/** * Gets the password.<p> * * @return the password */ public String getPassword() { return m_loginForm.getPassword(); }
/** * Sets the org units which should be selectable by the user.<p> * * @param ous the selectable org units */ public void setSelectableOrgUnits(List<CmsOrganizationalUnit> ous) { m_loginForm.setSelectableOrgUnits(ous); }
/** * Shows the given login error message.<p> * * @param messageHtml the message HTML */ public void showLoginError(String messageHtml) { m_loginForm.displayError(messageHtml); }
/** * Creates a new instance.<p> * * @param ui the UI to extend */ public CmsLoginTargetOpener(UI ui) { extend(ui); }
/** * Creates a new instance.<p> */ public CmsLoginPasswordField() { super(); setWidth("100%"); } }
/** * Executes the logout.<p> */ void logout() { CmsLoginController.logout(); }
/** * Creates a new instance.<p> */ public CmsLoginUserField() { super(); setWidth("100%"); }
/** * Gets the selected PC type.<p> * * @return the PC type */ public String getPcType() { String result = m_loginForm.getPcType(); if (result == null) { result = CmsLoginForm.PC_TYPE_PUBLIC; } return result; }
/** * Creates a new instance.<p> * * @param cms the CMS context * @param user the user * @param locale the locale */ public CmsSetPasswordDialog(final CmsObject cms, CmsUser user, Locale locale) { super(cms, user, locale); // hide the old password field, it's not required m_form.hideOldPassword(); }
/** * Gets the user name.<p> * * @return the user name */ public String getUser() { return m_loginForm.getUser(); }
@Override protected void ok() { submit(); } });
/** * Displays some additional text.<p> * * @param text the text to display */ public void setAdditionalMessage(String text) { m_form.setAdditionalText(text); }
/** * Selects a specific org unit.<p> * * @param preselectedOu the OU to select */ public void selectOrgUnit(String preselectedOu) { m_ouSelect.setValue(preselectedOu); }
/** * Sets the org units available for selection.<p> * * @param ous the ous */ public void setSelectableOrgUnits(List<CmsOrganizationalUnit> ous) { m_ouSelect.initOrgUnits(ous); }
public void buttonClick(ClickEvent event) { close(); } });
/** * Gets the header text for the report mail.<p> * * @param locale the locale * @return the localized text */ public static String getReportHeader(Locale locale) { return getMessage("inactiveusers.report.header", locale); }