Search in sources :

Example 1 with SMDiscoveryServiceModelImpl

use of com.sun.identity.console.service.model.SMDiscoveryServiceModelImpl in project OpenAM by OpenRock.

the class SMDiscoveryDescriptionViewBeanBase method getModelInternal.

protected AMModel getModelInternal() {
    AMModel model = null;
    HttpServletRequest req = RequestManager.getRequestContext().getRequest();
    try {
        model = new SMDiscoveryServiceModelImpl(req, getPageSessionAttributes());
    } catch (AMConsoleException e) {
        setInlineAlertMessage(CCAlert.TYPE_ERROR, "message.error", e.getMessage());
    }
    return model;
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) AMModel(com.sun.identity.console.base.model.AMModel) SMDiscoveryServiceModelImpl(com.sun.identity.console.service.model.SMDiscoveryServiceModelImpl) AMConsoleException(com.sun.identity.console.base.model.AMConsoleException)

Example 2 with SMDiscoveryServiceModelImpl

use of com.sun.identity.console.service.model.SMDiscoveryServiceModelImpl in project OpenAM by OpenRock.

the class SMDiscoveryBootstrapRefOffViewBeanBase method getModelInternal.

protected AMModel getModelInternal() {
    AMModel model = null;
    HttpServletRequest req = RequestManager.getRequestContext().getRequest();
    try {
        model = new SMDiscoveryServiceModelImpl(req, getPageSessionAttributes());
    } catch (AMConsoleException e) {
        setInlineAlertMessage(CCAlert.TYPE_ERROR, "message.error", e.getMessage());
    }
    return model;
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) AMModel(com.sun.identity.console.base.model.AMModel) SMDiscoveryServiceModelImpl(com.sun.identity.console.service.model.SMDiscoveryServiceModelImpl) AMConsoleException(com.sun.identity.console.base.model.AMConsoleException)

Example 3 with SMDiscoveryServiceModelImpl

use of com.sun.identity.console.service.model.SMDiscoveryServiceModelImpl in project OpenAM by OpenRock.

the class SMDiscoveryProviderResourceIdMapperViewBeanBase method getModelInternal.

protected AMModel getModelInternal() {
    AMModel model = null;
    HttpServletRequest req = RequestManager.getRequestContext().getRequest();
    try {
        model = new SMDiscoveryServiceModelImpl(req, getPageSessionAttributes());
    } catch (AMConsoleException e) {
        setInlineAlertMessage(CCAlert.TYPE_ERROR, "message.error", e.getMessage());
    }
    return model;
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) AMModel(com.sun.identity.console.base.model.AMModel) SMDiscoveryServiceModelImpl(com.sun.identity.console.service.model.SMDiscoveryServiceModelImpl) AMConsoleException(com.sun.identity.console.base.model.AMConsoleException)

Aggregations

AMConsoleException (com.sun.identity.console.base.model.AMConsoleException)3 AMModel (com.sun.identity.console.base.model.AMModel)3 SMDiscoveryServiceModelImpl (com.sun.identity.console.service.model.SMDiscoveryServiceModelImpl)3 HttpServletRequest (javax.servlet.http.HttpServletRequest)3