use of org.akaza.openclinica.domain.datamap.VersioningMapId in project OpenClinica by OpenClinica.
the class XformMetaDataService method createVersioningMap.
private void createVersioningMap(CrfVersion crfVersion, Item item, FormLayout formLayout, int itemOrderInForm) {
VersioningMapId versioningMapId = new VersioningMapId();
versioningMapId.setCrfVersionId(crfVersion.getCrfVersionId());
versioningMapId.setItemId(item.getItemId());
versioningMapId.setFormLayoutId(formLayout.getFormLayoutId());
versioningMapId.setItemOrderInForm(itemOrderInForm);
VersioningMap versioningMap = new VersioningMap();
versioningMap.setVersionMapId(versioningMapId);
versioningMapDao.saveOrUpdate(versioningMap);
}
Aggregations