Debug.logInfo("Load child categories from session following site id and categoryId is ".concat(categoryId), module);
} else {
Debug.logWarning("No categoryId to get child categories.", module);
}
ApiContext apiContext = getApiContext(request);
sf = getSiteFacade(apiContext,request);
if (UtilValidate.isNotEmpty(sf)) {
Map<SiteCodeType, List<StoreCustomCategoryType>> csCateMaps = sf.getSiteStoreCategoriesMap();
csCateList = csCateMaps.get(apiContext.getSite());
if (UtilValidate.isNotEmpty(csCateList)) {
if (UtilValidate.isNotEmpty(categoryId)) {
// find child of selected ebay categories
for (StoreCustomCategoryType csCate : csCateList) {
if (categoryId.equals(String.valueOf(csCate.getCategoryID()))) {