use of org.obiba.mica.web.controller.domain.DataAccessConfigBundle in project mica2 by obiba.
the class DataAccessController method addDataAccessFormConfiguration.
private void addDataAccessFormConfiguration(Map<String, Object> params, DataAccessRequest request, boolean readOnly, String locale) {
DataAccessForm dataAccessForm = getDataAccessForm(request);
params.put("formConfig", new SchemaFormConfig(micaConfigService, dataAccessForm.getSchema(), dataAccessForm.getDefinition(), request.getContent(), locale, readOnly));
params.put("accessConfig", new DataAccessConfigBundle(dataAccessConfigervice.getOrCreateConfig(), dataAccessForm));
}
Aggregations