Search in sources :

Example 1 with SMDescriptionData

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);
}
Also used : SMDiscoEntryData(com.sun.identity.console.service.model.SMDiscoEntryData) SMDescriptionData(com.sun.identity.console.service.model.SMDescriptionData)

Example 2 with SMDescriptionData

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);
    }
}
Also used : SMDescriptionData(com.sun.identity.console.service.model.SMDescriptionData)

Example 3 with SMDescriptionData

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);
    }
}
Also used : SMDescriptionData(com.sun.identity.console.service.model.SMDescriptionData)

Example 4 with SMDescriptionData

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);
    }
}
Also used : SMDescriptionData(com.sun.identity.console.service.model.SMDescriptionData)

Example 5 with SMDescriptionData

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();
    }
}
Also used : SMDescriptionData(com.sun.identity.console.service.model.SMDescriptionData) AMConsoleException(com.sun.identity.console.base.model.AMConsoleException)

Aggregations

SMDescriptionData (com.sun.identity.console.service.model.SMDescriptionData)13 SMDiscoEntryData (com.sun.identity.console.service.model.SMDiscoEntryData)6 AMConsoleException (com.sun.identity.console.base.model.AMConsoleException)2 Iterator (java.util.Iterator)2 DiscoveryDataCache (com.sun.identity.console.service.model.DiscoveryDataCache)1 SMDiscoveryServiceData (com.sun.identity.console.service.model.SMDiscoveryServiceData)1 CCActionTableModel (com.sun.web.ui.model.CCActionTableModel)1 CCAddRemoveModel (com.sun.web.ui.model.CCAddRemoveModel)1 CCAddRemove (com.sun.web.ui.view.addremove.CCAddRemove)1 ArrayList (java.util.ArrayList)1 HashSet (java.util.HashSet)1 List (java.util.List)1 Set (java.util.Set)1