Package org.infoglue.deliver.util

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


            property.setValue(value);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.DATEFIELD)) 
          {   
            String value = getComponentPropertyValue(componentId, name, property.getAllowLanguageVariations());
            timer.printElapsedTime("Set property2");
            property.setValue(value);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.CUSTOMFIELD)) 
          {   
            String value = getComponentPropertyValue(componentId, name, property.getAllowLanguageVariations());
View Full Code Here


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

            String value = getComponentPropertyValue(componentId, name, property.getAllowLanguageVariations());
            timer.printElapsedTime("Set property2");
            property.setValue(value);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.SELECTFIELD)) 
          {   
            String value = getComponentPropertyValue(componentId, name, property.getAllowLanguageVariations());
View Full Code Here

            property.setValue(value);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.SELECTFIELD)) 
          {   
            String value = getComponentPropertyValue(componentId, name, property.getAllowLanguageVariations());
            timer.printElapsedTime("Set property2");
           
            List optionList = binding.elements("option");
            Iterator optionListIterator = optionList.iterator();
            while(optionListIterator.hasNext())
            {
View Full Code Here

            property.setValue(value);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.CHECKBOXFIELD)) 
          {   
            String value = getComponentPropertyValue(componentId, name, property.getAllowLanguageVariations());
            timer.printElapsedTime("Set property3");
           
            List optionList = binding.elements("option");
            Iterator optionListIterator = optionList.iterator();
            while(optionListIterator.hasNext())
            {
View Full Code Here

      {
      //if(componentPropertiesXML != null && componentPropertiesXML.length() > 0)
      //{
        //org.w3c.dom.Document document = XMLHelper.readDocumentFromByteArray(componentPropertiesXML.getBytes("UTF-8"));

        timer.printElapsedTime("Read document");

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

        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

            String assetMask        = binding.attributeValue("assetMask");
            boolean isPuffContentForPage   = new Boolean(binding.attributeValue("isPuffContentForPage")).booleanValue();

            property.setEntityClass(entity);
            String value = getComponentPropertyValue(componentId, name, templateController, property.getAllowLanguageVariations());
            timer.printElapsedTime("Set property1");

            property.setValue(value);
            property.setIsMultipleBinding(isMultipleBinding);
            property.setIsAssetBinding(isAssetBinding);
            property.setAssetMask(assetMask);
View Full Code Here

            property.setBindings(bindings);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.TEXTFIELD)) 
          {   
            String value = getComponentPropertyValue(componentId, name, templateController, property.getAllowLanguageVariations());
            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, property.getAllowLanguageVariations());
            timer.printElapsedTime("Set property2");
            property.setValue(value);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.CUSTOMFIELD)) 
          {   
            String value = getComponentPropertyValue(componentId, name, property.getAllowLanguageVariations());
View Full Code Here

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

            String value = getComponentPropertyValue(componentId, name, templateController, property.getAllowLanguageVariations());
            timer.printElapsedTime("Set property2");
            //logger.info("value:" + value);
            property.setValue(value);
          }
          else if(type.equalsIgnoreCase(ComponentProperty.SELECTFIELD)) 
          {   
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.