/**
* 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: WSPersonalProfileServiceViewBean.java,v 1.2 2008/06/25 05:49:50 qcheng Exp $
*
*/
public class WSPersonalProfileServiceViewBean
extends AMServiceProfileViewBeanBase
{
"tblSupportedContainerColName";
"tblSupportedContainerDataName";
"tblSupportedContainerDataType";
"tblSupportedContainerHrefAction";
"tblSupportedContainerLabelAction";
"tblSupportedContainerButtonAdd";
"tblSupportedContainerButtonDelete";
"tblDSAttributeMapListColName";
"tblDSAttributeMapListColMap";
"tblDSAttributeMapListDataName";
"tblDSAttributeMapListDataMap";
"tblDSAttributeMapListHrefAction";
"tblDSAttributeMapListLabelAction";
"tblDSAttributeMapListButtonAdd";
"tblDSAttributeMapListButtonDelete";
private boolean tablePopulated = false;
/**
* Creates a personal profile service profile view bean.
*/
public WSPersonalProfileServiceViewBean() {
super("WSPersonalProfileService", DEFAULT_DISPLAY_URL,
"sunIdentityServerLibertyPPService");
}
if (!tablePopulated) {
}
return super.createChild(name);
}
protected void createPropertyModel() {
super.createPropertyModel();
}
private void createSupportedContainerTableModel() {
"webservices.personal.profile.table.supportedContainers.name");
"webservices.personal.profile.table.supportedContainers.add.button");
"webservices.personal.profile.table.supportedContainers.delete.button");
tblModel);
}
private void createDSAttributeMapListTableModel() {
"webservices.personal.profile.table.dsAttributeMapList.name");
"webservices.personal.profile.table.dsAttributeMapList.map");
"webservices.personal.profile.table.dsAttributeMapList.add.button");
"webservices.personal.profile.table.dsAttributeMapList.delete.button");
tblModel);
}
try {
return new WSPersonalProfileServiceModelImpl(
} catch (AMConsoleException e) {
e.getMessage());
}
return null;
}
protected void createPageTitleModel() {
}
private void prePopulateTable() {
if (attributeValues != null) {
}
}
if (attributeValues != null) {
if (supportedContainers == null) {
}
} else {
}
if (supportedContainers != null) {
}
}
if (attributeValues != null) {
if (mappingList == null) {
}
} else {
}
if (mappingList != null) {
}
}
throws ModelControlException {
super.beginDisplay(event);
if (!tablePopulated) {
if (!isSubmitCycle()) {
}
}
}
}
tablePopulated = true;
boolean firstEntry = true;
int counter = 0;
if (!firstEntry) {
} else {
firstEntry = false;
}
while (st.hasMoreTokens()) {
if (idx != -1) {
}
}
}
counter++;
}
}
tablePopulated = true;
boolean firstEntry = true;
int counter = 0;
if (!firstEntry) {
} else {
firstEntry = false;
}
if (idx != -1) {
"webservices.personal.profile.table.dsAttributeMapList.action.edit.label");
}
counter++;
}
}
}
}
return true;
}
protected void onBeforeResetProfile() {
tablePopulated = false;
}
/**
* Handles remove supported container request.
*
* @param event Request Invocation Event.
*/
public void handleTblSupportedContainerButtonDeleteRequest(
) throws ModelControlException {
setSubmitCycle(true);
}
forwardTo();
}
/**
* Handles add supported container request.
*
* @param event Request Invocation Event.
*/
public void handleTblSupportedContainerButtonAddRequest(
) throws ModelControlException {
try {
} catch (AMConsoleException e) {
e.getMessage());
forwardTo();
}
}
/**
* Handles edit supported container request.
*
* @param event Request Invocation Event.
*/
public void handleTblSupportedContainerHrefActionRequest(
) throws ModelControlException {
try {
"tblSupportedContainerHrefAction"));
} catch (AMConsoleException e) {
e.getMessage());
forwardTo();
}
}
/**
* Handles remove LDAP Attribute Mapping request.
*
* @param event Request Invocation Event.
*/
public void handleTblDSAttributeMapListButtonDeleteRequest(
) throws ModelControlException {
setSubmitCycle(true);
}
forwardTo();
}
/**
* Handles add LDAP Attribute Mapping request.
*
* @param event Request Invocation Event.
*/
public void handleTblDSAttributeMapListButtonAddRequest(
) throws ModelControlException {
try {
} catch (AMConsoleException e) {
e.getMessage());
forwardTo();
}
}
/**
* Handles edit LDAP Attribute Mapping request.
*
* @param event Request Invocation Event.
*/
public void handleTblDSAttributeMapListHrefActionRequest(
) throws ModelControlException {
try {
"tblDSAttributeMapListHrefAction"));
} catch (AMConsoleException e) {
e.getMessage());
forwardTo();
}
}
return "breadcrumbs.webservices.personalprofile";
}
}