use of com.sun.identity.console.service.model.SMDescriptionData in project OpenAM by OpenRock.
the class UMUserDiscoveryDescriptionEditViewBean method getCurrentData.
protected SMDescriptionData getCurrentData() {
int currentIdx = Integer.parseInt((String) getPageSessionAttribute(PGATTR_INDEX));
SMDiscoEntryData data = (SMDiscoEntryData) getPageSessionAttribute(PG_SESSION_DISCO_ENTRY_DATA);
return (SMDescriptionData) data.descData.get(currentIdx);
}
use of com.sun.identity.console.service.model.SMDescriptionData in project OpenAM by OpenRock.
the class UMUserDiscoveryDescriptionEditViewBean method beginDisplay.
public void beginDisplay(DisplayEvent event) throws ModelControlException {
super.beginDisplay(event);
if (populateValues) {
SMDescriptionData data = getCurrentData();
setValues(data);
}
}
use of com.sun.identity.console.service.model.SMDescriptionData in project OpenAM by OpenRock.
the class EntityDiscoveryDescriptionEditViewBean method beginDisplay.
public void beginDisplay(DisplayEvent event) throws ModelControlException {
super.beginDisplay(event);
if (populateValues) {
SMDescriptionData data = getCurrentData();
setValues(data);
}
}
use of com.sun.identity.console.service.model.SMDescriptionData in project OpenAM by OpenRock.
the class RealmDiscoveryDescriptionEditViewBean method beginDisplay.
public void beginDisplay(DisplayEvent event) throws ModelControlException {
super.beginDisplay(event);
if (populateValues) {
SMDescriptionData data = getCurrentData();
setValues(data);
}
}
use of com.sun.identity.console.service.model.SMDescriptionData in project OpenAM by OpenRock.
the class SMDiscoveryDescriptionViewBeanBase method handleButton1Request.
public void handleButton1Request(RequestInvocationEvent event) throws ModelControlException {
try {
SMDescriptionData smData = getValues();
handleButton1Request(smData);
} catch (AMConsoleException e) {
setInlineAlertMessage(CCAlert.TYPE_ERROR, "message.error", e.getMessage());
forwardTo();
}
}
Aggregations