use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class WSPPServiceSupportedContainerViewBeanBase method createPropertyModel.
protected void createPropertyModel() {
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertyWSPersonalProfileSupportedContainers.xml"));
propertySheetModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class WSPPServiceSupportedContainerEditViewBean method createPropertyModel.
protected void createPropertyModel() {
DelegationConfig dConfig = DelegationConfig.getInstance();
boolean canModify = dConfig.hasPermission("/", null, AMAdminConstants.PERMISSION_MODIFY, getRequestContext().getRequest(), getClass().getName());
String xmlFile = (canModify) ? "com/sun/identity/console/propertyWSPersonalProfileSupportedContainers.xml" : "com/sun/identity/console/propertyWSPersonalProfileSupportedContainers_Readonly.xml";
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream(xmlFile));
propertySheetModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class ServicesSelectViewBean method createPropertyModel.
private void createPropertyModel() {
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertyRMServicesSelect.xml"));
propertySheetModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class G11NCharsetAliasViewBeanBase method createPropertyModel.
protected void createPropertyModel() {
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertyG11NCharsetAlias.xml"));
propertySheetModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class G11NSupportedCharsetsEditViewBean method createPropertyModel.
protected void createPropertyModel() {
DelegationConfig dConfig = DelegationConfig.getInstance();
boolean canModify = dConfig.hasPermission("/", null, AMAdminConstants.PERMISSION_MODIFY, getRequestContext().getRequest(), getClass().getName());
String xmlFile = (canModify) ? "com/sun/identity/console/propertyG11NSupportedCharsets.xml" : "com/sun/identity/console/propertyG11NSupportedCharsets_Readonly.xml";
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream(xmlFile));
propertySheetModel.clear();
}
Aggregations