/**
* 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: AgentConfigInheritViewBean.java,v 1.8 2008/08/08 17:34:45 veiming Exp $
*
*/
/*
* Portions Copyrighted 2011 ForgeRock AS
*/
/**
* Servers and Sites Management main page.
*/
public class AgentConfigInheritViewBean
extends AMPrimaryMastHeadViewBean
{
private boolean submitCycle;
/**
* Creates a agent configurtion inheritance setting view bean.
*/
public AgentConfigInheritViewBean() {
super("AgentConfigInherit");
}
protected void initialize() {
if (!initialized) {
if (universalId != null) {
super.initialize();
initialized = true;
}
}
}
protected void registerChildren() {
super.registerChildren();
ptModel.registerChildren(this);
}
SZ_CACHE);
} else {
}
return view;
}
private void createPageTitleModel() {
ptModel = new CCPageTitleModel(
}
/**
* Displays servers and sites information.
*
* @param event Display Event.
* @throws ModelControlException if unable to initialize model.
*/
throws ModelControlException
{
super.beginDisplay(event);
}
}
private void createTableModel() {
"table.inherit.property.name.column.name");
"table.inherit.property.name.column.value");
}
try {
model.getUserLocale());
int counter = 0;
counter++) {
if (counter > 0) {
}
name);
try {
".help");
} catch (MissingResourceException e) {
// need to clear the help value
TBL_DATA_PROPERTY_HELP, "");
}
}
}
}
}
} catch (AMConsoleException e) {
e.getMessage());
} catch (SMSException e) {
e.getMessage());
} catch (SSOException e) {
e.getMessage());
}
}
}
/**
* Handles reset request.
*
* @param event Request invocation event
*/
forwardTo();
}
/**
* Handles save profile request.
*
* @param event Request invocation event
*/
throws ModelControlException {
submitCycle = true;
}
}
try {
"agentcfg.inheritance.updated");
} catch (AMConsoleException e) {
e.getMessage());
}
forwardTo();
}
/**
* Handles return to server configuration page request.
*
* @param event Request invocation event
*/
throws ModelControlException
{
try {
} catch (ClassNotFoundException e) {
e.getMessage());
}
}
return getBackButtonLabel("page.title.agent.config");
}
private void removeNonInheritable(
) {
// Fix for OPENAM-440
i.remove();
break;
}
}
}
return (String)getPageSessionAttribute(
}
}