Search in sources :

Example 1 with AMModelBase

use of com.sun.identity.console.base.model.AMModelBase in project OpenAM by OpenRock.

the class FileUploaderViewBean method getModelInternal.

protected AMModel getModelInternal() {
    RequestContext rc = RequestManager.getRequestContext();
    HttpServletRequest req = rc.getRequest();
    return new AMModelBase(req, getPageSessionAttributes());
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) AMModelBase(com.sun.identity.console.base.model.AMModelBase) RequestContext(com.iplanet.jato.RequestContext)

Example 2 with AMModelBase

use of com.sun.identity.console.base.model.AMModelBase in project OpenAM by OpenRock.

the class ScriptUploaderViewBean method getModelInternal.

/**
     * {@inheritDoc}
     */
@Override
protected AMModel getModelInternal() {
    RequestContext rc = RequestManager.getRequestContext();
    HttpServletRequest req = rc.getRequest();
    return new AMModelBase(req, getPageSessionAttributes());
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) AMModelBase(com.sun.identity.console.base.model.AMModelBase) RequestContext(com.iplanet.jato.RequestContext)

Example 3 with AMModelBase

use of com.sun.identity.console.base.model.AMModelBase in project OpenAM by OpenRock.

the class ScriptsViewBean method getModelInternal.

@Override
protected AMModel getModelInternal() {
    RequestContext rc = RequestManager.getRequestContext();
    HttpServletRequest req = rc.getRequest();
    return new AMModelBase(req, getPageSessionAttributes());
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) AMModelBase(com.sun.identity.console.base.model.AMModelBase) RequestContext(com.iplanet.jato.RequestContext)

Aggregations

RequestContext (com.iplanet.jato.RequestContext)3 AMModelBase (com.sun.identity.console.base.model.AMModelBase)3 HttpServletRequest (javax.servlet.http.HttpServletRequest)3