Subversion Repositories SmartDukaan

Rev

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

Rev 22925 Rev 24838
Line 22... Line 22...
22
		ContentPojo cp=null;
22
		ContentPojo cp=null;
23
		ProductPojo pp = null;
23
		ProductPojo pp = null;
24
		try {
24
		try {
25
			cp = gs.fromJson(mongoClient.getEntityById(entityId).toString(), ContentPojo.class);
25
			cp = gs.fromJson(mongoClient.getEntityById(entityId).toString(), ContentPojo.class);
26
		} catch (Exception e) {
26
		} catch (Exception e) {
27
			e.printStackTrace();
27
			//e.printStackTrace();
28
			return null;
28
			return null;
29
		}
29
		}
30
		try {
30
		try {
31
			pp = new ProductPojo();
31
			pp = new ProductPojo();
32
			pp.setId(entityId);
32
			pp.setId(entityId);