public class UtlTrJsp extends Object
Helper that is used in JSP. E.g. it makes catalog name by given CatGs, List<I18CatGs> and language.
| Constructor and Description |
|---|
UtlTrJsp() |
| Modifier and Type | Method and Description |
|---|---|
String |
catlToStr(CatGs pCatalog,
List<I18CatGs> pI18Catalogs,
String pLang)
It makes catalog name.
|
String |
choSpToStr(ChoSp pSpec,
List<I18ChoSp> pI18Specs,
String pLang)
It makes chooseable specifics name.
|
org.beigesoft.srv.INumStr |
getNumStr()
Getter for numStr.
|
String |
itmSpfStr(Map<String,Object> pRvs,
List<AItmSpf<?,?>> pItemSpecLst)
It makes item specifics string.
|
BigDecimal |
mkRate(BigDecimal pRateIn)
It makes rate.
|
void |
setNumStr(org.beigesoft.srv.INumStr pNumStr)
Setter for numStr.
|
String |
specToStr(ItmSp pSpec,
List<I18ItmSp> pI18Specs,
String pLang)
It makes specifics name.
|
String |
wsNme(TrdStg pTrdStg,
List<I18Trd> pI18TrdList,
String pLang)
It makes webstore name.
|
public final String itmSpfStr(Map<String,Object> pRvs, List<AItmSpf<?,?>> pItemSpecLst)
It makes item specifics string.
pRvs - additional parampItemSpecLst - AItmSpf> listpublic final BigDecimal mkRate(BigDecimal pRateIn)
It makes rate. If it's low with huge decimal places, e.g. 1/62.44, then input value will be -62.44.
pRateIn - input rate e.g. -62.44public final String catlToStr(CatGs pCatalog, List<I18CatGs> pI18Catalogs, String pLang)
It makes catalog name.
pCatalog - CatalogpI18Catalogs - I18 CatalogspLang - languagepublic final String choSpToStr(ChoSp pSpec, List<I18ChoSp> pI18Specs, String pLang)
It makes chooseable specifics name.
pSpec - SpecpI18Specs - I18 SpecspLang - languagepublic final String specToStr(ItmSp pSpec, List<I18ItmSp> pI18Specs, String pLang)
It makes specifics name.
pSpec - SpecpI18Specs - I18 SpecspLang - languagepublic final String wsNme(TrdStg pTrdStg, List<I18Trd> pI18TrdList, String pLang)
It makes webstore name.
pTrdStg - Trading SettingspI18TrdList - I18 WebStore ListpLang - languagepublic final org.beigesoft.srv.INumStr getNumStr()
Getter for numStr.
public final void setNumStr(org.beigesoft.srv.INumStr pNumStr)
Setter for numStr.
pNumStr - referenceCopyright © 2019. All rights reserved.