*/
public List<CategoryType> getAllMergedCategories() throws ApiException, SdkException, Exception {
//Get all categories that are mapped to characteristics sets
IAttributesMaster amst = this.attrMaster;
if (!siteCategoriesCSMap.containsKey(this.apiContext.getSite())) {
ICategoryCSProvider catCSProvider = new CategoryCSDownloader(this.apiContext);
amst.setCategoryCSProvider(catCSProvider);
CategoryType[] csCats = catCSProvider.getCategoriesCS();
Map<String, CategoryType> csCatsMap = new HashMap<String, CategoryType>(MAP_SIZE);
for (CategoryType cat : csCats) {
csCatsMap.put(cat.getCategoryID(), cat);
}