Package tridion.contentmanager.communicationmanagement

Examples of tridion.contentmanager.communicationmanagement.Page


    session = new Session();
    log.debug("Tridion session created");
  }

  public void getPage() {
    Page page = new Page(new TcmUri("tcm:1-99-64"), session);
    log.debug("Page title: " + page.getTitle());

    for (ComponentPresentation cp : page.getComponentPresentationsList()) {
      Component component = cp.getComponent();
      ComponentTemplate componentTemplate = cp.getComponentTemplate();
      System.out.println(String.format("\tCP: Component: '%s' %s | Component Template: '%s' %s",
          component.getTitle(), component.getId(), componentTemplate.getTitle(), componentTemplate.getId()));
    }
View Full Code Here

TOP

Related Classes of tridion.contentmanager.communicationmanagement.Page

Copyright © 2018 www.massapicom. 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.