/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: UMUserPasswordResetOptionsViewBean.java,v 1.4 2008/09/22 20:17:37 veiming Exp $
*
*/
public class UMUserPasswordResetOptionsViewBean
extends RMRealmViewBeanBase
{
"tblDataPersonalQuestion";
"pwdResetTiledView";
private boolean tblModelPopulated = false;
public UMUserPasswordResetOptionsViewBean() {
super("UMUserPasswordResetOptions");
}
private void createPageTitleModel() {
ptModel = new CCPageTitleModel(
}
protected void registerChildren() {
super.registerChildren();
ptModel.registerChildren(this);
tblModel.registerChildren(this);
}
} else {
}
return view;
}
throws ModelControlException {
super.beginDisplay(event);
if (!tblModelPopulated) {
getQuestions();
}
}
return model.isRealmAdmin();
}
boolean display = false;
}
return display;
}
return new UMUserPasswordResetOptionsModelImpl(
}
private void createTableModel() {
tblModel = new CCActionTableModel(
"table.user.password.reset.name.column.question");
"table.user.password.reset.name.column.answer");
}
private void getQuestions() {
try {
} catch (AMConsoleException e) {
e.getMessage());
}
}
private void populateTableModelEx() {
if (!tblModelPopulated) {
tblModelPopulated = true;
}
}
}
int i
) {
return (UMUserPasswordResetOptionsData)
}
boolean firstEntry = true;
if (firstEntry) {
firstEntry = false;
} else {
}
if (data.isPersonalQuestion()) {
} else {
}
}
}
}
/**
* Handles reset request.
*
* @param event Request invocation event.
*/
tblModelPopulated = false;
forwardTo();
}
/**
* Handles save password options request.
*
* @param event Request invocation event.
* @throws ModelControlException if action table model state cannot be
* restored.
*/
throws ModelControlException
{
try {
} catch (AMConsoleException e) {
e.getMessage());
}
forwardTo();
}
/**
* Handles close browser window request.
*
* @param event Request invocation event.
*/
CloseWindowViewBean.class);
}
for (int i = 0; i <sz; i++) {
tblModel.setRowIndex(i);
if (data.isPersonalQuestion()) {
}
}
return optionData;
}
}