(OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-1
@@ -15,4 +15,4 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
org.ofbiz.common.scripting.ScriptHelperFactoryImpl
|
||||
org.apache.ofbiz.common.scripting.ScriptHelperFactoryImpl
|
||||
+2
-2
@@ -15,5 +15,5 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
org.ofbiz.common.authentication.example.TestFailAuthenticator
|
||||
org.ofbiz.common.authentication.example.TestPassAuthenticator
|
||||
org.apache.ofbiz.common.authentication.example.TestFailAuthenticator
|
||||
org.apache.ofbiz.common.authentication.example.TestPassAuthenticator
|
||||
+9
-9
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common;
|
||||
package org.apache.ofbiz.common;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Locale;
|
||||
@@ -24,14 +24,14 @@ import java.util.Map;
|
||||
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.HttpClient;
|
||||
import org.ofbiz.base.util.HttpClientException;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.HttpClient;
|
||||
import org.apache.ofbiz.base.util.HttpClientException;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Element;
|
||||
import org.xml.sax.SAXException;
|
||||
+16
-16
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common;
|
||||
package org.apache.ofbiz.common;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Font;
|
||||
@@ -44,21 +44,21 @@ import javax.servlet.http.HttpSession;
|
||||
|
||||
import org.apache.commons.lang.RandomStringUtils;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.ofbiz.base.lang.JSON;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.StringUtil;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.base.util.UtilHttp;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.base.util.cache.UtilCache;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.ofbiz.security.Security;
|
||||
import org.apache.ofbiz.base.lang.JSON;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.StringUtil;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.base.util.UtilHttp;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.base.util.cache.UtilCache;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.apache.ofbiz.security.Security;
|
||||
|
||||
/**
|
||||
* Common Services
|
||||
+24
-24
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common;
|
||||
package org.apache.ofbiz.common;
|
||||
|
||||
import static org.ofbiz.base.util.UtilGenerics.checkList;
|
||||
import static org.ofbiz.base.util.UtilGenerics.checkMap;
|
||||
import static org.apache.ofbiz.base.util.UtilGenerics.checkList;
|
||||
import static org.apache.ofbiz.base.util.UtilGenerics.checkMap;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.FileNotFoundException;
|
||||
@@ -43,27 +43,27 @@ import java.util.TreeSet;
|
||||
|
||||
import javax.mail.internet.MimeMessage;
|
||||
|
||||
import org.ofbiz.base.metrics.Metrics;
|
||||
import org.ofbiz.base.metrics.MetricsFactory;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilCodec;
|
||||
import org.ofbiz.base.util.UtilDateTime;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.GenericServiceException;
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.ofbiz.service.ModelService;
|
||||
import org.ofbiz.service.ServiceSynchronization;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.ofbiz.service.mail.MimeMessageWrapper;
|
||||
import org.apache.ofbiz.base.metrics.Metrics;
|
||||
import org.apache.ofbiz.base.metrics.MetricsFactory;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilCodec;
|
||||
import org.apache.ofbiz.base.util.UtilDateTime;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ModelService;
|
||||
import org.apache.ofbiz.service.ServiceSynchronization;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.service.mail.MimeMessageWrapper;
|
||||
|
||||
/**
|
||||
* Common Services
|
||||
+15
-15
@@ -16,23 +16,23 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common;
|
||||
package org.apache.ofbiz.common;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.StringUtil;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.condition.EntityExpr;
|
||||
import org.ofbiz.entity.condition.EntityOperator;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.entity.util.EntityTypeUtil;
|
||||
import org.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.StringUtil;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.condition.EntityExpr;
|
||||
import org.apache.ofbiz.entity.condition.EntityOperator;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.entity.util.EntityTypeUtil;
|
||||
import org.apache.ofbiz.entity.util.EntityUtilProperties;
|
||||
|
||||
/**
|
||||
* Common Workers
|
||||
@@ -174,7 +174,7 @@ public final class CommonWorkers {
|
||||
* @param parentType Value of the parent type against which check is performed.
|
||||
* @return boolean value based on the check results.
|
||||
*
|
||||
* @deprecated Moved to {@link org.ofbiz.entity.util.EntityTypeUtil#hasParentType(Delegator, String, String, String, String, String) EntityTypeUtil}
|
||||
* @deprecated Moved to {@link org.apache.ofbiz.entity.util.EntityTypeUtil#hasParentType(Delegator, String, String, String, String, String) EntityTypeUtil}
|
||||
*/
|
||||
@Deprecated
|
||||
public static boolean hasParentType(Delegator delegator, String entityName, String primaryKey, String childType, String parentTypeField, String parentType) {
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common;
|
||||
package org.apache.ofbiz.common;
|
||||
|
||||
/**
|
||||
* Data Model Constants
|
||||
+32
-32
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common;
|
||||
package org.apache.ofbiz.common;
|
||||
|
||||
import static org.ofbiz.base.util.UtilGenerics.checkList;
|
||||
import static org.ofbiz.base.util.UtilGenerics.checkMap;
|
||||
import static org.apache.ofbiz.base.util.UtilGenerics.checkList;
|
||||
import static org.apache.ofbiz.base.util.UtilGenerics.checkMap;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Collection;
|
||||
@@ -31,34 +31,34 @@ import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.ObjectType;
|
||||
import org.ofbiz.base.util.StringUtil;
|
||||
import org.ofbiz.base.util.UtilDateTime;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.base.util.UtilHttp;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityComparisonOperator;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.condition.EntityConditionList;
|
||||
import org.ofbiz.entity.condition.EntityFunction;
|
||||
import org.ofbiz.entity.condition.EntityOperator;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.entity.util.EntityListIterator;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.entity.util.EntityUtil;
|
||||
import org.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.GenericServiceException;
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.ObjectType;
|
||||
import org.apache.ofbiz.base.util.StringUtil;
|
||||
import org.apache.ofbiz.base.util.UtilDateTime;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.base.util.UtilHttp;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.condition.EntityComparisonOperator;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.condition.EntityConditionList;
|
||||
import org.apache.ofbiz.entity.condition.EntityFunction;
|
||||
import org.apache.ofbiz.entity.condition.EntityOperator;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.util.EntityListIterator;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.entity.util.EntityUtil;
|
||||
import org.apache.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
|
||||
/**
|
||||
* FindServices Class
|
||||
@@ -747,7 +747,7 @@ public class FindServices {
|
||||
public static Map<String, Object> performFindItem(DispatchContext dctx, Map<String, Object> context) {
|
||||
context.put("viewSize", 1);
|
||||
context.put("viewIndex", 0);
|
||||
Map<String, Object> result = org.ofbiz.common.FindServices.performFind(dctx,context);
|
||||
Map<String, Object> result = org.apache.ofbiz.common.FindServices.performFind(dctx,context);
|
||||
|
||||
List<GenericValue> list = null;
|
||||
GenericValue item= null;
|
||||
+8
-8
@@ -16,9 +16,9 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common;
|
||||
package org.apache.ofbiz.common;
|
||||
|
||||
import static org.ofbiz.base.util.UtilGenerics.checkList;
|
||||
import static org.apache.ofbiz.base.util.UtilGenerics.checkList;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileOutputStream;
|
||||
@@ -33,12 +33,12 @@ import java.util.Map;
|
||||
import org.apache.commons.net.ftp.FTP;
|
||||
import org.apache.commons.net.ftp.FTPClient;
|
||||
import org.apache.commons.net.ftp.FTPReply;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
|
||||
/**
|
||||
* FTP Services.
|
||||
+8
-8
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.common;
|
||||
package org.apache.ofbiz.common;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.StringWriter;
|
||||
@@ -29,12 +29,12 @@ import java.util.Locale;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.FileUtil;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.template.FreeMarkerWorker;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.FileUtil;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.template.FreeMarkerWorker;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
|
||||
// Use the createJsLanguageFileMapping service to create or update the JsLanguageFilesMapping.java. You will still need to compile thereafter
|
||||
|
||||
@@ -180,7 +180,7 @@ public class JsLanguageFileMappingCreator {
|
||||
|
||||
// check the template file
|
||||
String template = "framework/common/template/JsLanguageFilesMapping.ftl";
|
||||
String output = "framework/common/src/org/ofbiz/common/JsLanguageFilesMapping.java";
|
||||
String output = "framework/common/src/org/apache/ofbiz/common/JsLanguageFilesMapping.java";
|
||||
Map<String, Object> mapWrapper = new HashMap<String, Object>();
|
||||
mapWrapper.put("datejs", dateJsLocaleFile);
|
||||
mapWrapper.put("jquery", jQueryLocaleFile);
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
package org.ofbiz.common;
|
||||
package org.apache.ofbiz.common;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
+8
-8
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common;
|
||||
package org.apache.ofbiz.common;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashMap;
|
||||
@@ -26,13 +26,13 @@ import java.util.Set;
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.TreeSet;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
|
||||
/**
|
||||
* A few utility methods related to Keyword Search.
|
||||
+13
-13
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common;
|
||||
package org.apache.ofbiz.common;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
@@ -29,17 +29,17 @@ import javax.servlet.ServletResponse;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.StringUtil;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.DelegatorFactory;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.entity.util.EntityUtil;
|
||||
import org.ofbiz.webapp.control.ContextFilter;
|
||||
import org.ofbiz.webapp.website.WebSiteWorker;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.StringUtil;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.DelegatorFactory;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.entity.util.EntityUtil;
|
||||
import org.apache.ofbiz.webapp.control.ContextFilter;
|
||||
import org.apache.ofbiz.webapp.website.WebSiteWorker;
|
||||
|
||||
public final class UrlServletHelper extends ContextFilter {
|
||||
|
||||
@@ -58,7 +58,7 @@ public final class UrlServletHelper extends ContextFilter {
|
||||
// if tenant was specified, replace delegator with the new per-tenant delegator and set tenantId to session attribute
|
||||
delegator = getDelegator(servletContext);
|
||||
|
||||
//Use base delegator for fetching data from entity of entityGroup org.ofbiz.tenant
|
||||
//Use base delegator for fetching data from entity of entityGroup org.apache.ofbiz.tenant
|
||||
Delegator baseDelegator = DelegatorFactory.getDelegator(delegator.getDelegatorBaseName());
|
||||
GenericValue tenantDomainName = EntityQuery.use(baseDelegator).from("TenantDomainName").where("domainName", serverName).queryOne();
|
||||
|
||||
+5
-5
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.common.authentication;
|
||||
package org.apache.ofbiz.common.authentication;
|
||||
|
||||
import java.security.AccessController;
|
||||
import java.security.PrivilegedAction;
|
||||
@@ -27,10 +27,10 @@ import java.util.List;
|
||||
import java.util.Iterator;
|
||||
import java.util.ServiceLoader;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.common.authentication.api.Authenticator;
|
||||
import org.ofbiz.common.authentication.api.AuthenticatorException;
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.common.authentication.api.Authenticator;
|
||||
import org.apache.ofbiz.common.authentication.api.AuthenticatorException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
|
||||
/**
|
||||
* AuthHelper
|
||||
+2
-2
@@ -17,11 +17,11 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.common.authentication;
|
||||
package org.apache.ofbiz.common.authentication;
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
import org.ofbiz.common.authentication.api.Authenticator;
|
||||
import org.apache.ofbiz.common.authentication.api.Authenticator;
|
||||
|
||||
/**
|
||||
* AuthenticationComparator
|
||||
+3
-3
@@ -17,15 +17,15 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.common.authentication.api;
|
||||
package org.apache.ofbiz.common.authentication.api;
|
||||
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
|
||||
/**
|
||||
* Authenticator
|
||||
*
|
||||
* Classes which implement this interface (directly) will be auto-discovered and loaded as Authenticators
|
||||
* as long as isEnabled() returns true. All implementations MUST be in the org.ofbiz top level package in
|
||||
* as long as isEnabled() returns true. All implementations MUST be in the org.apache.ofbiz top level package in
|
||||
* order to be discovered.
|
||||
*/
|
||||
public interface Authenticator {
|
||||
+2
-2
@@ -17,11 +17,11 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.common.authentication.api;
|
||||
package org.apache.ofbiz.common.authentication.api;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.ofbiz.base.util.GeneralException;
|
||||
import org.apache.ofbiz.base.util.GeneralException;
|
||||
|
||||
/**
|
||||
* AuthenticatorException
|
||||
+10
-10
@@ -17,13 +17,13 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.common.authentication.example;
|
||||
package org.apache.ofbiz.common.authentication.example;
|
||||
|
||||
import org.ofbiz.common.authentication.api.Authenticator;
|
||||
import org.ofbiz.common.authentication.api.AuthenticatorException;
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.common.authentication.api.Authenticator;
|
||||
import org.apache.ofbiz.common.authentication.api.AuthenticatorException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
|
||||
/**
|
||||
* LocalAuthenticator
|
||||
@@ -54,7 +54,7 @@ public class TestFailAuthenticator implements Authenticator {
|
||||
* @param password User's password
|
||||
* @param isServiceAuth true if authentication is for a service call
|
||||
* @return true if the user is authenticated
|
||||
* @throws org.ofbiz.common.authentication.api.AuthenticatorException
|
||||
* @throws org.apache.ofbiz.common.authentication.api.AuthenticatorException
|
||||
* when a fatal error occurs during authentication
|
||||
*/
|
||||
public boolean authenticate(String username, String password, boolean isServiceAuth) throws AuthenticatorException {
|
||||
@@ -66,7 +66,7 @@ public class TestFailAuthenticator implements Authenticator {
|
||||
* Logs a user out
|
||||
*
|
||||
* @param username User's username
|
||||
* @throws org.ofbiz.common.authentication.api.AuthenticatorException
|
||||
* @throws org.apache.ofbiz.common.authentication.api.AuthenticatorException
|
||||
* when logout fails
|
||||
*/
|
||||
public void logout(String username) throws AuthenticatorException {
|
||||
@@ -77,7 +77,7 @@ public class TestFailAuthenticator implements Authenticator {
|
||||
* Reads user information and syncs it to OFBiz (i.e. UserLogin, Person, etc)
|
||||
*
|
||||
* @param username User's username
|
||||
* @throws org.ofbiz.common.authentication.api.AuthenticatorException
|
||||
* @throws org.apache.ofbiz.common.authentication.api.AuthenticatorException
|
||||
* user synchronization fails
|
||||
*/
|
||||
public void syncUser(String username) throws AuthenticatorException {
|
||||
@@ -91,7 +91,7 @@ public class TestFailAuthenticator implements Authenticator {
|
||||
* @param username User's username
|
||||
* @param password User's current password
|
||||
* @param newPassword User's new password
|
||||
* @throws org.ofbiz.common.authentication.api.AuthenticatorException
|
||||
* @throws org.apache.ofbiz.common.authentication.api.AuthenticatorException
|
||||
* when update password fails
|
||||
*/
|
||||
public void updatePassword(String username, String password, String newPassword) throws AuthenticatorException {
|
||||
+4
-4
@@ -17,10 +17,10 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.common.authentication.example;
|
||||
package org.apache.ofbiz.common.authentication.example;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.common.authentication.api.AuthenticatorException;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.common.authentication.api.AuthenticatorException;
|
||||
|
||||
/**
|
||||
* TestPassAuthenticator
|
||||
@@ -36,7 +36,7 @@ public class TestPassAuthenticator extends TestFailAuthenticator {
|
||||
* @param password User's password
|
||||
* @param isServiceAuth true if authentication is for a service call
|
||||
* @return true if the user is authenticated
|
||||
* @throws org.ofbiz.common.authentication.api.AuthenticatorException
|
||||
* @throws org.apache.ofbiz.common.authentication.api.AuthenticatorException
|
||||
* when a fatal error occurs during authentication
|
||||
*/
|
||||
@Override
|
||||
+23
-23
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.email;
|
||||
package org.apache.ofbiz.common.email;
|
||||
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
@@ -54,28 +54,28 @@ import javax.xml.transform.stream.StreamSource;
|
||||
|
||||
import org.apache.fop.apps.Fop;
|
||||
import org.apache.fop.apps.MimeConstants;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.GeneralException;
|
||||
import org.ofbiz.base.util.HttpClient;
|
||||
import org.ofbiz.base.util.HttpClientException;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.base.util.collections.MapStack;
|
||||
import org.ofbiz.base.util.string.FlexibleStringExpander;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.GenericServiceException;
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.ofbiz.service.mail.MimeMessageWrapper;
|
||||
import org.ofbiz.webapp.view.ApacheFopWorker;
|
||||
import org.ofbiz.widget.renderer.macro.MacroScreenRenderer;
|
||||
import org.ofbiz.widget.renderer.ScreenRenderer;
|
||||
import org.ofbiz.widget.renderer.ScreenStringRenderer;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.GeneralException;
|
||||
import org.apache.ofbiz.base.util.HttpClient;
|
||||
import org.apache.ofbiz.base.util.HttpClientException;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.base.util.collections.MapStack;
|
||||
import org.apache.ofbiz.base.util.string.FlexibleStringExpander;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.service.mail.MimeMessageWrapper;
|
||||
import org.apache.ofbiz.webapp.view.ApacheFopWorker;
|
||||
import org.apache.ofbiz.widget.renderer.macro.MacroScreenRenderer;
|
||||
import org.apache.ofbiz.widget.renderer.ScreenRenderer;
|
||||
import org.apache.ofbiz.widget.renderer.ScreenStringRenderer;
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
import com.sun.mail.smtp.SMTPAddressFailedException;
|
||||
+16
-16
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.email;
|
||||
package org.apache.ofbiz.common.email;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.StringWriter;
|
||||
@@ -26,20 +26,20 @@ import java.util.LinkedHashMap;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.component.ComponentConfig.WebappInfo;
|
||||
import org.ofbiz.base.location.FlexibleLocation;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.template.FreeMarkerWorker;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.GenericServiceException;
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.ofbiz.service.ModelService;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.ofbiz.webapp.OfbizUrlBuilder;
|
||||
import org.ofbiz.webapp.WebAppUtil;
|
||||
import org.apache.ofbiz.base.component.ComponentConfig.WebappInfo;
|
||||
import org.apache.ofbiz.base.location.FlexibleLocation;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.template.FreeMarkerWorker;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ModelService;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.webapp.OfbizUrlBuilder;
|
||||
import org.apache.ofbiz.webapp.WebAppUtil;
|
||||
|
||||
import freemarker.template.TemplateException;
|
||||
|
||||
@@ -59,7 +59,7 @@ import freemarker.template.TemplateException;
|
||||
* <blockquote>
|
||||
* <pre>
|
||||
* <service name="sendPoPickupNotification" engine="java"
|
||||
* location="org.ofbiz.content.email.NotificationServices" invoke="sendNotification">
|
||||
* location="org.apache.ofbiz.content.email.NotificationServices" invoke="sendNotification">
|
||||
* <description>Sends notification based on a message template</description>
|
||||
* <implements service="sendNotificationInterface"/>
|
||||
* <attribute name="orderId" type="String" mode="IN" optional="false"/>
|
||||
+9
-9
@@ -16,21 +16,21 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.geo;
|
||||
package org.apache.ofbiz.common.geo;
|
||||
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.entity.util.EntityUtil;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.entity.util.EntityUtil;
|
||||
|
||||
/**
|
||||
* Worker methods for Geos
|
||||
+4
-4
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.image;
|
||||
package org.apache.ofbiz.common.image;
|
||||
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Image;
|
||||
@@ -33,9 +33,9 @@ import javax.imageio.ImageIO;
|
||||
import javax.swing.ImageIcon;
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.xml.sax.SAXException;
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Element;
|
||||
+13
-13
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.common.login;
|
||||
package org.apache.ofbiz.common.login;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
@@ -28,18 +28,18 @@ import javax.naming.directory.DirContext;
|
||||
import javax.naming.directory.InitialDirContext;
|
||||
import javax.transaction.Transaction;
|
||||
|
||||
import org.ofbiz.base.crypto.HashCrypt;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.transaction.GenericTransactionException;
|
||||
import org.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.base.crypto.HashCrypt;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.transaction.GenericTransactionException;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
|
||||
/** LDAP Authentication Services.
|
||||
*/
|
||||
+28
-28
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.common.login;
|
||||
package org.apache.ofbiz.common.login;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.HashMap;
|
||||
@@ -31,33 +31,33 @@ import java.util.regex.Pattern;
|
||||
|
||||
import javax.transaction.Transaction;
|
||||
|
||||
import org.ofbiz.base.crypto.HashCrypt;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilDateTime;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.common.authentication.AuthHelper;
|
||||
import org.ofbiz.common.authentication.api.AuthenticatorException;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.condition.EntityFunction;
|
||||
import org.ofbiz.entity.condition.EntityOperator;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.transaction.GenericTransactionException;
|
||||
import org.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.ofbiz.entity.util.EntityListIterator;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.ofbiz.security.Security;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.GenericServiceException;
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.ofbiz.service.ModelService;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.ofbiz.webapp.control.LoginWorker;
|
||||
import org.apache.ofbiz.base.crypto.HashCrypt;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilDateTime;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.common.authentication.AuthHelper;
|
||||
import org.apache.ofbiz.common.authentication.api.AuthenticatorException;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.condition.EntityFunction;
|
||||
import org.apache.ofbiz.entity.condition.EntityOperator;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.transaction.GenericTransactionException;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.apache.ofbiz.entity.util.EntityListIterator;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.apache.ofbiz.security.Security;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ModelService;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.webapp.control.LoginWorker;
|
||||
|
||||
/**
|
||||
* <b>Title:</b> Login Services
|
||||
+7
-7
@@ -18,16 +18,16 @@
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
package org.ofbiz.common.period;
|
||||
package org.apache.ofbiz.common.period;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.ofbiz.base.util.UtilDateTime;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.condition.EntityConditionList;
|
||||
import org.ofbiz.entity.condition.EntityExpr;
|
||||
import org.ofbiz.entity.condition.EntityOperator;
|
||||
import org.apache.ofbiz.base.util.UtilDateTime;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.condition.EntityConditionList;
|
||||
import org.apache.ofbiz.entity.condition.EntityExpr;
|
||||
import org.apache.ofbiz.entity.condition.EntityOperator;
|
||||
|
||||
public final class PeriodWorker {
|
||||
|
||||
+14
-14
@@ -16,26 +16,26 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.preferences;
|
||||
package org.apache.ofbiz.common.preferences;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.GeneralException;
|
||||
import org.ofbiz.base.util.ObjectType;
|
||||
import static org.ofbiz.base.util.UtilGenerics.checkMap;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.GeneralException;
|
||||
import org.apache.ofbiz.base.util.ObjectType;
|
||||
import static org.apache.ofbiz.base.util.UtilGenerics.checkMap;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
|
||||
/**
|
||||
* User preference services.<p>User preferences are stored as key-value pairs.
|
||||
+9
-9
@@ -16,20 +16,20 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.preferences;
|
||||
package org.apache.ofbiz.common.preferences;
|
||||
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.GeneralException;
|
||||
import org.ofbiz.base.util.ObjectType;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.security.Security;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.base.util.GeneralException;
|
||||
import org.apache.ofbiz.base.util.ObjectType;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.security.Security;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
|
||||
/**
|
||||
* User preference worker methods.
|
||||
+9
-9
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.ofbiz.common.qrcode;
|
||||
package org.apache.ofbiz.common.qrcode;
|
||||
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.IOException;
|
||||
@@ -30,14 +30,14 @@ import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.servlet.http.HttpSession;
|
||||
|
||||
import org.ofbiz.base.util.UtilHttp;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.service.GenericServiceException;
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.base.util.UtilHttp;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
|
||||
/**
|
||||
* Events for QRCode.
|
||||
+8
-8
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.ofbiz.common.qrcode;
|
||||
package org.apache.ofbiz.common.qrcode;
|
||||
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.geom.AffineTransform;
|
||||
@@ -31,13 +31,13 @@ import java.util.Map;
|
||||
import java.io.IOException;
|
||||
import java.lang.Integer;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.FileUtil;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.common.image.ImageTransform;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.FileUtil;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.common.image.ImageTransform;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
|
||||
import com.google.zxing.BarcodeFormat;
|
||||
import com.google.zxing.ChecksumException;
|
||||
+11
-11
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.scripting;
|
||||
package org.apache.ofbiz.common.scripting;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
@@ -31,16 +31,16 @@ import javax.script.ScriptEngine;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.ofbiz.base.util.Assert;
|
||||
import org.ofbiz.base.util.ScriptUtil;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.base.util.collections.FlexibleMapAccessor;
|
||||
import org.ofbiz.base.util.string.FlexibleStringExpander;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.security.Security;
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.ofbiz.service.ModelService;
|
||||
import org.apache.ofbiz.base.util.Assert;
|
||||
import org.apache.ofbiz.base.util.ScriptUtil;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.base.util.collections.FlexibleMapAccessor;
|
||||
import org.apache.ofbiz.base.util.string.FlexibleStringExpander;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.security.Security;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ModelService;
|
||||
|
||||
/**
|
||||
* A set of <code>ScriptContext</code> convenience methods for scripting engines.
|
||||
+3
-3
@@ -16,12 +16,12 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.scripting;
|
||||
package org.apache.ofbiz.common.scripting;
|
||||
|
||||
import javax.script.ScriptContext;
|
||||
|
||||
import org.ofbiz.base.util.ScriptHelper;
|
||||
import org.ofbiz.base.util.ScriptHelperFactory;
|
||||
import org.apache.ofbiz.base.util.ScriptHelper;
|
||||
import org.apache.ofbiz.base.util.ScriptHelperFactory;
|
||||
|
||||
/**
|
||||
* An implementation of the <code>ScriptHelperFactory</code> interface.
|
||||
+15
-15
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.scripting;
|
||||
package org.apache.ofbiz.common.scripting;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
@@ -28,20 +28,20 @@ import java.util.Set;
|
||||
import javax.script.ScriptContext;
|
||||
import javax.script.ScriptException;
|
||||
|
||||
import org.ofbiz.base.util.Assert;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.ScriptHelper;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericPK;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.service.GenericServiceException;
|
||||
import org.ofbiz.service.ModelService;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.base.util.Assert;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.ScriptHelper;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericPK;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.ModelService;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
|
||||
/**
|
||||
* An implementation of the <code>ScriptHelper</code> interface.
|
||||
+11
-11
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.status;
|
||||
package org.apache.ofbiz.common.status;
|
||||
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.LinkedList;
|
||||
@@ -24,18 +24,18 @@ import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
|
||||
import static org.ofbiz.base.util.UtilGenerics.checkList;
|
||||
import static org.apache.ofbiz.base.util.UtilGenerics.checkList;
|
||||
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
|
||||
/**
|
||||
* StatusServices
|
||||
+6
-6
@@ -16,18 +16,18 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.status;
|
||||
package org.apache.ofbiz.common.status;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.servlet.jsp.PageContext;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
|
||||
/**
|
||||
* StatusWorker
|
||||
+10
-10
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.common.test;
|
||||
package org.apache.ofbiz.common.test;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.HashMap;
|
||||
@@ -24,15 +24,15 @@ import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilDateTime;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.util.EntityListIterator;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.ofbiz.service.testtools.OFBizTestCase;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilDateTime;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.util.EntityListIterator;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
import org.apache.ofbiz.service.testtools.OFBizTestCase;
|
||||
|
||||
public class PerformFindTests extends OFBizTestCase {
|
||||
|
||||
+5
-5
@@ -17,17 +17,17 @@
|
||||
under the License.
|
||||
*/
|
||||
|
||||
package org.ofbiz.common.uom;
|
||||
package org.apache.ofbiz.common.uom;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.service.GenericServiceException;
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.ofbiz.service.ModelService;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ModelService;
|
||||
|
||||
import com.ibm.icu.util.Calendar;
|
||||
|
||||
Reference in New Issue
Block a user