private View createSnapshotView(){
View contractView = viewRepository.getView(Contract.class, "_local");
contractView.addProperty("contragent", viewRepository.getView(Contragent.class, "_local")
.addProperty("wasteGenerationProjects", viewRepository.getView(WasteGenerationProject.class, "_local")));
View cpView = viewRepository.getView(ContractPosition.class, "_local");
View cpcyView = viewRepository.getView(ContractPositionContainerYard.class, "_local");
cpcyView.addProperty("contragentRealEstate", viewRepository.getView(ContragentRealEstate.class, "_local"));
cpcyView.addProperty("containerYard", viewRepository.getView(ContainerYard.class, "containerYard-edit")
.addProperty("containers", viewRepository.getView(ContainerWaste.class, "_local")
.addProperty("type", viewRepository.getView(ContainerType.class, "_local"))));
cpView.addProperty("containerYards", cpcyView);
View creView = viewRepository.getView(ContragentRealEstate.class, "_local");
creView.addProperty("contragent", viewRepository.getView(Contragent.class, "_local"));
creView.addProperty("realEstate", viewRepository.getView(RealEstate.class, "_local"));
creView.addProperty("wasteGenerationProjects", viewRepository.getView(WasteGenerationProject.class, "_minimal"));
cpView.addProperty("contragentRealEstate", creView);
cpView.addProperty("category", viewRepository.getView(RealEstateCategory.class, "_local"));
cpView.addProperty("accruals", viewRepository.getView(Accrual.class, "_local"));
cpView.addProperty("unit", viewRepository.getView(Unit.class, "_local"));
cpView.addProperty("wasteProject", viewRepository.getView(WasteGenerationProject.class, "_minimal")
.addProperty("realEstates", viewRepository.getView(ContragentRealEstate.class, "_minimal")));
contractView.addProperty("positions", cpView);
View contractView2 = viewRepository.getView(Contract.class, "_local")
.addProperty("contragent", viewRepository.getView(Contragent.class, "_local"))
.addProperty("positions", viewRepository.getView(ContractPosition.class, "_local")
.addProperty("category", viewRepository.getView(RealEstateCategory.class, "_local"))
.addProperty("accruals", viewRepository.getView(Accrual.class, "_local"))
.addProperty("unit", viewRepository.getView(Unit.class, "_local"))
.addProperty("wasteProject", viewRepository.getView(WasteGenerationProject.class, "_minimal")
.addProperty("realEstates", viewRepository.getView(ContragentRealEstate.class, "_minimal")))
.addProperty("contragentRealEstate", viewRepository.getView(ContragentRealEstate.class, "_local")
.addProperty("contragent", viewRepository.getView(Contragent.class, "_local"))
.addProperty("realEstate", viewRepository.getView(RealEstate.class, "_local"))
.addProperty("wasteGenerationProjects", viewRepository.getView(WasteGenerationProject.class, "_minimal")))
.addProperty("containerYards", viewRepository.getView(ContractPositionContainerYard.class, "_local")
.addProperty("contragentRealEstate", viewRepository.getView(ContragentRealEstate.class, "_local"))
.addProperty("containerYard", viewRepository.getView(ContainerYard.class, "containerYard-edit")
.addProperty("containers", viewRepository.getView(ContainerWaste.class, "_local")
.addProperty("type", viewRepository.getView(ContainerType.class, "_local"))))));
return contractView2;
}