Subversion Repositories SmartDukaan

Rev

Rev 198 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 198 Rev 200
Line 615... Line 615...
615
		return newPrevSlideDefinitionID;
615
		return newPrevSlideDefinitionID;
616
	}
616
	}
617
 
617
 
618
	/**
618
	/**
619
	 * 
619
	 * 
-
 
620
	 * @param featureDefinitionID
-
 
621
	 * @return
-
 
622
	 * @throws Exception
-
 
623
	 */
-
 
624
	public String getLearnedValuesString(long featureDefinitionID) 
-
 
625
			throws Exception {
-
 
626
		EntityContainer ents = this.getEntityContainer();
-
 
627
		List<ExpandedBullet> learnedBullets = 
-
 
628
			ents.getLearnedBullets(featureDefinitionID);
-
 
629
		
-
 
630
		List<String> learnedValues = new ArrayList<String>();
-
 
631
		for(ExpandedBullet expBullet : learnedBullets) {
-
 
632
			learnedValues.add(expBullet.getValue());
-
 
633
		}
-
 
634
		
-
 
635
		return "\"" + StringUtils.join(learnedValues, "\", \"") + "\"";
-
 
636
	}
-
 
637
 
-
 
638
	/**
-
 
639
	 * 
620
	 * @param aThrowable
640
	 * @param aThrowable
621
	 * @return
641
	 * @return
622
	 */
642
	 */
623
	private String getStackTrace(Throwable aThrowable) {
643
	private String getStackTrace(Throwable aThrowable) {
624
	    final Writer result = new StringWriter();
644
	    final Writer result = new StringWriter();