Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)

85042: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      84307: Fixes to ACE-2639. The long-form QName for synthetic properties should be like {http:\/\/www.alfresco.org\/model\/content\/1.0}content.size


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2014-09-20 10:31:41 +00:00
parent e44a69e401
commit e8cc740c42

View File

@@ -356,9 +356,18 @@ public class FacetablePropertiesGet extends AbstractSolrFacetConfigAdminWebScrip
this.displayName = getShortQname() + (localisedTitle == null ? "" : " (" + localisedTitle + ")");
}
@Override public String getShortQname() { return super.getShortQname() +
"." + this.syntheticPropertyName; }
@Override public String getShortQname()
{
return super.getShortQname() + "." + this.syntheticPropertyName;
}
@Override public QName getDataType() { return datatype; }
@Override public QName getQname()
{
final QName containingPropQName = super.getQname();
return QName.createQName(containingPropQName.getNamespaceURI(),
containingPropQName.getLocalName() + "." + this.syntheticPropertyName);
}
@Override public QName getDataType() { return datatype; }
}
}