Subversion Repositories SmartDukaan

Rev

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

Rev 24838 Rev 25380
Line 60... Line 60...
60
	public ProductPojo getShortContent(String name) {
60
	public ProductPojo getShortContent(String name) {
61
		ContentPojo cp=null;
61
		ContentPojo cp=null;
62
		ProductPojo pp = null;
62
		ProductPojo pp = null;
63
		
63
		
64
		try {
64
		try {
65
			cp = gs.fromJson(mongoClient.getEntityByName(name).toString(), ContentPojo.class);
65
			cp = mongoClient.getEntityByName(name);
66
		} catch (Exception e) {
66
		} catch (Exception e) {
67
			e.printStackTrace();
67
			e.printStackTrace();
68
			return null;
68
			return null;
69
		}
69
		}
70
		try {
70
		try {