| Line 477... |
Line 477... |
| 477 |
String title = StringEscapeUtils.escapeXml(expEntity.getBrand()) + " " + StringEscapeUtils.escapeXml(expEntity.getModelName()) +
|
477 |
String title = StringEscapeUtils.escapeXml(expEntity.getBrand()) + " " + StringEscapeUtils.escapeXml(expEntity.getModelName()) +
|
| 478 |
((expEntity.getModelNumber() != null) ? (" " + StringEscapeUtils.escapeXml(expEntity.getModelNumber())): "");
|
478 |
((expEntity.getModelNumber() != null) ? (" " + StringEscapeUtils.escapeXml(expEntity.getModelNumber())): "");
|
| 479 |
|
479 |
|
| 480 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Title>" + StringEscapeUtils.escapeXml(title) + "</Title>");
|
480 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Title>" + StringEscapeUtils.escapeXml(title) + "</Title>");
|
| 481 |
|
481 |
|
| 482 |
//Boost titles for the mobile phones
|
482 |
//Boost titles for the mobile phones only
|
| 483 |
if(expEntity.getCategory().getParentCategory().getID() != Utils.MOBILE_ACCESSORIES_CATEGORY){
|
483 |
if(expEntity.getCategory().getParentCategory().isHasAccessories()){
|
| 484 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Boost>" + 5 + "</Boost>");
|
484 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Boost>" + 5 + "</Boost>");
|
| 485 |
}else{
|
485 |
}else{
|
| 486 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Boost>" + 0 + "</Boost>");
|
486 |
entityXMLSnippets.add(this.xmlIndentation[2] + "<Boost>" + 0 + "</Boost>");
|
| 487 |
}
|
487 |
}
|
| 488 |
|
488 |
|