use of com.developmentontheedge.be5.metadata.serialization.yaml.YamlDeserializer in project be5 by DevelopmentOnTheEdge.
the class Serialization method reloadMassChanges.
public static MassChanges reloadMassChanges(final Path file, final Module application) throws ReadException {
checkProject(application.getProject());
turnOffAutomaticSerialization();
try {
return new YamlDeserializer(new LoadContext()).reloadMassChanges(file, application);
} finally {
turnOnAutomaticSerialization();
}
}
use of com.developmentontheedge.be5.metadata.serialization.yaml.YamlDeserializer 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.serialization.yaml.YamlDeserializer in project be5 by DevelopmentOnTheEdge.
the class Serialization method reloadConnectionProfiles.
public static BeConnectionProfiles reloadConnectionProfiles(final Path file, final BeConnectionProfileType type, final BeConnectionProfilesRoot target) throws ReadException {
checkProject(target.getProject());
turnOffAutomaticSerialization();
try {
return new YamlDeserializer(new LoadContext()).reloadConnectionProfiles(file, type, target);
} finally {
turnOnAutomaticSerialization();
}
}
use of com.developmentontheedge.be5.metadata.serialization.yaml.YamlDeserializer in project be5 by DevelopmentOnTheEdge.
the class Serialization method reloadSecurity.
public static SecurityCollection reloadSecurity(final Path file, final Project project) throws ReadException {
checkProject(project);
turnOffAutomaticSerialization();
try {
return new YamlDeserializer(new LoadContext()).reloadSecurityCollection(file, project);
} finally {
turnOnAutomaticSerialization();
}
}
use of com.developmentontheedge.be5.metadata.serialization.yaml.YamlDeserializer in project be5 by DevelopmentOnTheEdge.
the class Serialization method reloadLocalization.
public static LanguageLocalizations reloadLocalization(final Path file, final Localizations localizations) throws ReadException {
checkProject(localizations.getProject());
turnOffAutomaticSerialization();
try {
return new YamlDeserializer(new LoadContext()).reloadLocalization(file, localizations);
} finally {
turnOnAutomaticSerialization();
}
}
Aggregations