use of com.sun.identity.console.service.model.SubConfigModelImpl in project OpenAM by OpenRock.
the class SubConfigAddViewBean method getModelInternal.
protected AMModel getModelInternal() {
AMModel model = null;
HttpServletRequest req = RequestManager.getRequestContext().getRequest();
String serviceName = (String) getPageSessionAttribute(AMServiceProfile.SERVICE_NAME);
List parentIds = (List) getPageSessionAttribute(AMServiceProfile.PG_SESSION_SUB_CONFIG_IDS);
String parentId = AMAdminUtils.getString(parentIds, "/", true);
try {
model = new SubConfigModelImpl(req, serviceName, parentId, getPageSessionAttributes());
} catch (AMConsoleException e) {
debug.error("SubConfigAddViewBean.getModelInternal", e);
}
return model;
}
use of com.sun.identity.console.service.model.SubConfigModelImpl in project OpenAM by OpenRock.
the class SubSchemaTypeSelectViewBean method getModelInternal.
protected AMModel getModelInternal() {
AMModel model = null;
HttpServletRequest req = RequestManager.getRequestContext().getRequest();
try {
model = new SubConfigModelImpl(req, serviceName, parentId, getPageSessionAttributes());
} catch (AMConsoleException e) {
debug.error("SubSchemaTypeSelectViewBean.getModelInternal", e);
}
return model;
}
use of com.sun.identity.console.service.model.SubConfigModelImpl in project OpenAM by OpenRock.
the class SubConfigEditViewBean method getModelInternal.
protected AMModel getModelInternal() {
AMModel model = null;
HttpServletRequest req = RequestManager.getRequestContext().getRequest();
String serviceName = (String) getPageSessionAttribute(AMServiceProfile.SERVICE_NAME);
String parentId = getParentId();
try {
model = new SubConfigModelImpl(req, serviceName, parentId, getPageSessionAttributes());
} catch (AMConsoleException e) {
//
}
return model;
}
Aggregations