Package com.agiletec.plugins.jacms.aps.system.services.content.model

Examples of com.agiletec.plugins.jacms.aps.system.services.content.model.Content.addCategory()


    Content masterContent = this._contentManager.loadContent("EVN193", true);

    Content content1 = this._contentManager.loadContent("RAH101", true);
    content1.setId("RAH101b");
    for (Category category : masterContent.getCategories()) {
      content1.addCategory(category);
    }
    this._contentDao.addEntity(content1);
    this._contentDao.insertOnLineContent(content1);

    Content content2 = this._contentManager.loadContent("ART120", true);
View Full Code Here


    Content content2 = this._contentManager.loadContent("ART120", true);
    content2.setId("ART120b");
    for (int i = 0; i < masterContent.getCategories().size(); i++) {
      Category category = masterContent.getCategories().get(i);
      content2.addCategory(category);
    }
    this._contentDao.addEntity(content2);
    this._contentDao.insertOnLineContent(content2);
  }
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.