Search in sources :

Example 1 with WSPersonalProfileServiceModelImpl

use of com.sun.identity.console.webservices.model.WSPersonalProfileServiceModelImpl in project OpenAM by OpenRock.

the class WSPPServiceDSAttributeMapListViewBeanBase method getModelInternal.

protected AMModel getModelInternal() {
    AMModel model = null;
    HttpServletRequest req = RequestManager.getRequestContext().getRequest();
    try {
        model = new WSPersonalProfileServiceModelImpl(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) WSPersonalProfileServiceModelImpl(com.sun.identity.console.webservices.model.WSPersonalProfileServiceModelImpl) AMConsoleException(com.sun.identity.console.base.model.AMConsoleException)

Example 2 with WSPersonalProfileServiceModelImpl

use of com.sun.identity.console.webservices.model.WSPersonalProfileServiceModelImpl in project OpenAM by OpenRock.

the class WSPPServiceSupportedContainerViewBeanBase method getModelInternal.

protected AMModel getModelInternal() {
    AMModel model = null;
    HttpServletRequest req = RequestManager.getRequestContext().getRequest();
    try {
        model = new WSPersonalProfileServiceModelImpl(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) WSPersonalProfileServiceModelImpl(com.sun.identity.console.webservices.model.WSPersonalProfileServiceModelImpl) AMConsoleException(com.sun.identity.console.base.model.AMConsoleException)

Aggregations

AMConsoleException (com.sun.identity.console.base.model.AMConsoleException)2 AMModel (com.sun.identity.console.base.model.AMModel)2 WSPersonalProfileServiceModelImpl (com.sun.identity.console.webservices.model.WSPersonalProfileServiceModelImpl)2 HttpServletRequest (javax.servlet.http.HttpServletRequest)2