Package com.dotmarketing.portlets.communications.model

Examples of com.dotmarketing.portlets.communications.model.Communication.addChild()


    if (req.getParameter("typeContent").equals("HTMLPage")) {
      //try to get the Communication's page
      if (InodeUtils.isSet(cfform.getHtmlPage())) {
        page = (HTMLPage) InodeFactory.getInode(String.valueOf(cfform.getHtmlPage()), HTMLPage.class);
        if (InodeUtils.isSet(page.getInode())) {
          c.addChild(page);
          c.setHtmlPage(page.getIdentifier());
        }
      }
    }
   
View Full Code Here


   
    //try to get the Communication's virtual link
    if (InodeUtils.isSet(cfform.getTrackBackLinkInode())) {
      vl = VirtualLinkFactory.getVirtualLink(String.valueOf(cfform.getTrackBackLinkInode()));
      if (InodeUtils.isSet(vl.getInode())) {
        c.addChild(vl);
        c.setTrackBackLinkInode(vl.getInode());
      }
    }
       
    //add message
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.