Package com.dotmarketing.portlets.categories.business

Examples of com.dotmarketing.portlets.categories.business.CategoryAPI.addChild()


    if (UtilMethods.isSet(form.getCategory())) {
      Category category;
      for (String categoryId: form.getCategory()) {
        category = categoryAPI.find(categoryId, APILocator.getUserAPI().getSystemUser(), false);
        if(InodeUtils.isSet(category.getInode())) {
          categoryAPI.addChild(userProxy, category, APILocator.getUserAPI().getSystemUser(), false);
        }
      }
    }

    HibernateUtil.commitTransaction();
View Full Code Here


    for(int i = 0;i < categories.length;i++)
    {
      Category category = catAPI.find(categories[i], user, respectFrontend);
      if(InodeUtils.isSet(category.getInode()))
      {
        catAPI.addChild(userProxy, category, user, respectFrontend);
      }
    }
    HibernateUtil.commitTransaction();
  }
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.