getRprsThumbUrlWithDefault 추가
This commit is contained in:
parent
a36fad04a1
commit
2cf9515096
@ -199,6 +199,9 @@ public class CollectionVO extends PagingVO {
|
|||||||
public String getRprsThumbUrl() {
|
public String getRprsThumbUrl() {
|
||||||
return rprsThumbUrl;
|
return rprsThumbUrl;
|
||||||
}
|
}
|
||||||
|
public String getRprsThumbUrlWithDefault() {
|
||||||
|
return StringUtil.isEmpty(rprsThumbUrl) ? NlibProperty.getString("thumbnail.image.url.middle") : rprsThumbUrl;
|
||||||
|
}
|
||||||
public void setRprsThumbUrl(String rprsThumbUrl) {
|
public void setRprsThumbUrl(String rprsThumbUrl) {
|
||||||
this.rprsThumbUrl = StringUtil.isEmpty(rprsThumbUrl) ? rprsThumbUrl : NlibProperty.getString("thumbnail.image.url.prefix", "") + rprsThumbUrl;
|
this.rprsThumbUrl = StringUtil.isEmpty(rprsThumbUrl) ? rprsThumbUrl : NlibProperty.getString("thumbnail.image.url.prefix", "") + rprsThumbUrl;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user