ConfigureSalesForceAppsCompleteViewBean.java revision 606e603520edfb17c81957d2b2d27e8d66ab5807
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008 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: ConfigureSalesForceAppsCompleteViewBean.java,v 1.3 2009/07/28 17:45:40 babysunil Exp $
*
*/
/**
* Portions Copyrighted 2013 ForgeRock Inc.
*/
/**
* Create register product UI.
*/
public class ConfigureSalesForceAppsCompleteViewBean
extends AMPrimaryMastHeadViewBean {
public static final String DEFAULT_DISPLAY_URL =
private AMPropertySheetModel psModel;
private CCPageTitleModel ptModel;
private static final String PGTITLE_ONE_BTNS =
"pgtitleOneBtns";
private boolean initialized;
/**
* Creates a salesforce complete view bean.
*/
public ConfigureSalesForceAppsCompleteViewBean() {
super("ConfigureSalesForceAppsComplete");
}
protected void initialize() {
if (!initialized) {
initialized = true;
super.initialize();
}
super.registerChildren();
}
protected void registerChildren() {
super.registerChildren();
psModel.registerChildren(this);
ptModel.registerChildren(this);
}
} else {
}
return view;
}
throws ModelControlException {
try {
super.beginDisplay(event);
"configure.salesforce.apps.complete.urllist");
msg += "<li>";
msg += "</li>";
msg += "</ul>";
} catch (AMConsoleException ex) {
Logger.getLogger(ConfigureSalesForceAppsCompleteViewBean.class.getName()).log(Level.SEVERE, null, ex);
ex.getMessage());
}
}
private void createPageTitleModel() {
ptModel = new CCPageTitleModel(
}
protected AMModel getModelInternal() {
}
private void createPropertyModel() {
psModel = new AMPropertySheetModel(
"configure.salesforce.apps.complete.certificate.download");
}
/**
* Handles finish button request.
*
* @param event Request invocation event
*/
throws ModelControlException {
try {
backTrail();
}
} catch (AMConsoleException e) {
e.getMessage());
}
}
/**
* Handles Verification Certificate download button request.
* Sends Verification Certificate to the ServletResponse output stream.
* @param event Request invocation event
*/
throws ModelControlException {
try {
int length = 0;
// Set the response
// Stream to the requester.
}
} catch (IOException ex) {
"configure.salesforce.apps.complete.certificate.download.error",
ex.getMessage());
} finally {
try {
} catch (IOException ex) {
"configure.SalesForce.apps.complete.certificate.download.error",
ex.getMessage());
}
}
}
}
}
return set;
}
}