Subversion Repositories SmartDukaan

Rev

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

Rev 2436 Rev 3294
Line 47... Line 47...
47
		this.id = id;
47
		this.id = id;
48
	}
48
	}
49
	
49
	
50
	public String getDefinition(){
50
	public String getDefinition(){
51
		String definition = "";
51
		String definition = "";
-
 
52
		if(id == null){
-
 
53
			return definition;
-
 
54
		}
52
		try{
55
		try{
53
			definition = FileUtils.read(Utils.EXPORT_ENTITIES_PATH + "../../../ROOT/helpdocs/" + id);
56
			definition = FileUtils.read(Utils.EXPORT_ENTITIES_PATH + "../../../ROOT/helpdocs/" + id);
54
		}catch (Exception e) {
57
		}catch (Exception e) {
55
			logger.error("Unable to read helpdocs file for term " + id, e);
58
			logger.error("Unable to read helpdocs file for term " + id, e);
56
		}
59
		}