Package org.ofbiz.base.util

Examples of org.ofbiz.base.util.UtilTimer.timerString()


        setTableName(uiEntityGV.getString("tableName"));
        setDescription(uiEntityGV.getString("description"));
        setExtTableName(uiEntityGV.getString("extTableName"));

        if (TIMER) {
            timer.timerString(5,
                "[UIEntity.UIEntity] Finished setting UI entity attributes");
        }

        setModelEntity(delegator.getModelEntity(getEntityName()));
        setPrimaryKeyFieldNames(getModelEntity().getPkFieldNames());
View Full Code Here


        setModelEntity(delegator.getModelEntity(getEntityName()));
        setPrimaryKeyFieldNames(getModelEntity().getPkFieldNames());

        if (TIMER) {
            timer.timerString(5,
                "[UIEntity.UIEntity] Finished setting model entity");
        }

        // Get info about the UI Attributes.
        HashMap findMap = new HashMap();
View Full Code Here

        findMap.put("entityId", getEntityId());

        List uiAttributeL = delegator.findByAnd("UiAttribute", findMap, null);

        if (TIMER) {
            timer.timerString(5,
                "[UIEntity.UIEntity] Finished finding UI attributes");
        }

        Iterator uiAttributeI = uiAttributeL.iterator();
View Full Code Here

            // Get the UIAttribute object for this attribute.
            GenericValue uiAttributeGV = (GenericValue) uiAttributeI.next();
            String attributeId = uiAttributeGV.getString("attributeId");

            if (TIMER) {
                timer.timerString(5,
                    "[UIEntity.UIEntity] Looking for UIAttribute in cache.");
            }

            UIAttribute uiAttribute = uiCache.getUiAttribute(attributeId);
View Full Code Here

            UIAttribute uiAttribute = uiCache.getUiAttribute(attributeId);

            if (uiAttribute == null) {
                if (TIMER) {
                    timer.timerString(5,
                        "[UIEntity.UIEntity] UIAttribute not found in cache. Creating a new one.");
                }

                uiAttribute = new UIAttribute(uiAttributeGV, delegator, this);
                uiCache.putUiAttribute(attributeId, uiAttribute);
View Full Code Here

                uiAttribute = new UIAttribute(uiAttributeGV, delegator, this);
                uiCache.putUiAttribute(attributeId, uiAttribute);
            } else {
                if (TIMER) {
                    timer.timerString(5,
                        "[UIEntity.UIEntity] Found UIAttribute in cache.");
                }
            }

            getUiAttributeList().add(uiAttribute);
View Full Code Here

            getUiAttributeList().add(uiAttribute);
        }

        if (TIMER) {
            timer.timerString(5, "[UIEntity.UIEntity] End");
        }

    }

    /**
 
View Full Code Here

        String sectionName, GenericDelegator delegator, UICache uiCache)
        throws GenericEntityException {
        UtilTimer timer = new UtilTimer();

        if (TIMER) {
            timer.timerString(1, "[UIScreenSection.UIScreenSection] Start");
        }

        Debug.logVerbose( "-->[UIScreenSection.UIScreenSection] screenName: " + screenName, module);
        Debug.logVerbose( "-->[UIScreenSection.UIScreenSection] sectionName: " + sectionName, module);
View Full Code Here

                "SectionName passed in was null for UIScreenSection.");
        }

        // Get the uiScreen object.
        if (TIMER) {
            timer.timerString(1,
                "[UIScreenSection.UIScreenSection] Looking for UIScreen in cache.");
        }

        UIScreen uiScreen = uiCache.getUiScreen(screenName);
View Full Code Here

        UIScreen uiScreen = uiCache.getUiScreen(screenName);

        if (uiScreen == null) {
            if (TIMER) {
                timer.timerString(1,
                    "[UIScreenSection.UIScreenSection] UIScreen not found in cache. Creating a new one.");
            }

            uiScreen = new UIScreen(screenName, delegator);
            uiCache.putUiScreen(screenName, uiScreen);
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.