use of com.developmentontheedge.be5.metadata.serialization.ProjectFileSystem in project be5 by DevelopmentOnTheEdge.
the class YamlDeserializer method reloadEntity.
public Entity reloadEntity(final Entity oldEntity) throws ReadException {
this.fileSystem = new ProjectFileSystem(oldEntity.getProject());
this.setProject(oldEntity.getProject());
final Entity entity = this.readEntity(oldEntity.getModule(), oldEntity.getName());
if (oldEntity.getPrototype() != null) {
@SuppressWarnings("unchecked") final BeModelCollection<BeModelElement> prototype = (BeModelCollection<BeModelElement>) oldEntity.getPrototype();
entity.merge(prototype, true, true);
}
EntitiesFactory.addToModule(entity, oldEntity.getModule());
return entity;
}
use of com.developmentontheedge.be5.metadata.serialization.ProjectFileSystem in project be5 by DevelopmentOnTheEdge.
the class YamlSerializer method serialize.
public void serialize(final PageCustomizations customizations) throws WriteException {
this.fileSystem = new ProjectFileSystem(customizations.getProject());
new CustomizationSerializer().serialize(customizations.getModule());
}
use of com.developmentontheedge.be5.metadata.serialization.ProjectFileSystem in project be5 by DevelopmentOnTheEdge.
the class YamlSerializer method serialize.
public void serialize(final Daemons daemons) throws WriteException {
this.fileSystem = new ProjectFileSystem(daemons.getProject());
new DaemonsSerializer().serialize(daemons);
}
use of com.developmentontheedge.be5.metadata.serialization.ProjectFileSystem in project be5 by DevelopmentOnTheEdge.
the class YamlSerializer method serialize.
public void serialize(final SecurityCollection security) throws WriteException {
this.fileSystem = new ProjectFileSystem(security.getProject());
new SecuritySerializer().serialize(security);
}
use of com.developmentontheedge.be5.metadata.serialization.ProjectFileSystem in project be5 by DevelopmentOnTheEdge.
the class YamlSerializer method serialize.
public void serialize(final MassChanges massChanges) throws WriteException {
this.fileSystem = new ProjectFileSystem(massChanges.getProject());
new MassChangesSerializer().serialize(massChanges);
}
Aggregations