Subversion Repositories SmartDukaan

Rev

Rev 8077 | Rev 8268 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8077 Rev 8262
Line 91... Line 91...
91
		// }
91
		// }
92
		//
92
		//
93
		ContentMigrator contentmigrator = new ContentMigrator(sourceDbPath,destinationDbPath);
93
		ContentMigrator contentmigrator = new ContentMigrator(sourceDbPath,destinationDbPath);
94
		/*List<Long> entityId = Arrays.asList(1001674l,1002575l,1005331l,1005165l,1005164l,1005111l,1005109l,1004952l,1004940l,1004871l,1004701l,1004429l,1004197l,1006174l,1006077l,1005901l,1005757l,1005754l,1005724l,1005704l,1005598l,1005576l,1005558l,1007394l,1007230l,1007226l,1007218l,1007089l,1006925l,1006822l,1006814l,1006175l);
94
		/*List<Long> entityId = Arrays.asList(1001674l,1002575l,1005331l,1005165l,1005164l,1005111l,1005109l,1004952l,1004940l,1004871l,1004701l,1004429l,1004197l,1006174l,1006077l,1005901l,1005757l,1005754l,1005724l,1005704l,1005598l,1005576l,1005558l,1007394l,1007230l,1007226l,1007218l,1007089l,1006925l,1006822l,1006814l,1006175l);
95
		for (Long eId : entityId){
95
		for (Long eId : entityId){
96
			contentmigrator.touchEntityState(eId);
-
 
97
		}*/
96
		}*/
98
		contentmigrator.reorderPhones();
97
		//contentmigrator.reorderPhones();
99
		//System.out.println(contentmigrator.getItems().size());
98
		//System.out.println(contentmigrator.getItems().size());
-
 
99
		contentmigrator.touchEntityState(1008423l);
-
 
100
		contentmigrator.touchEntityState(1008424l);
-
 
101
		contentmigrator.touchEntityState(1008427l);
-
 
102
		contentmigrator.touchEntityState(1008428l);
100
 
103
 
101
	}
104
	}
102
	
105
	
103
	private void updateSources() throws Exception{
106
	private void updateSources() throws Exception{
104
		Map<Long,List<ExpertReview>> erMap = CreationUtils.getExpertReviews();
107
		Map<Long,List<ExpertReview>> erMap = CreationUtils.getExpertReviews();