diff --git a/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml b/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml
index e76515d62a..ff62048793 100644
--- a/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml
+++ b/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml
@@ -22,20 +22,8 @@ under the License.
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods-v2.xsd">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -59,12 +47,8 @@ under the License.
-
-
-
-
-
-
+
+
@@ -710,13 +694,7 @@ under the License.
-
-
-
-
-
-
-
+
diff --git a/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml b/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml
index 508a839335..b3f49059af 100644
--- a/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml
+++ b/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml
@@ -692,12 +692,7 @@ under the License.
-
-
-
-
-
-
+
@@ -928,12 +923,7 @@ under the License.
-
-
-
-
-
-
+
diff --git a/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml b/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
index 04abb3a50d..d1019594eb 100644
--- a/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
+++ b/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
@@ -2849,20 +2849,8 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml b/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
index dc56fa9da8..677df2d0ef 100644
--- a/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
+++ b/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
@@ -603,12 +603,7 @@ under the License.
-
-
-
-
-
-
+
@@ -902,13 +897,7 @@ under the License.
-
-
-
-
-
-
-
+
@@ -916,13 +905,7 @@ under the License.
-
-
-
-
-
-
-
+
@@ -1056,13 +1039,7 @@ under the License.
-
-
-
-
-
-
-
+
diff --git a/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml b/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml
index aba8b8322d..a037d3b087 100644
--- a/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml
+++ b/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml
@@ -30,12 +30,7 @@ under the License.
-
-
-
-
-
-
+
@@ -86,12 +81,7 @@ under the License.
-
-
-
-
-
-
+
@@ -140,12 +130,7 @@ under the License.
Then will be checked if the requested periodTypeId and currency can be found, if not isue an error message
-->
-
-
-
-
-
-
+
@@ -394,12 +379,7 @@ under the License.
-
-
-
-
-
-
+
diff --git a/applications/accounting/src/org/ofbiz/accounting/thirdparty/clearcommerce/CCPaymentServices.java b/applications/accounting/src/org/ofbiz/accounting/thirdparty/clearcommerce/CCPaymentServices.java
index eda682e7ed..47a6c32741 100644
--- a/applications/accounting/src/org/ofbiz/accounting/thirdparty/clearcommerce/CCPaymentServices.java
+++ b/applications/accounting/src/org/ofbiz/accounting/thirdparty/clearcommerce/CCPaymentServices.java
@@ -865,7 +865,7 @@ public class CCPaymentServices {
Element instructionsElement = UtilXml.addChildElement(engineDocElement, "Instructions", requestDocument);
String pipeline = "PaymentNoFraud";
- if (EntityUtilProperties.propertyValueEqualsIgnoreCase(paymentConfig, "payment.clearcommerce.enableFraudShield", "Y", delegator)) {
+ if (UtilProperties.propertyValueEqualsIgnoreCase(paymentConfig, "payment.clearcommerce.enableFraudShield", "Y")) {
pipeline = "Payment";
}
UtilXml.addChildElementValue(instructionsElement, "Pipeline", pipeline, requestDocument);
diff --git a/applications/content/script/org/ofbiz/content/content/ContentServices.xml b/applications/content/script/org/ofbiz/content/content/ContentServices.xml
index a550c08d9f..4fdc8a9561 100644
--- a/applications/content/script/org/ofbiz/content/content/ContentServices.xml
+++ b/applications/content/script/org/ofbiz/content/content/ContentServices.xml
@@ -977,12 +977,7 @@
-
-
-
-
-
-
+
diff --git a/applications/content/script/org/ofbiz/content/data/DataServices.xml b/applications/content/script/org/ofbiz/content/data/DataServices.xml
index f6838dcd45..bdef08c55d 100644
--- a/applications/content/script/org/ofbiz/content/data/DataServices.xml
+++ b/applications/content/script/org/ofbiz/content/data/DataServices.xml
@@ -561,12 +561,7 @@ under the License.
-
-
-
-
-
-
+
diff --git a/applications/order/script/org/ofbiz/order/order/OrderServices.xml b/applications/order/script/org/ofbiz/order/order/OrderServices.xml
index cd1bdac007..7a3fba69ba 100644
--- a/applications/order/script/org/ofbiz/order/order/OrderServices.xml
+++ b/applications/order/script/org/ofbiz/order/order/OrderServices.xml
@@ -1392,12 +1392,7 @@ under the License.
]]>
-
-
-
-
-
-
+
diff --git a/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/CategoryDetail.groovy b/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/CategoryDetail.groovy
index 14d74fe9b2..45468a2345 100644
--- a/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/CategoryDetail.groovy
+++ b/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/CategoryDetail.groovy
@@ -39,7 +39,7 @@ viewIndex = parameters.VIEW_INDEX;
currentCatalogId = CatalogWorker.getCurrentCatalogId(request);
// set the default view size
-defaultViewSize = request.getAttribute("defaultViewSize") ?: EntityUtilProperties.getPropertyValue("widget", "widget.form.defaultViewSize", "20", delegator);
+defaultViewSize = request.getAttribute("defaultViewSize") ?: UtilProperties.getPropertyValue("widget", "widget.form.defaultViewSize", "20");
context.defaultViewSize = defaultViewSize;
// set the limit view
diff --git a/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml b/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
index ee80af6c69..582417d3e9 100644
--- a/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
+++ b/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
@@ -321,13 +321,7 @@ under the License.
-
-
-
-
-
-
-
+
diff --git a/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml b/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml
index dbb6b9286b..88e724f7c1 100644
--- a/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml
+++ b/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml
@@ -26,20 +26,9 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
diff --git a/applications/party/script/org/ofbiz/party/user/UserEvents.xml b/applications/party/script/org/ofbiz/party/user/UserEvents.xml
index 42c1a219c7..3c900b8b5c 100644
--- a/applications/party/script/org/ofbiz/party/user/UserEvents.xml
+++ b/applications/party/script/org/ofbiz/party/user/UserEvents.xml
@@ -35,20 +35,8 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -61,20 +49,8 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -82,20 +58,8 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -359,11 +323,9 @@ under the License.
-
+
-
-
diff --git a/applications/party/webapp/partymgr/WEB-INF/actions/party/FindLookUp.groovy b/applications/party/webapp/partymgr/WEB-INF/actions/party/FindLookUp.groovy
index a1ba1bceff..8793e6abe9 100644
--- a/applications/party/webapp/partymgr/WEB-INF/actions/party/FindLookUp.groovy
+++ b/applications/party/webapp/partymgr/WEB-INF/actions/party/FindLookUp.groovy
@@ -19,13 +19,12 @@
import org.ofbiz.base.util.*;
import org.ofbiz.entity.condition.*;
-import org.ofbiz.entity.util.EntityUtilProperties;
if (context.noConditionFind == null) {
context.noConditionFind = parameters.noConditionFind;
}
if (context.noConditionFind == null) {
- context.noConditionFind = EntityUtilProperties.getPropertyValue("widget", "widget.defaultNoConditionFind", delegator);
+ context.noConditionFind = UtilProperties.getPropertyValue("widget", "widget.defaultNoConditionFind");
}
if (context.filterByDate == null) {
context.filterByDate = parameters.filterByDate;
diff --git a/applications/product/script/org/ofbiz/product/catalog/CatalogServices.xml b/applications/product/script/org/ofbiz/product/catalog/CatalogServices.xml
index 50edce0003..7d7713053c 100644
--- a/applications/product/script/org/ofbiz/product/catalog/CatalogServices.xml
+++ b/applications/product/script/org/ofbiz/product/catalog/CatalogServices.xml
@@ -25,12 +25,7 @@ under the License.
-
-
-
-
-
-
+
diff --git a/applications/product/script/org/ofbiz/product/rental/RentalServices.xml b/applications/product/script/org/ofbiz/product/rental/RentalServices.xml
index 120330c74f..4899fde3d4 100644
--- a/applications/product/script/org/ofbiz/product/rental/RentalServices.xml
+++ b/applications/product/script/org/ofbiz/product/rental/RentalServices.xml
@@ -22,12 +22,7 @@ under the License.
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods-v2.xsd">
-
-
-
-
-
-
+
diff --git a/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml b/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml
index b8184239ef..39671c1f72 100644
--- a/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml
+++ b/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml
@@ -143,24 +143,13 @@ under the License.
-
-
-
-
-
-
+
-
-
-
-
-
-
-
+
diff --git a/framework/common/script/org/ofbiz/common/email/EmailServices.xml b/framework/common/script/org/ofbiz/common/email/EmailServices.xml
index 6efe219e9b..efdcb19786 100644
--- a/framework/common/script/org/ofbiz/common/email/EmailServices.xml
+++ b/framework/common/script/org/ofbiz/common/email/EmailServices.xml
@@ -51,13 +51,7 @@ under the License.
-
-
-
-
-
-
-
+
diff --git a/framework/common/src/org/ofbiz/common/email/EmailServices.java b/framework/common/src/org/ofbiz/common/email/EmailServices.java
index 475a8f185d..e9aa1a6d56 100644
--- a/framework/common/src/org/ofbiz/common/email/EmailServices.java
+++ b/framework/common/src/org/ofbiz/common/email/EmailServices.java
@@ -238,7 +238,7 @@ public class EmailServices {
}
session = Session.getInstance(props);
- boolean debug = EntityUtilProperties.propertyValueEqualsIgnoreCase("general.properties", "mail.debug.on", "Y", delegator);
+ boolean debug = UtilProperties.propertyValueEqualsIgnoreCase("general.properties", "mail.debug.on", "Y");
session.setDebug(debug);
mail = new MimeMessage(session);
diff --git a/framework/entity/script/org/ofbiz/entity/test/EntityUtilPropertiesTests.xml b/framework/entity/script/org/ofbiz/entity/test/EntityUtilPropertiesTests.xml
index f9a85253e2..f194bbef82 100644
--- a/framework/entity/script/org/ofbiz/entity/test/EntityUtilPropertiesTests.xml
+++ b/framework/entity/script/org/ofbiz/entity/test/EntityUtilPropertiesTests.xml
@@ -36,20 +36,10 @@ under the License.
-
-
-
-
-
-
+
-
-
-
-
-
-
+
diff --git a/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java b/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java
index a7da669e85..1ef82fc5a1 100644
--- a/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java
+++ b/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java
@@ -88,19 +88,6 @@ public class EntityUtilProperties implements Serializable {
}
return value;
}
-
- public static String getPropertyValue(String resource, String name, String defaultValue, Locale locale, Delegator delegator) {
- String value = getSystemPropertyValue(resource, name, delegator);
- if (UtilValidate.isEmpty(value)) {
- if (UtilValidate.isNotEmpty(locale)) {
- value = UtilProperties.getMessage(resource, name, locale);
- }
- if (UtilValidate.isEmpty(value)) {
- value = UtilProperties.getPropertyValue(resource, name, defaultValue);
- }
- }
- return value;
- }
public static double getPropertyNumber(String resource, String name, double defaultValue) {
return UtilProperties.getPropertyNumber(resource, name, defaultValue);
diff --git a/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java b/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java
index 27e61e62ca..f9e4d19fa1 100644
--- a/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java
+++ b/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java
@@ -237,7 +237,7 @@ public class LoginWorker {
// check if they have permission for this login attempt; if not log them out
if (userLogin != null) {
List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
diff --git a/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml b/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml
index a515eca443..09e6dd2aea 100644
--- a/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml
+++ b/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml
@@ -36,19 +36,8 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -356,12 +345,11 @@ under the License.
-
diff --git a/specialpurpose/googlebase/webapp/googlebase/WEB-INF/actions/autoUpdateConfig.groovy b/specialpurpose/googlebase/webapp/googlebase/WEB-INF/actions/autoUpdateConfig.groovy
index b60c431744..d161afc5bf 100644
--- a/specialpurpose/googlebase/webapp/googlebase/WEB-INF/actions/autoUpdateConfig.groovy
+++ b/specialpurpose/googlebase/webapp/googlebase/WEB-INF/actions/autoUpdateConfig.groovy
@@ -17,30 +17,30 @@
* under the License.
*/
import javolution.util.FastList
-import org.ofbiz.entity.util.EntityUtilProperties
+import org.ofbiz.base.util.UtilProperties
configList = []
-str = EntityUtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStoreId", delegator)
+str = UtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStoreId")
productStoreIds = str.split(",")
-str = EntityUtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.option.outOfStock", delegator)
+str = UtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.option.outOfStock")
outOfStock = str.split(",")
-str = EntityUtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.option.backInStock", delegator)
+str = UtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.option.backInStock")
backInStock = str.split(",")
-str = EntityUtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.webSiteUrl", delegator)
+str = UtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.webSiteUrl")
webSiteUrl = str.split(",")
-str = EntityUtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.actionType", delegator)
+str = UtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.actionType")
actionType = str.split(",")
-str = EntityUtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.statusId", delegator)
+str = UtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.statusId")
statusId = str.split(",")
-str = EntityUtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.testMode", delegator)
+str = UtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.testMode")
testMode = str.split(",")
-str = EntityUtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.webSiteMountPoint", delegator)
+str = UtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.webSiteMountPoint")
webSiteMountPoint = str.split(",")
-str = EntityUtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.countryCode", delegator)
+str = UtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.countryCode")
countryCode = str.split(",")
-str = EntityUtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.trackingCodeId", delegator)
+str = UtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.trackingCodeId")
trackingCodeId = str.split(",")
-str = EntityUtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.allowRecommended", delegator)
+str = UtilProperties.getPropertyValue("autoUpdateToGoogleBase.properties", "autoUpdateGoogleBase.productStore.allowRecommended")
allowRecommended = str.split(",")
productStoreIds.eachWithIndex{ productStoreId, i ->
diff --git a/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml b/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml
index 2d79aa6b04..bc139184eb 100644
--- a/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml
+++ b/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml
@@ -66,42 +66,17 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -141,12 +116,7 @@
-
-
-
-
-
-
+
diff --git a/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/ShoppingCartServices.xml b/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/ShoppingCartServices.xml
index 4a55756b78..1f53460561 100644
--- a/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/ShoppingCartServices.xml
+++ b/specialpurpose/googlecheckout/script/org/ofbiz/googleCheckout/ShoppingCartServices.xml
@@ -45,24 +45,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
diff --git a/specialpurpose/ldap/src/org/ofbiz/ldap/LdapLoginWorker.java b/specialpurpose/ldap/src/org/ofbiz/ldap/LdapLoginWorker.java
index 186f9a471a..197d276308 100644
--- a/specialpurpose/ldap/src/org/ofbiz/ldap/LdapLoginWorker.java
+++ b/specialpurpose/ldap/src/org/ofbiz/ldap/LdapLoginWorker.java
@@ -94,7 +94,7 @@ public class LdapLoginWorker extends LoginWorker {
}
}
- if (!hasBasePermission(userLogin, request) || isFlaggedLoggedOut(userLogin, userLogin.getDelegator()) || hasLdapLoggedOut) {
+ if (!hasBasePermission(userLogin, request) || isFlaggedLoggedOut(userLogin) || hasLdapLoggedOut) {
Debug.logInfo("User does not have permission or is flagged as logged out", module);
doBasicLogout(userLogin, request, response);
userLogin = null;
diff --git a/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java b/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java
index 23a60c9bdd..bcbffc2423 100644
--- a/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java
+++ b/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java
@@ -59,7 +59,7 @@ public class OagisInventoryServices {
public static final String resource = "OagisUiLabels";
public static final Double doubleZero = new Double(0.0);
public static final Double doubleOne = new Double(1.0);
-
+ public static final String syncInventoryFacilityId = UtilProperties.getPropertyValue("oagis.properties", "Oagis.Warehouse.SyncInventoryFacilityId");
public static Map oagisReceiveSyncInventory(DispatchContext ctx, Map context) {
Document doc = (Document) context.get("document");
@@ -69,7 +69,7 @@ public class OagisInventoryServices {
Locale locale = (Locale) context.get("locale");
List