Package com.agiletec.aps.util

Examples of com.agiletec.aps.util.ApsProperties.toXml()


      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;
    }
View Full Code Here


      String categoryCode = this.getCategoryCode();
      Category category = this.getCategoryManager().getCategory(categoryCode);
      if (null != category) {
        ApsProperties currentCats = this.getCategories();
        currentCats.remove(categoryCode);
        this.setXmlCategories(currentCats.toXml());
      }
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "removeCategory");
      return FAILURE;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.