Package org.infoglue.deliver.util

Examples of org.infoglue.deliver.util.Timer.printElapsedTime()


        timer.printElapsedTime("Read document");

        String propertyXPath = "//property";
        //logger.info("propertyXPath:" + propertyXPath);
        List anl = document.selectNodes(propertyXPath);
        timer.printElapsedTime("Set property xpath");
        //logger.info("*********************************************************anl:" + anl.getLength());
        Iterator anlIterator = anl.iterator();
        while(anlIterator.hasNext())
        {
          Element binding = (Element)anlIterator.next();
View Full Code Here


            property.setBindings(bindings);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.TEXTFIELD)) 
          {   
            String value = getComponentPropertyValue(componentId, name, siteNodeId, languageId, contentId, locale, db, principal, property);
            timer.printElapsedTime("Set property2");
            //logger.info("value:" + value);
            property.setValue(value);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.DATEFIELD)) 
          {   
View Full Code Here

            property.setValue(value);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.DATEFIELD)) 
          {   
            String value = getComponentPropertyValue(componentId, name, siteNodeId, languageId, contentId, locale, db, principal, property);
            timer.printElapsedTime("Set property2");
            //logger.info("value:" + value);
            property.setValue(value);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.CUSTOMFIELD)) 
          {   
View Full Code Here

            property.setWYSIWYGEnabled(WYSIWYGEnabled);
            String WYSIWYGToolbar = binding.attributeValue("WYSIWYGToolbar");
            property.setWYSIWYGToolbar(WYSIWYGToolbar);

            String value = getComponentPropertyValue(componentId, name, siteNodeId, languageId, contentId, locale, db, principal, property);
            timer.printElapsedTime("Set property2");
            //logger.info("value:" + value);
            property.setValue(value);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.SELECTFIELD)) 
          {   
View Full Code Here

    try
    {
      if(document != null)
      {
        timer.printElapsedTime("Read document");

        String propertyXPath = "//task";
        //logger.info("propertyXPath:" + propertyXPath);
        List anl = document.selectNodes(propertyXPath);
        timer.printElapsedTime("Set property xpath");
View Full Code Here

        timer.printElapsedTime("Read document");

        String propertyXPath = "//task";
        //logger.info("propertyXPath:" + propertyXPath);
        List anl = document.selectNodes(propertyXPath);
        timer.printElapsedTime("Set property xpath");
        Iterator anlIterator = anl.iterator();
        while(anlIterator.hasNext())
        {
          Element binding = (Element)anlIterator.next();
         
View Full Code Here

    try
    {
      if(document != null)
      {
        timer.printElapsedTime("Read document");

        String propertyXPath = "//task";
        //logger.info("propertyXPath:" + propertyXPath);
        List anl = document.selectNodes(propertyXPath);
        timer.printElapsedTime("Set property xpath");
View Full Code Here

        timer.printElapsedTime("Read document");

        String propertyXPath = "//task";
        //logger.info("propertyXPath:" + propertyXPath);
        List anl = document.selectNodes(propertyXPath);
        timer.printElapsedTime("Set property xpath");
        Iterator anlIterator = anl.iterator();
        while(anlIterator.hasNext())
        {
          Element binding = (Element)anlIterator.next();
         
View Full Code Here

   
    String decoratePageTemplate = "";
   
    NodeDeliveryController nodeDeliveryController = NodeDeliveryController.getNodeDeliveryController(this.getDeliveryContext());
   
    timer.printElapsedTime("Initialized controllers");
   
    Integer repositoryId = nodeDeliveryController.getSiteNodeVO(getDatabase(), this.getDeliveryContext().getSiteNodeId()).getRepositoryId();
    String componentXML = getPageComponentsString(getDatabase(), this.getTemplateController(), this.getDeliveryContext().getSiteNodeId(), this.getDeliveryContext().getLanguageId(), this.getDeliveryContext().getContentId());
    //logger.info("componentXML:" + componentXML);
   
View Full Code Here

    String componentXML = getPageComponentsString(getDatabase(), this.getTemplateController(), this.getDeliveryContext().getSiteNodeId(), this.getDeliveryContext().getLanguageId(), this.getDeliveryContext().getContentId());
    //logger.info("componentXML:" + componentXML);
   
    componentXML = appendPagePartTemplates(componentXML, this.getDeliveryContext().getSiteNodeId());
   
    timer.printElapsedTime("After getPageComponentsString");
   
    Timer decoratorTimer = new Timer();
    decoratorTimer.setActive(false);

    InfoGlueComponent baseComponent = null;
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.