use of com.developmentontheedge.be5.metadata.model.JavaScriptForms in project be5 by DevelopmentOnTheEdge.
the class Serialization method reloadForms.
public static JavaScriptForms reloadForms(final Path file, final Module target) throws ReadException {
checkProject(target.getProject());
turnOffAutomaticSerialization();
try {
return new YamlDeserializer(new LoadContext()).reloadForms(file, target);
} finally {
turnOnAutomaticSerialization();
}
}
use of com.developmentontheedge.be5.metadata.model.JavaScriptForms in project be5 by DevelopmentOnTheEdge.
the class YamlDeserializer method reloadForms.
public JavaScriptForms reloadForms(final Path path, final Module target) throws ReadException {
final JavaScriptForms forms = new JavaScriptForms(target);
final FormsDeserializer deserializer = new FormsDeserializer(path, forms);
deserializer.deserialize();
DataElementUtils.saveQuiet(forms);
return forms;
}
use of com.developmentontheedge.be5.metadata.model.JavaScriptForms in project be5 by DevelopmentOnTheEdge.
the class YamlSerializer method serialize.
public void serialize(final JavaScriptForms forms) throws WriteException {
this.fileSystem = new ProjectFileSystem(forms.getProject());
new FormsSerializer().serialize(forms);
}
Aggregations