Package com.hlcl.rql.as

Examples of com.hlcl.rql.as.TemplateElement


  public void add(ContentElement contentElement, LanguageVariant languageVariant) throws RQLException {
    // get value only to cache it within content element
    contentElement.getValueAsString();

    // add
    TemplateElement templateElement = contentElement.getTemplateElement();
    if (elementMatrix.containsKey(templateElement)) {
      // add for new language variant
      ListOrderedMap lvMap = getElementMap(templateElement);
      lvMap.put(languageVariant, contentElement);
    } else {
View Full Code Here


        // skip not page templates
        if (!template.getName().endsWith("_page")) {
          continue;
        }
        if (template.contains("blocks")) {
          TemplateElement blocksElem = template.getTemplateElementByName("blocks");
          if (blocksElem.isTemplatePreassigned(newTemplate)) {
            blocksElem.addPreassignedTemplate(newTemplate);
            System.out.println(folder.getName() + ";" + template.getName() + ";" + blocksElem.getName());
          }
        }
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.hlcl.rql.as.TemplateElement

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.