| Line 484... |
Line 484... |
| 484 |
|
484 |
|
| 485 |
|
485 |
|
| 486 |
String title = StringEscapeUtils.escapeXml(expEntity.getBrand()) + " " + StringEscapeUtils.escapeXml(expEntity.getModelName()) +
|
486 |
String title = StringEscapeUtils.escapeXml(expEntity.getBrand()) + " " + StringEscapeUtils.escapeXml(expEntity.getModelName()) +
|
| 487 |
((expEntity.getModelNumber() != null) ? (" " + StringEscapeUtils.escapeXml(expEntity.getModelNumber())): "");
|
487 |
((expEntity.getModelNumber() != null) ? (" " + StringEscapeUtils.escapeXml(expEntity.getModelNumber())): "");
|
| 488 |
|
488 |
|
| 489 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Title>" + StringEscapeUtils.escapeXml(title) + "</Title>");
|
489 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Title>" + title + "</Title>");
|
| 490 |
|
490 |
|
| 491 |
//Boost titles for the mobile phones, laptops and tablets only
|
491 |
//Boost titles for the mobile phones, laptops and tablets only
|
| 492 |
if(expEntity.getCategory().getParentCategory().isHasAccessories() || expEntity.getCategory().getParentCategory().getID() == Utils.TABLETS_CATEGORY || expEntity.getCategory().getParentCategory().getID() == Utils.LAPTOPS_CATEGORY){
|
492 |
if(expEntity.getCategory().getParentCategory().isHasAccessories() || expEntity.getCategory().getParentCategory().getID() == Utils.TABLETS_CATEGORY || expEntity.getCategory().getParentCategory().getID() == Utils.LAPTOPS_CATEGORY){
|
| 493 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Boost>" + 5 + "</Boost>");
|
493 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Boost>" + 5 + "</Boost>");
|
| 494 |
}else{
|
494 |
}else{
|