| Line 486... |
Line 486... |
| 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>" + StringEscapeUtils.escapeXml(title) + "</Title>");
|
| 490 |
|
490 |
|
| 491 |
//Boost titles for the mobile phones only
|
491 |
//Boost titles for the mobile phones, laptops and tablets only
|
| 492 |
if(expEntity.getCategory().getParentCategory().isHasAccessories()){
|
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{
|
| 495 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Boost>" + 0 + "</Boost>");
|
495 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Boost>" + 0 + "</Boost>");
|
| 496 |
}
|
496 |
}
|
| 497 |
|
497 |
|