Adam Heath
0f4bed043d
Switch assertTrue calls to assertEquals.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912273 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 01:28:00 +00:00
Adam Heath
f7ec7cb185
Move FlexibleStringExpander tests to a separate file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912272 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 01:27:32 +00:00
Scott Gray
21251f0907
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.model.ModelIndex.getMainEntity()
- Use ModelIndex.getModelEntity() instead
org.ofbiz.entity.model.ModelIndex.setMainEntity(ModelEntity)
- Use one of the ModelIndex constructors instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912250 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 23:16:17 +00:00
Scott Gray
1d8fbd982e
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.model.ModelEntity.getPk(int)
- Use ModelEntity.getPksIterator() instead
org.ofbiz.entity.model.ModelEntity.getNopk(int)
- Use ModelEntity.getNopksIterator() instead
org.ofbiz.entity.model.ModelEntity.getField(int)
- Use ModelEntity.getFieldsIterator() instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912249 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 23:10:09 +00:00
Scott Gray
318b7ae549
Reverting r912247, not all methods removed had been deprecated prior to 9.04
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912248 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 23:04:51 +00:00
Scott Gray
27ef95fa9c
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.model.ModelEntity.getPk(int)
- Use ModelEntity.getPksIterator() instead
org.ofbiz.entity.model.ModelEntity.getPksCopy()
- Use ModelEntity.getPkFieldsUnmodifiable() instead
org.ofbiz.entity.model.ModelEntity.getNopk(int)
- Use ModelEntity.getNopksIterator() instead
org.ofbiz.entity.model.ModelEntity.getField(int)
- Use ModelEntity.getFieldsIterator() instead
org.ofbiz.entity.model.ModelEntity.getFieldsCopy()
- Use ModelEntity.getFieldsUnmodifiable() instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912247 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:59:22 +00:00
Scott Gray
a4c34e4e34
Added missing code necessary to generate relation elements in ModelEntity.toXmlElement(...)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912246 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:53:22 +00:00
Scott Gray
5145912da8
- Added @SuppressWarnings("hiding") to field module (hides ModelInfo.module)
...
- Comment typo fix
- Removed a couple of unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912245 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:53:18 +00:00
Scott Gray
1a31419fcd
Removed all uses of deprecated method ModelEntity.getFieldsCopy()
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912244 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:53:14 +00:00
Scott Gray
a830f3f436
Removed all uses of deprecated method ModelEntity.getField(int)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912243 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:53:09 +00:00
Scott Gray
2c2da0e964
Removed all uses of deprecated method ModelEntity.getNopk(int)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912241 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:52:58 +00:00
Scott Gray
96a474870c
Removed all uses of deprecated method ModelEntity.getPk(int)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912240 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:52:53 +00:00
Scott Gray
b44d9fde91
Javadoc typo fix
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912227 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 21:15:06 +00:00
Scott Gray
5bfd3c432b
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.condition.EntityWhereString(String)
- Use EntityCondition.makeConditionWhere(String) instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912226 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 21:15:00 +00:00
Scott Gray
114ea16f93
Removed unneccesary semicolons
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912225 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 21:09:28 +00:00
Scott Gray
51bcefa91d
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.condition.EntityFunction.LENGTH(EntityConditionValue)
- Use EntityFunction.LENGTH(EntityConditionValue) instead (method rather than constructor)
org.ofbiz.entity.condition.EntityFunction.LENGTH(Object)
- Use EntityFunction.LENGTH(Object) instead (method rather than constructor)
org.ofbiz.entity.condition.EntityFunction.TRIM(EntityConditionValue)
- Use EntityFunction.TRIM(EntityConditionValue) instead (method rather than constructor)
org.ofbiz.entity.condition.EntityFunction.TRIM(Object)
- Use EntityFunction.TRIM(Object) instead (method rather than constructor)
org.ofbiz.entity.condition.EntityFunction.UPPER(EntityConditionValue)
- Use EntityFunction.UPPER(EntityConditionValue) instead (method rather than constructor)
org.ofbiz.entity.condition.EntityFunction.UPPER(Object)
- Use EntityFunction.UPPER(Object) instead (method rather than constructor)
org.ofbiz.entity.condition.EntityFunction.LOWER(EntityConditionValue)
- Use EntityFunction.LOWER(EntityConditionValue) instead (method rather than constructor)
org.ofbiz.entity.condition.EntityFunction.LOWER(Object)
- Use EntityFunction.LOWER(Object) instead (method rather than constructor)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912224 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 21:09:23 +00:00
Scott Gray
a3e3df15af
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.condition.EntityFieldValue(String)
- Use EntityFieldValue.makeFieldValue(String) instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912221 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 20:50:49 +00:00
Scott Gray
e0563af6cd
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.condition.EntityFieldMap(EntityComparisonOperator<L, R>, EntityJoinOperator, V…)
- Use EntityCondition.makeCondition(EntityComparisonOperator<L, R>, EntityJoinOperator, Object…) instead
org.ofbiz.entity.condition.EntityFieldMap(Map<String,V>, EntityComparisonOperator<L, R>, EntityJoinOperator)
- Use EntityCondition.makeCondition(Map<String, ? extends Object>, EntityComparisonOperator<L, R>, EntityJoinOperator) instead
org.ofbiz.entity.condition.EntityFieldMap(EntityJoinOperator, Object...)
- Use EntityCondition.makeCondition(EntityJoinOperator, Object...) instead
org.ofbiz.entity.condition.EntityFieldMap(Map<String, ? extends Object>, EntityJoinOperator)
- Use EntityCondition.makeCondition(Map<String, ? extends Object>, EntityJoinOperator) instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912220 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 20:47:27 +00:00
Scott Gray
ea65488869
Removed unneccesary deprecation warning suppression
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912212 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 20:19:35 +00:00
Scott Gray
0c3baeae57
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.condition.EntityExpr(L, EntityComparisonOperator<L,R>, R)
- Use EntityCondition.makeCondition(L, EntityComparisonOperator<LL,RR>, R) instead
org.ofbiz.entity.condition.EntityExpr(String, EntityComparisonOperator<String,R>, R)
- Use EntityCondition.makeCondition(L, EntityComparisonOperator<LL,RR>, R) instead
org.ofbiz.entity.condition.EntityExpr(L, boolean, EntityComparisonOperator<L,R>, R, boolean)
- Use EntityCondition.makeCondition(L, EntityComparisonOperator<LL,RR>, R) instead
- Use EntityFunction.UPPER_FIELD(L) in place of leftUpper = true
- Use EntityFunction.UPPER(R) in place of rightUpper = true
org.ofbiz.entity.condition.EntityExpr(EntityCondition, EntityJoinOperator, EntityCondition)
- Use EntityCondition.makeCondition(EntityCondition, EntityJoinOperator, EntityCondition) instead
org.ofbiz.entity.condition.EntityExpr.setLUpper(boolean)
org.ofbiz.entity.condition.EntityExpr.isLUpper()
org.ofbiz.entity.condition.EntityExpr.isRUpper()
org.ofbiz.entity.condition.EntityExpr.setRUpper(boolean)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912211 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 20:19:30 +00:00
Scott Gray
60f6517b74
Organized imports
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912210 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 20:19:23 +00:00
Scott Gray
bee57642b3
Removed use of deprecated EntityExpr constructors
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912209 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 20:19:18 +00:00
Scott Gray
aa815051f5
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.condition.EntityDateFilterCondition(String, String)
- Use EntityCondition.makeConditionDate(String, String) instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912203 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 19:54:33 +00:00
Scott Gray
fee56d9f59
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.condition.EntityConditionList(EntityJoinOperator, T…)
- Use EntityCondition.makeCondition(EntityJoinOperator, T…) instead
org.ofbiz.entity.condition.EntityConditionList(List<T>, EntityJoinOperator)
- Use EntityCondition.makeCondition(List<T>, EntityJoinOperator) instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912202 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 19:49:18 +00:00
Scott Gray
bd8459e2ff
Removed use of a deprecated constructor
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912201 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 19:49:12 +00:00
Adrian Crum
e984c0afcf
Have XmlSerializer delegate object deserialization to XStream if the serialization method is not from XmlSerializer.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912072 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 03:05:49 +00:00
Bilgin Ismet Ibryam
9e016506aa
Fixed calendar lookups in Temporal expressions screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911843 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 15:34:25 +00:00
Bilgin Ismet Ibryam
6587bead76
Fixed a typo in labels.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911541 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:46:54 +00:00
Bilgin Ismet Ibryam
3b8784b6ab
Renamed a variable.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911540 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:40:28 +00:00
Bilgin Ismet Ibryam
52e2dc1f42
Allowed specifying InfoWindowHtml for each GMarker in google map. Before this fix, only the last GMarker had InfoWindowHtml.
...
Commented out duplicate code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911539 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:38:44 +00:00
Scott Gray
8fb9b48c66
Added entity-count documentation regarding the java type of the value returned.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911517 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 18:40:47 +00:00
Bruno Busco
2302c33259
Fixed wrong markup for Date-Time field introduced in rev. 911079.
...
Thank you Adrian for reporting in ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911305 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 10:05:41 +00:00
Bruno Busco
41aeeb3317
Added "create" classes to pertinent buttons
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911187 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 22:02:54 +00:00
Bruno Busco
ee1f838fa3
Removed unused calGif parameter from Form rendering Macros
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911186 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 21:57:22 +00:00
Adrian Crum
96fb7950ad
Added a test for TimeDuration pre-epoch elapsed time, plus added SVN properties.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911182 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 21:40:41 +00:00
Adrian Crum
b0d8ce0ebf
Improved TimeDuration.java JavaDocs.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911181 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 21:38:13 +00:00
Adrian Crum
aa1eb37875
Changed parameter name and JavaDoc for the TimeDuration fromLong method. No functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911131 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 18:16:55 +00:00
Adrian Crum
276a0b2f6d
Fixed catch clause in TimeDuration equals method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911125 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 18:00:56 +00:00
Adam Heath
4c6bee67d5
Add support for arrays to doHashCode.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911099 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:29:41 +00:00
Adam Heath
fb9b6107e6
Add comments about unreachable blocks.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911098 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:28:18 +00:00
Adam Heath
11b69ae10a
Test for static helper pattern.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911097 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:27:48 +00:00
Adam Heath
0c3320bfe3
Add assertion helper to verify that a class is a static helper.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911096 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:26:53 +00:00
Adam Heath
acc29cc257
Follow the static helper class pattern.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911095 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:26:16 +00:00
Adam Heath
151a9dbc1a
Refactored the object serialization methods to not have to test for null
...
as much.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911093 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:25:43 +00:00
Adam Heath
e0eb9976f6
Some tests for UtilObject; not full coverage, but very close.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911092 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:25:09 +00:00
Adam Heath
a3191bd5c0
Helper method for testing compareTo results.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911090 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:24:22 +00:00
Adam Heath
b6c4fc80a9
Rename millis parameters everywhere to milliseconds. Also rename the
...
millis method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911089 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:23:39 +00:00
Adam Heath
0f004e41d5
Remove calls to toLong in compareTo.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911088 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:23:07 +00:00
Adam Heath
f5d3f7cec4
Remove isNegative field.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911087 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:22:33 +00:00
Adam Heath
33174cf039
The fields in TimeDuration are now final.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911086 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:22:07 +00:00