예제 #1
0
        public static void templateChild(FormInstance dm, System.String prefixPath, TreeReference parent, Restorable r)
        {
            TreeReference childRef = (prefixPath == null ? parent : RestoreUtils.childRef(prefixPath, parent));

            childRef = org.javarosa.core.model.util.restorable.RestoreUtils.childRef(r.RestorableType, childRef);

            templateData(r, dm, childRef);
        }
예제 #2
0
        public static void exportRMS(FormInstance parent, System.Type type, System.String grouperName, IStorageUtility storage, IRecordFilter filter)
        {
            FormInstance entities = RestoreUtils.exportRMS(storage, type, grouperName, filter);

            RestoreUtils.mergeDataModel(parent, entities, ".");
        }