String categoryCode = this.getCategoryCode();
Category category = this.getCategoryManager().getCategory(categoryCode);
if (null != category && !category.getCode().equals(category.getParentCode())) {
ApsProperties currentCats = this.getCategories();
currentCats.put(category.getCode(), category.getFullTitle());
this.setXmlCategories(currentCats.toXml());
}
} catch (Throwable t) {
ApsSystemUtils.logThrowable(t, this, "joinCategory");
return FAILURE;
}