Class TravelbackofficeUtils
java.lang.Object
de.hybris.platform.travelbackoffice.utils.TravelbackofficeUtils
Class which provides Backoffice utility methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringreplaceTypeReference(String stockLevelCode) Method append the constant string if it containsTravelbackofficeConstants.TYPE_REFERENCEotherwise not.static voidvalidateStockAttributes(List<org.zkoss.zk.ui.Component> children) Method validates the stock attributes used for adding stock for booking classstatic StringvalidateStockLevelCode(String stockLevelCode) Method validates the input string and replace if it containsTravelbackofficeConstants.TYPE_REFERENCEotherwise returns input string
-
Constructor Details
-
TravelbackofficeUtils
public TravelbackofficeUtils()
-
-
Method Details
-
replaceTypeReference
Method append the constant string if it containsTravelbackofficeConstants.TYPE_REFERENCEotherwise not. -
validateStockLevelCode
Method validates the input string and replace if it containsTravelbackofficeConstants.TYPE_REFERENCEotherwise returns input string- Parameters:
stockLevelCode-
-
validateStockAttributes
Method validates the stock attributes used for adding stock for booking class- Parameters:
children-
-