(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:
+8
-8
@@ -15,11 +15,11 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
org.ofbiz.entity.util.Converters
|
||||
org.ofbiz.base.conversion.BooleanConverters
|
||||
org.ofbiz.base.conversion.CollectionConverters
|
||||
org.ofbiz.base.conversion.DateTimeConverters
|
||||
org.ofbiz.base.conversion.JSONConverters
|
||||
org.ofbiz.base.conversion.MiscConverters
|
||||
org.ofbiz.base.conversion.NetConverters
|
||||
org.ofbiz.base.conversion.NumberConverters
|
||||
org.apache.ofbiz.entity.util.Converters
|
||||
org.apache.ofbiz.base.conversion.BooleanConverters
|
||||
org.apache.ofbiz.base.conversion.CollectionConverters
|
||||
org.apache.ofbiz.base.conversion.DateTimeConverters
|
||||
org.apache.ofbiz.base.conversion.JSONConverters
|
||||
org.apache.ofbiz.base.conversion.MiscConverters
|
||||
org.apache.ofbiz.base.conversion.NetConverters
|
||||
org.apache.ofbiz.base.conversion.NumberConverters
|
||||
+1
-1
@@ -15,4 +15,4 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
org.ofbiz.entity.DelegatorFactoryImpl
|
||||
org.apache.ofbiz.entity.DelegatorFactoryImpl
|
||||
+19
-19
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
import java.net.URL;
|
||||
import java.util.Collection;
|
||||
@@ -26,24 +26,24 @@ import java.util.Set;
|
||||
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
|
||||
import org.ofbiz.entity.cache.Cache;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.datasource.GenericHelper;
|
||||
import org.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
import org.ofbiz.entity.eca.EntityEcaHandler;
|
||||
import org.ofbiz.entity.model.DynamicViewEntity;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.entity.model.ModelFieldType;
|
||||
import org.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.ofbiz.entity.model.ModelGroupReader;
|
||||
import org.ofbiz.entity.model.ModelReader;
|
||||
import org.ofbiz.entity.util.DistributedCacheClear;
|
||||
import org.ofbiz.entity.util.EntityCrypto;
|
||||
import org.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.ofbiz.entity.util.EntityListIterator;
|
||||
import org.ofbiz.entity.util.EntityStoreOptions;
|
||||
import org.ofbiz.entity.util.SequenceUtil;
|
||||
import org.apache.ofbiz.entity.cache.Cache;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.datasource.GenericHelper;
|
||||
import org.apache.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
import org.apache.ofbiz.entity.eca.EntityEcaHandler;
|
||||
import org.apache.ofbiz.entity.model.DynamicViewEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldType;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.apache.ofbiz.entity.model.ModelGroupReader;
|
||||
import org.apache.ofbiz.entity.model.ModelReader;
|
||||
import org.apache.ofbiz.entity.util.DistributedCacheClear;
|
||||
import org.apache.ofbiz.entity.util.EntityCrypto;
|
||||
import org.apache.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.apache.ofbiz.entity.util.EntityListIterator;
|
||||
import org.apache.ofbiz.entity.util.EntityStoreOptions;
|
||||
import org.apache.ofbiz.entity.util.SequenceUtil;
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Element;
|
||||
import org.xml.sax.SAXException;
|
||||
+7
-7
@@ -17,18 +17,18 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.Future;
|
||||
|
||||
import org.ofbiz.base.concurrent.ExecutionPool;
|
||||
import org.ofbiz.base.container.Container;
|
||||
import org.ofbiz.base.container.ContainerConfig;
|
||||
import org.ofbiz.base.container.ContainerException;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.base.util.StringUtil;
|
||||
import org.apache.ofbiz.base.concurrent.ExecutionPool;
|
||||
import org.apache.ofbiz.base.container.Container;
|
||||
import org.apache.ofbiz.base.container.ContainerConfig;
|
||||
import org.apache.ofbiz.base.container.ContainerException;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.base.util.StringUtil;
|
||||
|
||||
public class DelegatorContainer implements Container {
|
||||
private String name;
|
||||
+5
-5
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
@@ -25,11 +25,11 @@ import java.util.concurrent.Future;
|
||||
import java.util.concurrent.FutureTask;
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
|
||||
import org.ofbiz.base.concurrent.ExecutionPool;
|
||||
import org.apache.ofbiz.base.concurrent.ExecutionPool;
|
||||
|
||||
import org.ofbiz.base.lang.Factory;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilObject;
|
||||
import org.apache.ofbiz.base.lang.Factory;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilObject;
|
||||
|
||||
/** <code>Delegator</code> factory abstract class. */
|
||||
public abstract class DelegatorFactory implements Factory<Delegator, String> {
|
||||
+2
-2
@@ -16,9 +16,9 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
|
||||
/** A <code>DelegatorFactory</code> implementation that returns an
|
||||
* instance of <code>GenericDelegator</code>. */
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class EntityCryptoException extends GenericEntityException {
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* EntityLockedException
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* GenericCreateException
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* GenericDataSourceException
|
||||
+145
-145
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
@@ -39,47 +39,47 @@ import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
|
||||
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
|
||||
import org.ofbiz.base.concurrent.ConstantFuture;
|
||||
import org.ofbiz.base.concurrent.ExecutionPool;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.GeneralRuntimeException;
|
||||
import org.ofbiz.base.util.UtilDateTime;
|
||||
import org.ofbiz.base.util.UtilFormatOut;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilObject;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.entity.cache.Cache;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.config.model.DelegatorElement;
|
||||
import org.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.ofbiz.entity.datasource.GenericHelper;
|
||||
import org.ofbiz.entity.datasource.GenericHelperFactory;
|
||||
import org.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
import org.ofbiz.entity.eca.EntityEcaHandler;
|
||||
import org.ofbiz.entity.model.DynamicViewEntity;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelEntityChecker;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.entity.model.ModelFieldType;
|
||||
import org.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.ofbiz.entity.model.ModelGroupReader;
|
||||
import org.ofbiz.entity.model.ModelKeyMap;
|
||||
import org.ofbiz.entity.model.ModelReader;
|
||||
import org.ofbiz.entity.model.ModelRelation;
|
||||
import org.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.ofbiz.entity.serialize.SerializeException;
|
||||
import org.ofbiz.entity.serialize.XmlSerializer;
|
||||
import org.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.ofbiz.entity.util.DistributedCacheClear;
|
||||
import org.ofbiz.entity.util.EntityCrypto;
|
||||
import org.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.ofbiz.entity.util.EntityListIterator;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.ofbiz.entity.util.EntityStoreOptions;
|
||||
import org.ofbiz.entity.util.SequenceUtil;
|
||||
import org.apache.ofbiz.base.concurrent.ConstantFuture;
|
||||
import org.apache.ofbiz.base.concurrent.ExecutionPool;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.GeneralRuntimeException;
|
||||
import org.apache.ofbiz.base.util.UtilDateTime;
|
||||
import org.apache.ofbiz.base.util.UtilFormatOut;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilObject;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.entity.cache.Cache;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.config.model.DelegatorElement;
|
||||
import org.apache.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.apache.ofbiz.entity.datasource.GenericHelper;
|
||||
import org.apache.ofbiz.entity.datasource.GenericHelperFactory;
|
||||
import org.apache.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
import org.apache.ofbiz.entity.eca.EntityEcaHandler;
|
||||
import org.apache.ofbiz.entity.model.DynamicViewEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelEntityChecker;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldType;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.apache.ofbiz.entity.model.ModelGroupReader;
|
||||
import org.apache.ofbiz.entity.model.ModelKeyMap;
|
||||
import org.apache.ofbiz.entity.model.ModelReader;
|
||||
import org.apache.ofbiz.entity.model.ModelRelation;
|
||||
import org.apache.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.apache.ofbiz.entity.serialize.SerializeException;
|
||||
import org.apache.ofbiz.entity.serialize.XmlSerializer;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.apache.ofbiz.entity.util.DistributedCacheClear;
|
||||
import org.apache.ofbiz.entity.util.EntityCrypto;
|
||||
import org.apache.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.apache.ofbiz.entity.util.EntityListIterator;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.entity.util.EntityStoreOptions;
|
||||
import org.apache.ofbiz.entity.util.SequenceUtil;
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Element;
|
||||
import org.w3c.dom.Node;
|
||||
@@ -300,7 +300,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#initEntityEcaHandler()
|
||||
* @see org.apache.ofbiz.entity.Delegator#initEntityEcaHandler()
|
||||
*/
|
||||
@Override
|
||||
public synchronized void initEntityEcaHandler() {
|
||||
@@ -351,7 +351,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getDelegatorName()
|
||||
* @see org.apache.ofbiz.entity.Delegator#getDelegatorName()
|
||||
*/
|
||||
@Override
|
||||
public String getDelegatorName() {
|
||||
@@ -359,7 +359,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getDelegatorBaseName()
|
||||
* @see org.apache.ofbiz.entity.Delegator#getDelegatorBaseName()
|
||||
*/
|
||||
@Override
|
||||
public String getDelegatorBaseName() {
|
||||
@@ -367,7 +367,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getDelegatorBaseName()
|
||||
* @see org.apache.ofbiz.entity.Delegator#getDelegatorBaseName()
|
||||
*/
|
||||
@Override
|
||||
public String getDelegatorTenantId() {
|
||||
@@ -375,7 +375,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getOriginalDelegatorName()
|
||||
* @see org.apache.ofbiz.entity.Delegator#getOriginalDelegatorName()
|
||||
*/
|
||||
@Override
|
||||
public String getOriginalDelegatorName() {
|
||||
@@ -383,7 +383,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getModelReader()
|
||||
* @see org.apache.ofbiz.entity.Delegator#getModelReader()
|
||||
*/
|
||||
@Override
|
||||
public ModelReader getModelReader() {
|
||||
@@ -391,7 +391,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getModelGroupReader()
|
||||
* @see org.apache.ofbiz.entity.Delegator#getModelGroupReader()
|
||||
*/
|
||||
@Override
|
||||
public ModelGroupReader getModelGroupReader() {
|
||||
@@ -399,7 +399,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getModelEntity(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getModelEntity(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public ModelEntity getModelEntity(String entityName) {
|
||||
@@ -412,7 +412,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getEntityGroupName(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getEntityGroupName(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public String getEntityGroupName(String entityName) {
|
||||
@@ -420,7 +420,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getModelEntityMapByGroup(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getModelEntityMapByGroup(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public Map<String, ModelEntity> getModelEntityMapByGroup(String groupName) throws GenericEntityException {
|
||||
@@ -464,7 +464,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getGroupHelperName(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getGroupHelperName(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public String getGroupHelperName(String groupName) {
|
||||
@@ -480,7 +480,7 @@ public class GenericDelegator implements Delegator {
|
||||
if (helperBaseName == null) {
|
||||
return null;
|
||||
}
|
||||
if (UtilValidate.isNotEmpty(this.delegatorTenantId) && "org.ofbiz.tenant".equals(entityGroupName)) {
|
||||
if (UtilValidate.isNotEmpty(this.delegatorTenantId) && "org.apache.ofbiz.tenant".equals(entityGroupName)) {
|
||||
Debug.logInfo("Can't access entity of entityGroup = " + entityGroupName + " using tenant delegator "+ this.getDelegatorName()+", use base delegator instead", module);
|
||||
return null;
|
||||
}
|
||||
@@ -514,7 +514,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getEntityHelperName(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getEntityHelperName(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public String getEntityHelperName(String entityName) {
|
||||
@@ -522,7 +522,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getEntityHelperName(org.ofbiz.entity.model.ModelEntity)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getEntityHelperName(org.apache.ofbiz.entity.model.ModelEntity)
|
||||
*/
|
||||
@Override
|
||||
public String getEntityHelperName(ModelEntity entity) {
|
||||
@@ -533,7 +533,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getEntityHelper(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getEntityHelper(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public GenericHelper getEntityHelper(String entityName) throws GenericEntityException {
|
||||
@@ -547,7 +547,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getEntityHelper(org.ofbiz.entity.model.ModelEntity)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getEntityHelper(org.apache.ofbiz.entity.model.ModelEntity)
|
||||
*/
|
||||
@Override
|
||||
public GenericHelper getEntityHelper(ModelEntity entity) throws GenericEntityException {
|
||||
@@ -555,7 +555,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getEntityFieldType(org.ofbiz.entity.model.ModelEntity, java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getEntityFieldType(org.apache.ofbiz.entity.model.ModelEntity, java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public ModelFieldType getEntityFieldType(ModelEntity entity, String type) throws GenericEntityException {
|
||||
@@ -563,7 +563,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getModelFieldTypeReader(org.apache.ofbiz.entity.model.ModelEntity)
|
||||
*/
|
||||
@Override
|
||||
public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) {
|
||||
@@ -579,7 +579,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getEntityFieldTypeNames(org.ofbiz.entity.model.ModelEntity)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getEntityFieldTypeNames(org.apache.ofbiz.entity.model.ModelEntity)
|
||||
*/
|
||||
@Override
|
||||
public Collection<String> getEntityFieldTypeNames(ModelEntity entity) throws GenericEntityException {
|
||||
@@ -597,7 +597,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makeValue(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makeValue(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue makeValue(String entityName) {
|
||||
@@ -611,7 +611,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makeValue(java.lang.String, java.lang.Object)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makeValue(java.lang.String, java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue makeValue(String entityName, Object... fields) {
|
||||
@@ -619,7 +619,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makeValue(java.lang.String, java.util.Map)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makeValue(java.lang.String, java.util.Map)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue makeValue(String entityName, Map<String, ? extends Object> fields) {
|
||||
@@ -631,7 +631,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makeValueSingle(java.lang.String, java.lang.Object)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makeValueSingle(java.lang.String, java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue makeValueSingle(String entityName, Object singlePkValue) {
|
||||
@@ -643,7 +643,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makeValidValue(java.lang.String, java.lang.Object)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makeValidValue(java.lang.String, java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue makeValidValue(String entityName, Object... fields) {
|
||||
@@ -651,7 +651,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makeValidValue(java.lang.String, java.util.Map)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makeValidValue(java.lang.String, java.util.Map)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue makeValidValue(String entityName, Map<String, ? extends Object> fields) {
|
||||
@@ -666,7 +666,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makePK(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makePK(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public GenericPK makePK(String entityName) {
|
||||
@@ -674,7 +674,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makePK(java.lang.String, java.lang.Object)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makePK(java.lang.String, java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public GenericPK makePK(String entityName, Object... fields) {
|
||||
@@ -682,7 +682,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makePK(java.lang.String, java.util.Map)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makePK(java.lang.String, java.util.Map)
|
||||
*/
|
||||
@Override
|
||||
public GenericPK makePK(String entityName, Map<String, ? extends Object> fields) {
|
||||
@@ -694,7 +694,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makePKSingle(java.lang.String, java.lang.Object)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makePKSingle(java.lang.String, java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public GenericPK makePKSingle(String entityName, Object singlePkValue) {
|
||||
@@ -706,7 +706,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#create(org.ofbiz.entity.GenericPK)
|
||||
* @see org.apache.ofbiz.entity.Delegator#create(org.apache.ofbiz.entity.GenericPK)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue create(GenericPK primaryKey) throws GenericEntityException {
|
||||
@@ -718,7 +718,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#create(java.lang.String, java.lang.Object)
|
||||
* @see org.apache.ofbiz.entity.Delegator#create(java.lang.String, java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue create(String entityName, Object... fields) throws GenericEntityException {
|
||||
@@ -726,7 +726,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#create(java.lang.String, java.util.Map)
|
||||
* @see org.apache.ofbiz.entity.Delegator#create(java.lang.String, java.util.Map)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue create(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException {
|
||||
@@ -740,7 +740,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#createSingle(java.lang.String, java.lang.Object)
|
||||
* @see org.apache.ofbiz.entity.Delegator#createSingle(java.lang.String, java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue createSingle(String entityName, Object singlePkValue) throws GenericEntityException {
|
||||
@@ -754,7 +754,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#createSetNextSeqId(org.ofbiz.entity.GenericValue)
|
||||
* @see org.apache.ofbiz.entity.Delegator#createSetNextSeqId(org.apache.ofbiz.entity.GenericValue)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue createSetNextSeqId(GenericValue value) throws GenericEntityException {
|
||||
@@ -848,7 +848,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#create(org.ofbiz.entity.GenericValue)
|
||||
* @see org.apache.ofbiz.entity.Delegator#create(org.apache.ofbiz.entity.GenericValue)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue create(GenericValue value) throws GenericEntityException {
|
||||
@@ -904,7 +904,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#createOrStore(org.ofbiz.entity.GenericValue)
|
||||
* @see org.apache.ofbiz.entity.Delegator#createOrStore(org.apache.ofbiz.entity.GenericValue)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue createOrStore(GenericValue value) throws GenericEntityException {
|
||||
@@ -963,7 +963,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#removeByPrimaryKey(org.ofbiz.entity.GenericPK)
|
||||
* @see org.apache.ofbiz.entity.Delegator#removeByPrimaryKey(org.apache.ofbiz.entity.GenericPK)
|
||||
*/
|
||||
@Override
|
||||
public int removeByPrimaryKey(GenericPK primaryKey) throws GenericEntityException {
|
||||
@@ -1015,7 +1015,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#removeValue(org.ofbiz.entity.GenericValue)
|
||||
* @see org.apache.ofbiz.entity.Delegator#removeValue(org.apache.ofbiz.entity.GenericValue)
|
||||
*/
|
||||
@Override
|
||||
public int removeValue(GenericValue value) throws GenericEntityException {
|
||||
@@ -1072,7 +1072,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#removeByAnd(java.lang.String, java.lang.Object)
|
||||
* @see org.apache.ofbiz.entity.Delegator#removeByAnd(java.lang.String, java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public int removeByAnd(String entityName, Object... fields) throws GenericEntityException {
|
||||
@@ -1080,7 +1080,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#removeByAnd(java.lang.String, java.util.Map)
|
||||
* @see org.apache.ofbiz.entity.Delegator#removeByAnd(java.lang.String, java.util.Map)
|
||||
*/
|
||||
@Override
|
||||
public int removeByAnd(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException {
|
||||
@@ -1089,7 +1089,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#removeByCondition(java.lang.String, org.ofbiz.entity.condition.EntityCondition)
|
||||
* @see org.apache.ofbiz.entity.Delegator#removeByCondition(java.lang.String, org.apache.ofbiz.entity.condition.EntityCondition)
|
||||
*/
|
||||
@Override
|
||||
public int removeByCondition(String entityName, EntityCondition condition) throws GenericEntityException {
|
||||
@@ -1128,7 +1128,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#removeRelated(java.lang.String, org.ofbiz.entity.GenericValue)
|
||||
* @see org.apache.ofbiz.entity.Delegator#removeRelated(java.lang.String, org.apache.ofbiz.entity.GenericValue)
|
||||
*/
|
||||
@Override
|
||||
public int removeRelated(String relationName, GenericValue value) throws GenericEntityException {
|
||||
@@ -1148,7 +1148,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#refresh(org.ofbiz.entity.GenericValue)
|
||||
* @see org.apache.ofbiz.entity.Delegator#refresh(org.apache.ofbiz.entity.GenericValue)
|
||||
*/
|
||||
@Override
|
||||
public void refresh(GenericValue value) throws GenericEntityException {
|
||||
@@ -1161,7 +1161,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#refreshFromCache(org.ofbiz.entity.GenericValue)
|
||||
* @see org.apache.ofbiz.entity.Delegator#refreshFromCache(org.apache.ofbiz.entity.GenericValue)
|
||||
*/
|
||||
@Override
|
||||
public void refreshFromCache(GenericValue value) throws GenericEntityException {
|
||||
@@ -1171,7 +1171,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#storeByCondition(java.lang.String, java.util.Map, org.ofbiz.entity.condition.EntityCondition)
|
||||
* @see org.apache.ofbiz.entity.Delegator#storeByCondition(java.lang.String, java.util.Map, org.apache.ofbiz.entity.condition.EntityCondition)
|
||||
*/
|
||||
@Override
|
||||
public int storeByCondition(String entityName, Map<String, ? extends Object> fieldsToSet, EntityCondition condition) throws GenericEntityException {
|
||||
@@ -1210,7 +1210,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#store(org.ofbiz.entity.GenericValue)
|
||||
* @see org.apache.ofbiz.entity.Delegator#store(org.apache.ofbiz.entity.GenericValue)
|
||||
*/
|
||||
@Override
|
||||
public int store(GenericValue value) throws GenericEntityException {
|
||||
@@ -1263,7 +1263,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#storeAll(java.util.List)
|
||||
* @see org.apache.ofbiz.entity.Delegator#storeAll(java.util.List)
|
||||
*/
|
||||
@Override
|
||||
public int storeAll(List<GenericValue> values) throws GenericEntityException {
|
||||
@@ -1271,7 +1271,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#storeAll(java.util.List, org.ofbiz.entity.util.EntityStoreOptions)
|
||||
* @see org.apache.ofbiz.entity.Delegator#storeAll(java.util.List, org.apache.ofbiz.entity.util.EntityStoreOptions)
|
||||
*/
|
||||
@Override
|
||||
public int storeAll(List<GenericValue> values, EntityStoreOptions storeOptions) throws GenericEntityException {
|
||||
@@ -1349,7 +1349,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#removeAll(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#removeAll(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public int removeAll(String entityName) throws GenericEntityException {
|
||||
@@ -1357,7 +1357,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#removeAll(java.util.List)
|
||||
* @see org.apache.ofbiz.entity.Delegator#removeAll(java.util.List)
|
||||
*/
|
||||
@Override
|
||||
public int removeAll(List<? extends GenericEntity> dummyPKs) throws GenericEntityException {
|
||||
@@ -1391,7 +1391,7 @@ public class GenericDelegator implements Delegator {
|
||||
// ======================================
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#findOne(java.lang.String, boolean, java.lang.Object)
|
||||
* @see org.apache.ofbiz.entity.Delegator#findOne(java.lang.String, boolean, java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue findOne(String entityName, boolean useCache, Object... fields) throws GenericEntityException {
|
||||
@@ -1399,7 +1399,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#findOne(java.lang.String, java.util.Map, boolean)
|
||||
* @see org.apache.ofbiz.entity.Delegator#findOne(java.lang.String, java.util.Map, boolean)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue findOne(String entityName, Map<String, ? extends Object> fields, boolean useCache) throws GenericEntityException {
|
||||
@@ -1460,7 +1460,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#findByPrimaryKeyPartial(org.ofbiz.entity.GenericPK, java.util.Set)
|
||||
* @see org.apache.ofbiz.entity.Delegator#findByPrimaryKeyPartial(org.apache.ofbiz.entity.GenericPK, java.util.Set)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys) throws GenericEntityException {
|
||||
@@ -1500,7 +1500,7 @@ public class GenericDelegator implements Delegator {
|
||||
|
||||
/** Finds all Generic entities
|
||||
*@param entityName The Name of the Entity as defined in the entity XML file
|
||||
* @see org.ofbiz.entity.Delegator#findAll(java.lang.String, boolean)
|
||||
* @see org.apache.ofbiz.entity.Delegator#findAll(java.lang.String, boolean)
|
||||
*/
|
||||
@Override
|
||||
public List<GenericValue> findAll(String entityName, boolean useCache) throws GenericEntityException {
|
||||
@@ -1508,7 +1508,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#findByAnd(java.lang.String, java.util.Map, java.util.List, boolean)
|
||||
* @see org.apache.ofbiz.entity.Delegator#findByAnd(java.lang.String, java.util.Map, java.util.List, boolean)
|
||||
*/
|
||||
@Override
|
||||
public List<GenericValue> findByAnd(String entityName, Map<String, ? extends Object> fields, List<String> orderBy, boolean useCache) throws GenericEntityException {
|
||||
@@ -1516,7 +1516,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#find(java.lang.String, org.ofbiz.entity.condition.EntityCondition, org.ofbiz.entity.condition.EntityCondition, java.util.Set, java.util.List, org.ofbiz.entity.util.EntityFindOptions)
|
||||
* @see org.apache.ofbiz.entity.Delegator#find(java.lang.String, org.apache.ofbiz.entity.condition.EntityCondition, org.apache.ofbiz.entity.condition.EntityCondition, java.util.Set, java.util.List, org.apache.ofbiz.entity.util.EntityFindOptions)
|
||||
*/
|
||||
@Override
|
||||
public EntityListIterator find(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Set<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) throws GenericEntityException {
|
||||
@@ -1552,7 +1552,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#findList(java.lang.String, org.ofbiz.entity.condition.EntityCondition, java.util.Set, java.util.List, org.ofbiz.entity.util.EntityFindOptions, boolean)
|
||||
* @see org.apache.ofbiz.entity.Delegator#findList(java.lang.String, org.apache.ofbiz.entity.condition.EntityCondition, java.util.Set, java.util.List, org.apache.ofbiz.entity.util.EntityFindOptions, boolean)
|
||||
*/
|
||||
@Override
|
||||
public List<GenericValue> findList(String entityName, EntityCondition entityCondition, Set<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions, boolean useCache) throws GenericEntityException {
|
||||
@@ -1605,7 +1605,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#findListIteratorByCondition(org.ofbiz.entity.model.DynamicViewEntity, org.ofbiz.entity.condition.EntityCondition, org.ofbiz.entity.condition.EntityCondition, java.util.Collection, java.util.List, org.ofbiz.entity.util.EntityFindOptions)
|
||||
* @see org.apache.ofbiz.entity.Delegator#findListIteratorByCondition(org.apache.ofbiz.entity.model.DynamicViewEntity, org.apache.ofbiz.entity.condition.EntityCondition, org.apache.ofbiz.entity.condition.EntityCondition, java.util.Collection, java.util.List, org.apache.ofbiz.entity.util.EntityFindOptions)
|
||||
*/
|
||||
@Override
|
||||
public EntityListIterator findListIteratorByCondition(DynamicViewEntity dynamicViewEntity, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) throws GenericEntityException {
|
||||
@@ -1632,7 +1632,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#findCountByCondition(java.lang.String, org.ofbiz.entity.condition.EntityCondition, org.ofbiz.entity.condition.EntityCondition, org.ofbiz.entity.util.EntityFindOptions)
|
||||
* @see org.apache.ofbiz.entity.Delegator#findCountByCondition(java.lang.String, org.apache.ofbiz.entity.condition.EntityCondition, org.apache.ofbiz.entity.condition.EntityCondition, org.apache.ofbiz.entity.util.EntityFindOptions)
|
||||
*/
|
||||
@Override
|
||||
public long findCountByCondition(String entityName, EntityCondition whereEntityCondition,
|
||||
@@ -1672,7 +1672,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getMultiRelation(org.ofbiz.entity.GenericValue, java.lang.String, java.lang.String, java.util.List)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getMultiRelation(org.apache.ofbiz.entity.GenericValue, java.lang.String, java.lang.String, java.util.List)
|
||||
*/
|
||||
@Override
|
||||
public List<GenericValue> getMultiRelation(GenericValue value, String relationNameOne, String relationNameTwo, List<String> orderBy) throws GenericEntityException {
|
||||
@@ -1703,7 +1703,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getRelated(java.lang.String, java.util.Map, java.util.List, org.ofbiz.entity.GenericValue, boolean)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getRelated(java.lang.String, java.util.Map, java.util.List, org.apache.ofbiz.entity.GenericValue, boolean)
|
||||
*/
|
||||
@Override
|
||||
public List<GenericValue> getRelated(String relationName, Map<String, ? extends Object> byAndFields, List<String> orderBy, GenericValue value, boolean useCache) throws GenericEntityException {
|
||||
@@ -1728,7 +1728,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getRelatedDummyPK(java.lang.String, java.util.Map, org.ofbiz.entity.GenericValue)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getRelatedDummyPK(java.lang.String, java.util.Map, org.apache.ofbiz.entity.GenericValue)
|
||||
*/
|
||||
@Override
|
||||
public GenericPK getRelatedDummyPK(String relationName, Map<String, ? extends Object> byAndFields, GenericValue value) throws GenericEntityException {
|
||||
@@ -1754,7 +1754,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getRelatedOne(java.lang.String, org.ofbiz.entity.GenericValue, boolean)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getRelatedOne(java.lang.String, org.apache.ofbiz.entity.GenericValue, boolean)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue getRelatedOne(String relationName, GenericValue value, boolean useCache) throws GenericEntityException {
|
||||
@@ -1781,7 +1781,7 @@ public class GenericDelegator implements Delegator {
|
||||
// ======================================
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearAllCaches()
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearAllCaches()
|
||||
*/
|
||||
@Override
|
||||
public void clearAllCaches() {
|
||||
@@ -1789,7 +1789,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearAllCaches(boolean)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearAllCaches(boolean)
|
||||
*/
|
||||
@Override
|
||||
public void clearAllCaches(boolean distribute) {
|
||||
@@ -1808,7 +1808,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearCacheLine(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearCacheLine(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public void clearCacheLine(String entityName) {
|
||||
@@ -1816,7 +1816,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearCacheLine(java.lang.String, java.lang.Object)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearCacheLine(java.lang.String, java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public void clearCacheLine(String entityName, Object... fields) {
|
||||
@@ -1824,7 +1824,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearCacheLine(java.lang.String, java.util.Map)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearCacheLine(java.lang.String, java.util.Map)
|
||||
*/
|
||||
@Override
|
||||
public void clearCacheLine(String entityName, Map<String, ? extends Object> fields) {
|
||||
@@ -1848,7 +1848,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearCacheLineFlexible(org.ofbiz.entity.GenericEntity)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearCacheLineFlexible(org.apache.ofbiz.entity.GenericEntity)
|
||||
*/
|
||||
@Override
|
||||
public void clearCacheLineFlexible(GenericEntity dummyPK) {
|
||||
@@ -1856,7 +1856,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearCacheLineFlexible(org.ofbiz.entity.GenericEntity, boolean)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearCacheLineFlexible(org.apache.ofbiz.entity.GenericEntity, boolean)
|
||||
*/
|
||||
@Override
|
||||
public void clearCacheLineFlexible(GenericEntity dummyPK, boolean distribute) {
|
||||
@@ -1878,7 +1878,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearCacheLineByCondition(java.lang.String, org.ofbiz.entity.condition.EntityCondition)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearCacheLineByCondition(java.lang.String, org.apache.ofbiz.entity.condition.EntityCondition)
|
||||
*/
|
||||
@Override
|
||||
public void clearCacheLineByCondition(String entityName, EntityCondition condition) {
|
||||
@@ -1886,7 +1886,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearCacheLineByCondition(java.lang.String, org.ofbiz.entity.condition.EntityCondition, boolean)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearCacheLineByCondition(java.lang.String, org.apache.ofbiz.entity.condition.EntityCondition, boolean)
|
||||
*/
|
||||
@Override
|
||||
public void clearCacheLineByCondition(String entityName, EntityCondition condition, boolean distribute) {
|
||||
@@ -1910,7 +1910,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearCacheLine(org.ofbiz.entity.GenericPK)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearCacheLine(org.apache.ofbiz.entity.GenericPK)
|
||||
*/
|
||||
@Override
|
||||
public void clearCacheLine(GenericPK primaryKey) {
|
||||
@@ -1918,7 +1918,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearCacheLine(org.ofbiz.entity.GenericPK, boolean)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearCacheLine(org.apache.ofbiz.entity.GenericPK, boolean)
|
||||
*/
|
||||
@Override
|
||||
public void clearCacheLine(GenericPK primaryKey, boolean distribute) {
|
||||
@@ -1944,7 +1944,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearCacheLine(org.ofbiz.entity.GenericValue)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearCacheLine(org.apache.ofbiz.entity.GenericValue)
|
||||
*/
|
||||
@Override
|
||||
public void clearCacheLine(GenericValue value) {
|
||||
@@ -1952,7 +1952,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearCacheLine(org.ofbiz.entity.GenericValue, boolean)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearCacheLine(org.apache.ofbiz.entity.GenericValue, boolean)
|
||||
*/
|
||||
@Override
|
||||
public void clearCacheLine(GenericValue value, boolean distribute) {
|
||||
@@ -1979,7 +1979,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearAllCacheLinesByDummyPK(java.util.Collection)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearAllCacheLinesByDummyPK(java.util.Collection)
|
||||
*/
|
||||
@Override
|
||||
public void clearAllCacheLinesByDummyPK(Collection<GenericPK> dummyPKs) {
|
||||
@@ -1992,7 +1992,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#clearAllCacheLinesByValue(java.util.Collection)
|
||||
* @see org.apache.ofbiz.entity.Delegator#clearAllCacheLinesByValue(java.util.Collection)
|
||||
*/
|
||||
@Override
|
||||
public void clearAllCacheLinesByValue(Collection<GenericValue> values) {
|
||||
@@ -2005,7 +2005,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getFromPrimaryKeyCache(org.ofbiz.entity.GenericPK)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getFromPrimaryKeyCache(org.apache.ofbiz.entity.GenericPK)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue getFromPrimaryKeyCache(GenericPK primaryKey) {
|
||||
@@ -2020,7 +2020,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#putInPrimaryKeyCache(org.ofbiz.entity.GenericPK, org.ofbiz.entity.GenericValue)
|
||||
* @see org.apache.ofbiz.entity.Delegator#putInPrimaryKeyCache(org.apache.ofbiz.entity.GenericPK, org.apache.ofbiz.entity.GenericValue)
|
||||
*/
|
||||
@Override
|
||||
public void putInPrimaryKeyCache(GenericPK primaryKey, GenericValue value) {
|
||||
@@ -2041,7 +2041,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#putAllInPrimaryKeyCache(java.util.List)
|
||||
* @see org.apache.ofbiz.entity.Delegator#putAllInPrimaryKeyCache(java.util.List)
|
||||
*/
|
||||
@Override
|
||||
public void putAllInPrimaryKeyCache(List<GenericValue> values) {
|
||||
@@ -2054,7 +2054,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#setDistributedCacheClear(org.ofbiz.entity.util.DistributedCacheClear)
|
||||
* @see org.apache.ofbiz.entity.Delegator#setDistributedCacheClear(org.apache.ofbiz.entity.util.DistributedCacheClear)
|
||||
*/
|
||||
@Override
|
||||
public void setDistributedCacheClear(DistributedCacheClear distributedCacheClear) {
|
||||
@@ -2063,7 +2063,7 @@ public class GenericDelegator implements Delegator {
|
||||
|
||||
// ======= XML Related Methods ========
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#readXmlDocument(java.net.URL)
|
||||
* @see org.apache.ofbiz.entity.Delegator#readXmlDocument(java.net.URL)
|
||||
*/
|
||||
@Override
|
||||
public List<GenericValue> readXmlDocument(URL url) throws SAXException, ParserConfigurationException, java.io.IOException {
|
||||
@@ -2074,7 +2074,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makeValues(org.w3c.dom.Document)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makeValues(org.w3c.dom.Document)
|
||||
*/
|
||||
@Override
|
||||
public List<GenericValue> makeValues(Document document) {
|
||||
@@ -2114,7 +2114,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makePK(org.w3c.dom.Element)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makePK(org.w3c.dom.Element)
|
||||
*/
|
||||
@Override
|
||||
public GenericPK makePK(Element element) {
|
||||
@@ -2124,7 +2124,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makeValue(org.w3c.dom.Element)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makeValue(org.w3c.dom.Element)
|
||||
*/
|
||||
@Override
|
||||
public GenericValue makeValue(Element element) {
|
||||
@@ -2206,7 +2206,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#setEntityEcaHandler(org.ofbiz.entity.eca.EntityEcaHandler)
|
||||
* @see org.apache.ofbiz.entity.Delegator#setEntityEcaHandler(org.apache.ofbiz.entity.eca.EntityEcaHandler)
|
||||
*/
|
||||
@Override
|
||||
public <T> void setEntityEcaHandler(EntityEcaHandler<T> entityEcaHandler) {
|
||||
@@ -2215,7 +2215,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getEntityEcaHandler()
|
||||
* @see org.apache.ofbiz.entity.Delegator#getEntityEcaHandler()
|
||||
*/
|
||||
@Override
|
||||
public <T> EntityEcaHandler<T> getEntityEcaHandler() {
|
||||
@@ -2231,7 +2231,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getNextSeqId(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getNextSeqId(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public String getNextSeqId(String seqName) {
|
||||
@@ -2239,7 +2239,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getNextSeqId(java.lang.String, long)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getNextSeqId(java.lang.String, long)
|
||||
*/
|
||||
@Override
|
||||
public String getNextSeqId(String seqName, long staggerMax) {
|
||||
@@ -2258,7 +2258,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getNextSeqIdLong(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getNextSeqIdLong(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public Long getNextSeqIdLong(String seqName) {
|
||||
@@ -2266,7 +2266,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getNextSeqIdLong(java.lang.String, long)
|
||||
* @see org.apache.ofbiz.entity.Delegator#getNextSeqIdLong(java.lang.String, long)
|
||||
*/
|
||||
public Long getNextSeqIdLong(String seqName, long staggerMax) {
|
||||
try {
|
||||
@@ -2294,7 +2294,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#setSequencer(org.ofbiz.entity.util.SequenceUtil)
|
||||
* @see org.apache.ofbiz.entity.Delegator#setSequencer(org.apache.ofbiz.entity.util.SequenceUtil)
|
||||
*/
|
||||
@Override
|
||||
public void setSequencer(SequenceUtil sequencer) {
|
||||
@@ -2302,7 +2302,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#refreshSequencer()
|
||||
* @see org.apache.ofbiz.entity.Delegator#refreshSequencer()
|
||||
*/
|
||||
@Override
|
||||
public void refreshSequencer() {
|
||||
@@ -2311,7 +2311,7 @@ public class GenericDelegator implements Delegator {
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#setNextSubSeqId(org.ofbiz.entity.GenericValue, java.lang.String, int, int)
|
||||
* @see org.apache.ofbiz.entity.Delegator#setNextSubSeqId(org.apache.ofbiz.entity.GenericValue, java.lang.String, int, int)
|
||||
*/
|
||||
@Override
|
||||
public void setNextSubSeqId(GenericValue value, String seqFieldName, int numericPadding, int incrementBy) {
|
||||
@@ -2397,7 +2397,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#encryptFieldValue(java.lang.String, java.lang.Object)
|
||||
* @see org.apache.ofbiz.entity.Delegator#encryptFieldValue(java.lang.String, java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public Object decryptFieldValue(String entityName, ModelField.EncryptMethod encryptMethod, String encValue) throws EntityCryptoException {
|
||||
@@ -2408,7 +2408,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#setEntityCrypto(org.ofbiz.entity.util.EntityCrypto)
|
||||
* @see org.apache.ofbiz.entity.Delegator#setEntityCrypto(org.apache.ofbiz.entity.util.EntityCrypto)
|
||||
*/
|
||||
@Override
|
||||
public void setEntityCrypto(EntityCrypto crypto) {
|
||||
@@ -2425,7 +2425,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#getCache()
|
||||
* @see org.apache.ofbiz.entity.Delegator#getCache()
|
||||
*/
|
||||
@Override
|
||||
public Cache getCache() {
|
||||
@@ -2504,7 +2504,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#cloneDelegator(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#cloneDelegator(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public Delegator cloneDelegator(String delegatorFullName) {
|
||||
@@ -2534,7 +2534,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#cloneDelegator()
|
||||
* @see org.apache.ofbiz.entity.Delegator#cloneDelegator()
|
||||
*/
|
||||
@Override
|
||||
public Delegator cloneDelegator() {
|
||||
@@ -2542,7 +2542,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#makeTestDelegator(java.lang.String)
|
||||
* @see org.apache.ofbiz.entity.Delegator#makeTestDelegator(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public Delegator makeTestDelegator(String delegatorName) {
|
||||
@@ -2570,7 +2570,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#rollback()
|
||||
* @see org.apache.ofbiz.entity.Delegator#rollback()
|
||||
*/
|
||||
@Override
|
||||
public void rollback() {
|
||||
@@ -2623,7 +2623,7 @@ public class GenericDelegator implements Delegator {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.entity.Delegator#initDistributedCacheClear()
|
||||
* @see org.apache.ofbiz.entity.Delegator#initDistributedCacheClear()
|
||||
*/
|
||||
@Override
|
||||
public void initDistributedCacheClear() {
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* GenericDuplicateKeyException.java
|
||||
+27
-27
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.io.Serializable;
|
||||
@@ -36,30 +36,30 @@ import java.util.MissingResourceException;
|
||||
import java.util.ResourceBundle;
|
||||
import java.util.TreeSet;
|
||||
|
||||
import org.ofbiz.base.crypto.HashCrypt;
|
||||
import org.ofbiz.base.util.Base64;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.GeneralException;
|
||||
import org.ofbiz.base.util.ObjectType;
|
||||
import org.ofbiz.base.util.Observable;
|
||||
import org.ofbiz.base.util.Observer;
|
||||
import org.ofbiz.base.util.TimeDuration;
|
||||
import org.ofbiz.base.util.UtilDateTime;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.base.util.collections.LocalizedMap;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.condition.EntityFieldMap;
|
||||
import org.ofbiz.entity.jdbc.SqlJdbcUtil;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.entity.model.ModelFieldType;
|
||||
import org.ofbiz.entity.model.ModelKeyMap;
|
||||
import org.ofbiz.entity.model.ModelRelation;
|
||||
import org.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.ofbiz.entity.model.ModelViewEntity.ModelAlias;
|
||||
import org.apache.ofbiz.base.crypto.HashCrypt;
|
||||
import org.apache.ofbiz.base.util.Base64;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.GeneralException;
|
||||
import org.apache.ofbiz.base.util.ObjectType;
|
||||
import org.apache.ofbiz.base.util.Observable;
|
||||
import org.apache.ofbiz.base.util.Observer;
|
||||
import org.apache.ofbiz.base.util.TimeDuration;
|
||||
import org.apache.ofbiz.base.util.UtilDateTime;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.base.util.collections.LocalizedMap;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.condition.EntityFieldMap;
|
||||
import org.apache.ofbiz.entity.jdbc.SqlJdbcUtil;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldType;
|
||||
import org.apache.ofbiz.entity.model.ModelKeyMap;
|
||||
import org.apache.ofbiz.entity.model.ModelRelation;
|
||||
import org.apache.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelViewEntity.ModelAlias;
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Element;
|
||||
/**
|
||||
@@ -743,10 +743,10 @@ public class GenericEntity implements Map<String, Object>, LocalizedMap<Object>,
|
||||
if (value instanceof byte[]) {
|
||||
return (byte[]) value;
|
||||
}
|
||||
if (value instanceof org.ofbiz.entity.util.ByteWrapper) {
|
||||
if (value instanceof org.apache.ofbiz.entity.util.ByteWrapper) {
|
||||
// NOTE DEJ20071022: the use of ByteWrapper is not recommended and is deprecated, only old data should be stored that way
|
||||
Debug.logWarning("Found a ByteWrapper object in the database for field [" + this.getEntityName() + "." + name + "]; converting to byte[] and returning, but note that you need to update your database to unwrap these objects for future compatibility", module);
|
||||
org.ofbiz.entity.util.ByteWrapper wrapper = (org.ofbiz.entity.util.ByteWrapper) value;
|
||||
org.apache.ofbiz.entity.util.ByteWrapper wrapper = (org.apache.ofbiz.entity.util.ByteWrapper) value;
|
||||
return wrapper.getBytes();
|
||||
}
|
||||
// uh-oh, this shouldn't happen...
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* Thrown when there is a problem with the entity engine configuration.
|
||||
+2
-2
@@ -16,9 +16,9 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
import org.ofbiz.base.util.GeneralException;
|
||||
import org.apache.ofbiz.base.util.GeneralException;
|
||||
|
||||
/**
|
||||
* GenericEntityException
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* GenericEntityNotFoundException
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* GenericFindException
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* GenericModelException
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* GenericNoSuchEntityException.java
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* GenericNotImplementedException
|
||||
+2
-2
@@ -16,11 +16,11 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
/**
|
||||
* Generic Entity Primary Key Object
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* GenericRemoveException
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* GenericResultSetClosedException
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
/**
|
||||
* GenericStoreException
|
||||
+3
-3
@@ -17,13 +17,13 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity;
|
||||
package org.apache.ofbiz.entity;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
/**
|
||||
* Generic Entity Value Object - Handles persistence for any defined entity.
|
||||
+4
-4
@@ -16,11 +16,11 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.cache;
|
||||
package org.apache.ofbiz.entity.cache;
|
||||
|
||||
import org.ofbiz.base.util.cache.UtilCache;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.DelegatorFactory;
|
||||
import org.apache.ofbiz.base.util.cache.UtilCache;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.DelegatorFactory;
|
||||
|
||||
public abstract class AbstractCache<K, V> {
|
||||
|
||||
+10
-10
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.cache;
|
||||
package org.apache.ofbiz.entity.cache;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
@@ -24,15 +24,15 @@ import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.ConcurrentMap;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.base.util.cache.UtilCache;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericPK;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
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.base.util.cache.UtilCache;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericPK;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
public abstract class AbstractEntityConditionCache<K, V> extends AbstractCache<EntityCondition, ConcurrentMap<K, V>> {
|
||||
|
||||
+7
-7
@@ -16,16 +16,16 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.cache;
|
||||
package org.apache.ofbiz.entity.cache;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.GenericPK;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.GenericPK;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
|
||||
public class Cache {
|
||||
|
||||
+7
-7
@@ -16,16 +16,16 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.cache;
|
||||
package org.apache.ofbiz.entity.cache;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.cache.UtilCache;
|
||||
import org.ofbiz.entity.GenericPK;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.cache.UtilCache;
|
||||
import org.apache.ofbiz.entity.GenericPK;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
public class EntityCache extends AbstractCache<GenericPK, GenericValue> {
|
||||
public static final String module = EntityCache.class.getName();
|
||||
+6
-6
@@ -16,18 +16,18 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.cache;
|
||||
package org.apache.ofbiz.entity.cache;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentMap;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.util.EntityUtil;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.util.EntityUtil;
|
||||
|
||||
|
||||
public class EntityListCache extends AbstractEntityConditionCache<Object, List<GenericValue>> {
|
||||
+2
-2
@@ -17,9 +17,9 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.cache;
|
||||
package org.apache.ofbiz.entity.cache;
|
||||
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
|
||||
public class EntityObjectCache extends AbstractEntityConditionCache<String, Object> {
|
||||
|
||||
+5
-5
@@ -17,13 +17,13 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelReader;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelReader;
|
||||
|
||||
|
||||
/**
|
||||
+10
-10
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
@@ -28,15 +28,15 @@ import org.apache.oro.text.regex.MalformedPatternException;
|
||||
import org.apache.oro.text.regex.Pattern;
|
||||
import org.apache.oro.text.regex.PatternMatcher;
|
||||
import org.apache.oro.text.regex.Perl5Matcher;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.PatternFactory;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.PatternFactory;
|
||||
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.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
|
||||
/**
|
||||
* Base class for comparisons.
|
||||
+7
-7
@@ -16,19 +16,19 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.lang.IsEmpty;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.base.lang.IsEmpty;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
/**
|
||||
* Represents the conditions to be used to constrain a query
|
||||
+7
-7
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Collections;
|
||||
@@ -24,12 +24,12 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.jdbc.SqlJdbcUtil;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.ofbiz.entity.model.ModelViewEntity.ModelAlias;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.jdbc.SqlJdbcUtil;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelViewEntity.ModelAlias;
|
||||
|
||||
/**
|
||||
* Represents the conditions to be used to constrain a query
|
||||
+7
-7
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import groovy.util.BuilderSupport;
|
||||
|
||||
@@ -26,12 +26,12 @@ import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
public class EntityConditionBuilder extends BuilderSupport {
|
||||
public static final String module = EntityConditionBuilder.class.getName();
|
||||
+5
-5
@@ -17,15 +17,15 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
/**
|
||||
* Base class for entity condition functions.
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
+6
-6
@@ -16,17 +16,17 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
/**
|
||||
* Encapsulates a list of EntityConditions to be used as a single EntityCondition combined as specified
|
||||
+2
-2
@@ -16,11 +16,11 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
|
||||
/**
|
||||
* Represents a single parameter to be used in the preparedStatement
|
||||
+10
-10
@@ -16,20 +16,20 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.jdbc.SqlJdbcUtil;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.jdbc.SqlJdbcUtil;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.model.ModelViewEntity;
|
||||
|
||||
/**
|
||||
* Sub-query action.
|
||||
+8
-8
@@ -16,18 +16,18 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
|
||||
/**
|
||||
* Base class for condition expression values.
|
||||
@@ -75,7 +75,7 @@ public abstract class EntityConditionValue extends EntityConditionBase {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void validateSql(org.ofbiz.entity.model.ModelEntity modelEntity) {
|
||||
public void validateSql(org.apache.ofbiz.entity.model.ModelEntity modelEntity) {
|
||||
}
|
||||
|
||||
@Override
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
+6
-6
@@ -16,18 +16,18 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.UtilDateTime;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.base.util.UtilDateTime;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
/**
|
||||
* Date-range condition.
|
||||
+13
-13
@@ -16,24 +16,24 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.ObjectType;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.DelegatorFactory;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.entity.model.ModelFieldType;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.ObjectType;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.DelegatorFactory;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldType;
|
||||
|
||||
/**
|
||||
* Encapsulates simple expressions used for specifying queries
|
||||
+3
-3
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
@@ -24,8 +24,8 @@ import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.entity.util.EntityUtil;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.entity.util.EntityUtil;
|
||||
|
||||
/**
|
||||
* Encapsulates simple expressions used for specifying queries
|
||||
+11
-11
@@ -17,22 +17,22 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.ofbiz.entity.model.ModelViewEntity.ModelAlias;
|
||||
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.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelViewEntity.ModelAlias;
|
||||
|
||||
/**
|
||||
* Field value expression.
|
||||
+7
-7
@@ -17,17 +17,17 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
|
||||
/**
|
||||
* Base class for entity functions.
|
||||
+7
-7
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
@@ -25,12 +25,12 @@ import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
/**
|
||||
* Join operator (AND/OR).
|
||||
+8
-8
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
@@ -26,13 +26,13 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
|
||||
/**
|
||||
* Base class for operators (less than, greater than, equals, etc).
|
||||
+7
-7
@@ -16,17 +16,17 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
/**
|
||||
* <p>Encapsulates SQL expressions used for where clause snippets.
|
||||
+6
-6
@@ -17,15 +17,15 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
public class OrderByItem implements Comparator<GenericEntity> {
|
||||
public static final int DEFAULT = 0;
|
||||
+5
-5
@@ -17,17 +17,17 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.condition;
|
||||
package org.apache.ofbiz.entity.condition;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
|
||||
public class OrderByList implements Comparator<GenericEntity> {
|
||||
protected List<OrderByItem> orderByList = new ArrayList<OrderByItem>();
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+4
-4
@@ -16,15 +16,15 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+7
-7
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
@@ -24,9 +24,9 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.HashMap;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
@@ -73,13 +73,13 @@ public final class DelegatorElement {
|
||||
this.entityEcaEnabled = !"false".equalsIgnoreCase(element.getAttribute("entity-eca-enabled"));
|
||||
String entityEcaHandlerClassName = element.getAttribute("entity-eca-handler-class-name").intern();
|
||||
if (entityEcaHandlerClassName.isEmpty()) {
|
||||
entityEcaHandlerClassName = "org.ofbiz.entityext.eca.DelegatorEcaHandler";
|
||||
entityEcaHandlerClassName = "org.apache.ofbiz.entityext.eca.DelegatorEcaHandler";
|
||||
}
|
||||
this.entityEcaHandlerClassName = entityEcaHandlerClassName;
|
||||
this.distributedCacheClearEnabled = "true".equalsIgnoreCase(element.getAttribute("distributed-cache-clear-enabled"));
|
||||
String distributedCacheClearClassName = element.getAttribute("distributed-cache-clear-class-name").intern();
|
||||
if (distributedCacheClearClassName.isEmpty()) {
|
||||
distributedCacheClearClassName = "org.ofbiz.entityext.cache.EntityCacheServices";
|
||||
distributedCacheClearClassName = "org.apache.ofbiz.entityext.cache.EntityCacheServices";
|
||||
}
|
||||
this.distributedCacheClearClassName = distributedCacheClearClassName;
|
||||
String distributedCacheClearUserLoginId = element.getAttribute("distributed-cache-clear-user-login-id").intern();
|
||||
@@ -90,7 +90,7 @@ public final class DelegatorElement {
|
||||
this.sequencedIdPrefix = element.getAttribute("sequenced-id-prefix").intern();
|
||||
String defaultGroupName = element.getAttribute("default-group-name").intern();
|
||||
if (defaultGroupName.isEmpty()) {
|
||||
defaultGroupName = "org.ofbiz";
|
||||
defaultGroupName = "org.apache.ofbiz";
|
||||
}
|
||||
this.defaultGroupName = defaultGroupName;
|
||||
this.keyEncryptingKey = element.getAttribute("key-encrypting-key").intern();
|
||||
+7
-7
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
@@ -25,12 +25,12 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.HashMap;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilURL;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilProperties;
|
||||
import org.apache.ofbiz.base.util.UtilURL;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+4
-4
@@ -16,15 +16,15 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+4
-4
@@ -16,15 +16,15 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+4
-4
@@ -16,15 +16,15 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+4
-4
@@ -16,15 +16,15 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+2
-2
@@ -16,9 +16,9 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+4
-4
@@ -16,11 +16,11 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+3
-3
@@ -16,10 +16,10 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.config.model;
|
||||
package org.apache.ofbiz.entity.config.model;
|
||||
|
||||
import org.ofbiz.base.lang.ThreadSafe;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.base.lang.ThreadSafe;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+4
-4
@@ -16,14 +16,14 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.connection;
|
||||
package org.apache.ofbiz.entity.connection;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.config.model.JdbcElement;
|
||||
import org.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.config.model.JdbcElement;
|
||||
import org.apache.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
|
||||
/**
|
||||
* ConnectionFactory
|
||||
+10
-10
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.connection;
|
||||
package org.apache.ofbiz.entity.connection;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.Driver;
|
||||
@@ -36,15 +36,15 @@ import org.apache.commons.dbcp2.managed.PoolableManagedConnectionFactory;
|
||||
import org.apache.commons.dbcp2.managed.XAConnectionFactory;
|
||||
import org.apache.commons.pool2.impl.GenericObjectPool;
|
||||
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.entity.GenericEntityConfException;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.ofbiz.entity.config.model.InlineJdbc;
|
||||
import org.ofbiz.entity.config.model.JdbcElement;
|
||||
import org.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
import org.ofbiz.entity.transaction.TransactionFactoryLoader;
|
||||
import org.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.entity.GenericEntityConfException;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.apache.ofbiz.entity.config.model.InlineJdbc;
|
||||
import org.apache.ofbiz.entity.config.model.JdbcElement;
|
||||
import org.apache.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionFactoryLoader;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionUtil;
|
||||
|
||||
/**
|
||||
* Apache Commons DBCP connection factory.
|
||||
+2
-2
@@ -17,14 +17,14 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.connection;
|
||||
package org.apache.ofbiz.entity.connection;
|
||||
|
||||
import org.apache.commons.dbcp2.managed.ManagedDataSource;
|
||||
import org.apache.commons.dbcp2.managed.TransactionRegistry;
|
||||
import org.apache.commons.pool2.ObjectPool;
|
||||
|
||||
import org.apache.commons.pool2.impl.GenericObjectPool;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
+34
-34
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.datasource;
|
||||
package org.apache.ofbiz.entity.datasource;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
@@ -33,35 +33,35 @@ import java.util.Set;
|
||||
import java.util.TreeSet;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.EntityLockedException;
|
||||
import org.ofbiz.entity.GenericDataSourceException;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericEntityNotFoundException;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.GenericNotImplementedException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.condition.EntityConditionParam;
|
||||
import org.ofbiz.entity.condition.EntityOperator;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.ofbiz.entity.jdbc.DatabaseUtil;
|
||||
import org.ofbiz.entity.jdbc.SQLProcessor;
|
||||
import org.ofbiz.entity.jdbc.SqlJdbcUtil;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.ofbiz.entity.model.ModelKeyMap;
|
||||
import org.ofbiz.entity.model.ModelRelation;
|
||||
import org.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.ofbiz.entity.util.EntityListIterator;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.EntityLockedException;
|
||||
import org.apache.ofbiz.entity.GenericDataSourceException;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericEntityNotFoundException;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.GenericNotImplementedException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.condition.EntityConditionParam;
|
||||
import org.apache.ofbiz.entity.condition.EntityOperator;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.apache.ofbiz.entity.jdbc.DatabaseUtil;
|
||||
import org.apache.ofbiz.entity.jdbc.SQLProcessor;
|
||||
import org.apache.ofbiz.entity.jdbc.SqlJdbcUtil;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.apache.ofbiz.entity.model.ModelKeyMap;
|
||||
import org.apache.ofbiz.entity.model.ModelRelation;
|
||||
import org.apache.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.apache.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.apache.ofbiz.entity.util.EntityListIterator;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
|
||||
/**
|
||||
* Generic Entity Data Access Object - Handles persistence for any defined entity.
|
||||
@@ -308,7 +308,7 @@ public class GenericDAO {
|
||||
if (modelEntity == null || fieldsToSet == null || condition == null)
|
||||
return 0;
|
||||
if (modelEntity instanceof ModelViewEntity) {
|
||||
throw new org.ofbiz.entity.GenericNotImplementedException("Operation updateByCondition not supported yet for view entities");
|
||||
throw new org.apache.ofbiz.entity.GenericNotImplementedException("Operation updateByCondition not supported yet for view entities");
|
||||
}
|
||||
|
||||
StringBuilder sql = new StringBuilder("UPDATE ").append(modelEntity.getTableName(datasource));
|
||||
@@ -549,7 +549,7 @@ public class GenericDAO {
|
||||
}
|
||||
|
||||
if (modelEntity instanceof ModelViewEntity) {
|
||||
throw new org.ofbiz.entity.GenericNotImplementedException("Operation partialSelect not supported yet for view entities");
|
||||
throw new org.apache.ofbiz.entity.GenericNotImplementedException("Operation partialSelect not supported yet for view entities");
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1161,7 +1161,7 @@ public class GenericDAO {
|
||||
throw new GenericModelException("Could not find ModelEntity record for entityName: " + entity.getEntityName());
|
||||
}
|
||||
if (modelEntity instanceof ModelViewEntity) {
|
||||
throw new org.ofbiz.entity.GenericNotImplementedException("Operation delete not supported yet for view entities");
|
||||
throw new org.apache.ofbiz.entity.GenericNotImplementedException("Operation delete not supported yet for view entities");
|
||||
}
|
||||
|
||||
StringBuilder sql = new StringBuilder().append("DELETE FROM ").append(modelEntity.getTableName(datasource)).append(" WHERE ");
|
||||
@@ -1197,7 +1197,7 @@ public class GenericDAO {
|
||||
if (modelEntity == null || condition == null)
|
||||
return 0;
|
||||
if (modelEntity instanceof ModelViewEntity) {
|
||||
throw new org.ofbiz.entity.GenericNotImplementedException("Operation deleteByCondition not supported yet for view entities");
|
||||
throw new org.apache.ofbiz.entity.GenericNotImplementedException("Operation deleteByCondition not supported yet for view entities");
|
||||
}
|
||||
|
||||
StringBuilder sql = new StringBuilder("DELETE FROM ").append(modelEntity.getTableName(this.datasource));
|
||||
+10
-10
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.datasource;
|
||||
package org.apache.ofbiz.entity.datasource;
|
||||
|
||||
|
||||
import java.util.Collection;
|
||||
@@ -25,15 +25,15 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericPK;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelRelation;
|
||||
import org.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.ofbiz.entity.util.EntityListIterator;
|
||||
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.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelRelation;
|
||||
import org.apache.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.apache.ofbiz.entity.util.EntityListIterator;
|
||||
|
||||
|
||||
/**
|
||||
+11
-11
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.datasource;
|
||||
package org.apache.ofbiz.entity.datasource;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.LinkedList;
|
||||
@@ -24,16 +24,16 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericPK;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelRelation;
|
||||
import org.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.ofbiz.entity.util.EntityListIterator;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
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.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelRelation;
|
||||
import org.apache.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.apache.ofbiz.entity.util.EntityListIterator;
|
||||
|
||||
/**
|
||||
* Generic Entity Helper Class
|
||||
+5
-5
@@ -16,15 +16,15 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.datasource;
|
||||
package org.apache.ofbiz.entity.datasource;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.config.model.EntityConfig;
|
||||
|
||||
/**
|
||||
* Generic Entity Helper Factory Class
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
package org.ofbiz.entity.datasource;
|
||||
package org.apache.ofbiz.entity.datasource;
|
||||
|
||||
/**
|
||||
* A container for datasource connection information.
|
||||
+4
-4
@@ -16,14 +16,14 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.eca;
|
||||
package org.apache.ofbiz.entity.eca;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
|
||||
/**
|
||||
* EntityEcaHandler interface
|
||||
+5
-5
@@ -16,15 +16,15 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.finder;
|
||||
package org.apache.ofbiz.entity.finder;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.collections.FlexibleMapAccessor;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.apache.ofbiz.base.util.collections.FlexibleMapAccessor;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+9
-9
@@ -16,18 +16,18 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.finder;
|
||||
package org.apache.ofbiz.entity.finder;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.finder.EntityFinderUtil.Condition;
|
||||
import org.ofbiz.entity.finder.EntityFinderUtil.ConditionExpr;
|
||||
import org.ofbiz.entity.finder.EntityFinderUtil.ConditionList;
|
||||
import org.ofbiz.entity.finder.EntityFinderUtil.ConditionObject;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.finder.EntityFinderUtil.Condition;
|
||||
import org.apache.ofbiz.entity.finder.EntityFinderUtil.ConditionExpr;
|
||||
import org.apache.ofbiz.entity.finder.EntityFinderUtil.ConditionList;
|
||||
import org.apache.ofbiz.entity.finder.EntityFinderUtil.ConditionObject;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+20
-20
@@ -16,9 +16,9 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.finder;
|
||||
package org.apache.ofbiz.entity.finder;
|
||||
|
||||
import static org.ofbiz.base.util.UtilGenerics.cast;
|
||||
import static org.apache.ofbiz.base.util.UtilGenerics.cast;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
@@ -31,24 +31,24 @@ import java.util.List;
|
||||
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.UtilGenerics;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.base.util.collections.FlexibleMapAccessor;
|
||||
import org.ofbiz.base.util.string.FlexibleStringExpander;
|
||||
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.EntityFunction;
|
||||
import org.ofbiz.entity.condition.EntityJoinOperator;
|
||||
import org.ofbiz.entity.condition.EntityOperator;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.ofbiz.entity.util.EntityListIterator;
|
||||
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.UtilGenerics;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
import org.apache.ofbiz.base.util.collections.FlexibleMapAccessor;
|
||||
import org.apache.ofbiz.base.util.string.FlexibleStringExpander;
|
||||
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.EntityFunction;
|
||||
import org.apache.ofbiz.entity.condition.EntityJoinOperator;
|
||||
import org.apache.ofbiz.entity.condition.EntityOperator;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.apache.ofbiz.entity.util.EntityListIterator;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+4
-4
@@ -16,15 +16,15 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.finder;
|
||||
package org.apache.ofbiz.entity.finder;
|
||||
|
||||
import java.util.Map;
|
||||
import java.io.Serializable;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
import org.ofbiz.base.util.GeneralException;
|
||||
import org.ofbiz.base.util.string.FlexibleStringExpander;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.base.util.GeneralException;
|
||||
import org.apache.ofbiz.base.util.string.FlexibleStringExpander;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public abstract class Finder implements Serializable {
|
||||
+24
-24
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.finder;
|
||||
package org.apache.ofbiz.entity.finder;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.util.ArrayList;
|
||||
@@ -24,29 +24,29 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.GeneralException;
|
||||
import org.ofbiz.base.util.UtilMisc;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.base.util.collections.FlexibleMapAccessor;
|
||||
import org.ofbiz.base.util.string.FlexibleStringExpander;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.DelegatorFactory;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.finder.EntityFinderUtil.GetAll;
|
||||
import org.ofbiz.entity.finder.EntityFinderUtil.LimitRange;
|
||||
import org.ofbiz.entity.finder.EntityFinderUtil.LimitView;
|
||||
import org.ofbiz.entity.finder.EntityFinderUtil.OutputHandler;
|
||||
import org.ofbiz.entity.finder.EntityFinderUtil.UseIterator;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.ofbiz.entity.util.EntityListIterator;
|
||||
import org.ofbiz.entity.util.EntityUtil;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.GeneralException;
|
||||
import org.apache.ofbiz.base.util.UtilMisc;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.base.util.UtilXml;
|
||||
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.DelegatorFactory;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.finder.EntityFinderUtil.GetAll;
|
||||
import org.apache.ofbiz.entity.finder.EntityFinderUtil.LimitRange;
|
||||
import org.apache.ofbiz.entity.finder.EntityFinderUtil.LimitView;
|
||||
import org.apache.ofbiz.entity.finder.EntityFinderUtil.OutputHandler;
|
||||
import org.apache.ofbiz.entity.finder.EntityFinderUtil.UseIterator;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.apache.ofbiz.entity.util.EntityFindOptions;
|
||||
import org.apache.ofbiz.entity.util.EntityListIterator;
|
||||
import org.apache.ofbiz.entity.util.EntityUtil;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+13
-13
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.ofbiz.entity.finder;
|
||||
package org.apache.ofbiz.entity.finder;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
@@ -24,18 +24,18 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.GeneralException;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.base.util.collections.FlexibleMapAccessor;
|
||||
import org.ofbiz.base.util.string.FlexibleStringExpander;
|
||||
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.model.ModelField;
|
||||
import org.ofbiz.entity.util.EntityQuery;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.GeneralException;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
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.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.model.ModelField;
|
||||
import org.apache.ofbiz.entity.util.EntityQuery;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.jdbc;
|
||||
package org.apache.ofbiz.entity.jdbc;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.InvocationHandler;
|
||||
+4
-4
@@ -16,11 +16,11 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.jdbc;
|
||||
package org.apache.ofbiz.entity.jdbc;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.ofbiz.entity.connection.ConnectionFactory;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.apache.ofbiz.entity.connection.ConnectionFactory;
|
||||
|
||||
/**
|
||||
* ConnectionFactoryLoader - utility class that loads the connection manager and provides to client code a reference to it (ConnectionFactory)
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.jdbc;
|
||||
package org.apache.ofbiz.entity.jdbc;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.sql.Connection;
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.jdbc;
|
||||
package org.apache.ofbiz.entity.jdbc;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.sql.ResultSet;
|
||||
+3
-3
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.jdbc;
|
||||
package org.apache.ofbiz.entity.jdbc;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.sql.PreparedStatement;
|
||||
@@ -24,8 +24,8 @@ import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Statement;
|
||||
|
||||
import org.ofbiz.entity.transaction.GenericTransactionException;
|
||||
import org.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.apache.ofbiz.entity.transaction.GenericTransactionException;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionUtil;
|
||||
|
||||
|
||||
public class CursorStatement extends AbstractCursorHandler {
|
||||
+19
-19
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.jdbc;
|
||||
package org.apache.ofbiz.entity.jdbc;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.lang.reflect.Method;
|
||||
@@ -43,24 +43,24 @@ import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.Future;
|
||||
|
||||
import org.ofbiz.base.concurrent.ExecutionPool;
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.UtilTimer;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.entity.model.ModelFieldType;
|
||||
import org.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.ofbiz.entity.model.ModelIndex;
|
||||
import org.ofbiz.entity.model.ModelKeyMap;
|
||||
import org.ofbiz.entity.model.ModelRelation;
|
||||
import org.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.ofbiz.entity.transaction.TransactionFactoryLoader;
|
||||
import org.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.apache.ofbiz.base.concurrent.ExecutionPool;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.UtilTimer;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.apache.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldType;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.apache.ofbiz.entity.model.ModelIndex;
|
||||
import org.apache.ofbiz.entity.model.ModelKeyMap;
|
||||
import org.apache.ofbiz.entity.model.ModelRelation;
|
||||
import org.apache.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionFactoryLoader;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionUtil;
|
||||
|
||||
/**
|
||||
* Utilities for Entity Database Maintenance
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.jdbc;
|
||||
package org.apache.ofbiz.entity.jdbc;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
+2
-2
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.jdbc;
|
||||
package org.apache.ofbiz.entity.jdbc;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
@@ -35,7 +35,7 @@ import java.util.Map;
|
||||
|
||||
import javax.sql.rowset.serial.SerialBlob;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
|
||||
/**
|
||||
* An object that handles getting/setting column values in JDBC
|
||||
+11
-11
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.jdbc;
|
||||
package org.apache.ofbiz.entity.jdbc;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
@@ -35,16 +35,16 @@ import java.sql.Types;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.entity.Delegator;
|
||||
import org.ofbiz.entity.GenericDataSourceException;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
import org.ofbiz.entity.transaction.GenericTransactionException;
|
||||
import org.ofbiz.entity.transaction.TransactionFactoryLoader;
|
||||
import org.ofbiz.entity.transaction.TransactionUtil;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.GenericDataSourceException;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.config.model.EntityConfig;
|
||||
import org.apache.ofbiz.entity.datasource.GenericHelperInfo;
|
||||
import org.apache.ofbiz.entity.transaction.GenericTransactionException;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionFactoryLoader;
|
||||
import org.apache.ofbiz.entity.transaction.TransactionUtil;
|
||||
|
||||
/**
|
||||
* SQLProcessor - provides utility functions to ease database access
|
||||
+22
-22
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*******************************************************************************/
|
||||
package org.ofbiz.entity.jdbc;
|
||||
package org.apache.ofbiz.entity.jdbc;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.IOException;
|
||||
@@ -42,27 +42,27 @@ import java.util.TreeSet;
|
||||
import javax.sql.rowset.serial.SerialBlob;
|
||||
import javax.sql.rowset.serial.SerialClob;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.ObjectType;
|
||||
import org.ofbiz.base.util.UtilGenerics;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.entity.GenericDataSourceException;
|
||||
import org.ofbiz.entity.GenericEntity;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericModelException;
|
||||
import org.ofbiz.entity.GenericNotImplementedException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.condition.EntityConditionParam;
|
||||
import org.ofbiz.entity.condition.EntityOperator;
|
||||
import org.ofbiz.entity.condition.OrderByList;
|
||||
import org.ofbiz.entity.config.model.Datasource;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.entity.model.ModelFieldType;
|
||||
import org.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.ofbiz.entity.model.ModelKeyMap;
|
||||
import org.ofbiz.entity.model.ModelViewEntity;
|
||||
import org.apache.ofbiz.base.util.Debug;
|
||||
import org.apache.ofbiz.base.util.ObjectType;
|
||||
import org.apache.ofbiz.base.util.UtilGenerics;
|
||||
import org.apache.ofbiz.base.util.UtilValidate;
|
||||
import org.apache.ofbiz.entity.GenericDataSourceException;
|
||||
import org.apache.ofbiz.entity.GenericEntity;
|
||||
import org.apache.ofbiz.entity.GenericEntityException;
|
||||
import org.apache.ofbiz.entity.GenericModelException;
|
||||
import org.apache.ofbiz.entity.GenericNotImplementedException;
|
||||
import org.apache.ofbiz.entity.GenericValue;
|
||||
import org.apache.ofbiz.entity.condition.EntityCondition;
|
||||
import org.apache.ofbiz.entity.condition.EntityConditionParam;
|
||||
import org.apache.ofbiz.entity.condition.EntityOperator;
|
||||
import org.apache.ofbiz.entity.condition.OrderByList;
|
||||
import org.apache.ofbiz.entity.config.model.Datasource;
|
||||
import org.apache.ofbiz.entity.model.ModelEntity;
|
||||
import org.apache.ofbiz.entity.model.ModelField;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldType;
|
||||
import org.apache.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
import org.apache.ofbiz.entity.model.ModelKeyMap;
|
||||
import org.apache.ofbiz.entity.model.ModelViewEntity;
|
||||
|
||||
/**
|
||||
* GenericDAO Utility methods for general tasks
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user