/**
* Fetches the localized description for the current request locale or the default configured locale
* @return the name or the empty string if no value has been defined
*/
@Transient
public String getLocalDescription() {
if (cacheDescription==null) {
cacheDescription = yadaLocaleDao.getLocalValue(id, YadaProduct.class, "description", null);
}
return cacheDescription;
}
YadaProduct.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:yadaframework
作者:
评论列表
文章目录