Adam Heath
7fc0f4cfdd
Remove a bunch of static variables, instead using an AtomicReference and
...
an instance of EntityConfigUtil to manage everything.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918734 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:15:01 +00:00
Adam Heath
ce2d761f51
Bad formatting, { shouldn't be on a line by itself.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918732 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:14:28 +00:00
Adam Heath
083663f6a4
Make use of FastMap's putIfAbsent, and remove an instance of
...
double-checked-locking.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918731 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:13:52 +00:00
Adam Heath
b2ca928774
Remove unnecessary cast when getting from genericDAOs cache.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918729 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:13:25 +00:00
Adam Heath
9627cbc06c
Implement proper non-blocking access.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918728 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:12:58 +00:00
Adam Heath
b80b40b6d3
For internal classes, you don't need to prefix with the containing
...
class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918727 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:12:31 +00:00
Adam Heath
4a52467763
Make all the internal variables private and/or final.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918726 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:12:03 +00:00
Adam Heath
76b4cfb1ac
Make all the protected fields private and final.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918725 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:11:35 +00:00
Adam Heath
b289b45142
Move the test case for ComparableRange to the correct package.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918724 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:10:52 +00:00
Adam Heath
503c5f9795
Remove javadoc from protected methods.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918723 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:10:11 +00:00
Adam Heath
b517a45e60
Fix typo in javadoc parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918722 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:09:36 +00:00
Adam Heath
6b9b1156c3
Set src-dirs correctly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918721 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:09:08 +00:00
Jacques Le Roux
ff4623a475
Re-apply r912645
...
<<Make use of FSE.expand(), instead of expandString, to provide support
for direct setting of values in widgets. This closes OFBIZ-3486.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918476 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 14:03:19 +00:00
Erwan de Ferrieres
bcd5e24034
Upgrading jsgantt.js so it will be possible to display milestones in a Gantt chart
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918340 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 07:03:59 +00:00
Jacques Le Roux
423ce79a21
A slightly modified patch from Sascha Rodekamp " Some improvements for the layer lookup" ( https://issues.apache.org/jira/browse/OFBIZ-3524 ) - OFBIZ-3524
...
A flag was added to fade the background behind the layered lookup (ie all the screen but the lookup) when a layer is opened.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917940 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 10:02:04 +00:00
Adam Heath
2ef7601138
Remove a bunch of very simple classes, instead registering abstract
...
versions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917630 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:20:38 +00:00
Adam Heath
a98cdfb0e8
Add an AbstractStringToNumberConverter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917629 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:20:03 +00:00
Adam Heath
50bee334d9
Add AbstractNumberToStringConverter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917627 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:16:27 +00:00
Adam Heath
feaa07ed30
s/AbstractToNumberConverter/AbstractNumberConverter/
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917626 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:15:58 +00:00
Adam Heath
397d41c700
All the Number->Number variants now have generic base classes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917625 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:15:24 +00:00
Adam Heath
6afb679a11
Add abstract classes to unify simple object to singleton collections.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917624 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:14:19 +00:00
Adam Heath
544927d764
BUG FIX: Actually implement proper simple array testing; the previously
...
added ArrayObjectToList converter was never actually used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917623 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:12:35 +00:00
Christian Geisert
544118daa4
German label translation
...
Submitted by Mirko Vogelsmeier
See OFBIZ-3518
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917550 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 14:38:13 +00:00
Bilgin Ismet Ibryam
7479c4d912
Don't return the default message "The action was performed successfully" when call-service element is used.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917467 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 11:16:25 +00:00
Adam Heath
3b07b7950d
BUG FIX: Move node test to before the loadClass call.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917377 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 05:07:00 +00:00
Adam Heath
cabce4bcad
BUG FIX: Move the check that tests whether we are converting to the
...
passed object to before the loadClass call.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917376 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 05:06:16 +00:00
Adam Heath
6f5e964bd4
BUG FIX: When the target type is Object, return the passed value.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917374 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 05:05:43 +00:00
Adam Heath
6502fed7dc
BUG FIX: If the object is a string and it is empty, return null early.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917373 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 05:05:10 +00:00
Adam Heath
fa5abfa4ce
BUG FIX: Throw exceptions instead of logging errors.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917372 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:19:08 +00:00
Adam Heath
c037f73f05
BUG FIX: Add support for converting to PlainString, which just calls
...
toString directly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917371 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:18:20 +00:00
Adam Heath
709959af4a
BUG FIX: Add TimeZone and Locale to global class names.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917370 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:17:34 +00:00
Adam Heath
c6d8f49077
BUG FIX: Forbid SqlDateToSqlTime and SqlTimeToSqlDate conversions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917369 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:17:02 +00:00
Adam Heath
9859ec4da9
BUG FIX: Add DurationToFloat and Double converters.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917368 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:15:36 +00:00
Adam Heath
906c72b923
BUG FIX: in StringToDuration converter, handle the case where there is
...
no : in the string, and it's just a plain number.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917367 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:14:59 +00:00
Adam Heath
6a0b1cf6ae
BUG FIX: Add several missing Foo->List and Foo->Set converters.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917366 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:14:22 +00:00
Adam Heath
a5cd97c2c7
BUG FIX: Add array->List converter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917365 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:13:37 +00:00
Adam Heath
aa76d1bc8f
BUG FIX: In integer/long to BigDecimal, don't convert the number to a
...
double first.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917364 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:12:53 +00:00
Adam Heath
71e4eb5ffd
BUG FIX: Trim all space before converting a string to a Boolean.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917363 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:12:11 +00:00
Adam Heath
a4b4761af9
ObjectType tests.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917362 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:11:37 +00:00
Adam Heath
caa4107488
Remove some debug prints.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917361 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:10:51 +00:00
Adam Heath
ddd8af68ba
Need to check whether the wanted object is a Set before checking if it
...
is a Collection.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917360 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:10:12 +00:00
Jacques Le Roux
b632244a4f
A patch from Sascha Rodekamp "Refactor fieldlookup.js" ( https://issues.apache.org/jira/browse/OFBIZ-3491 ) - OFBIZ-3491
...
Mostly changes in the fieldlookup.js to make the code a little bit smaller.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917250 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 18:54:15 +00:00
Jacques Le Roux
292f1cda85
This allows to hide the field at left of the lookup button. It may be used to chain an action without coming back to the original place, so the field make any sense. In my case reassigning a work effort from a list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917152 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 09:58:29 +00:00
Adrian Crum
24922db654
Created a new Java package - org.ofbiz.base.lang - which is intended to be used as a home for basic Java types. Moved some basic Java type classes into the new package.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916987 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 16:48:32 +00:00
Scott Gray
ead84f88c3
Minor code cleanup: removed unnecessary cast and changed how a static field was being accessed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916973 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 15:40:21 +00:00
Scott Gray
6607c6b903
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.transaction.TransactionUtil.rollback(boolean)
- Use TransactionUtil.rollback(boolean, String, Throwable) instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916972 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 15:40:17 +00:00
Jacopo Cappellato
e31f3e84bb
Added missing BigDecimal condition required to render the content of BigDecimal fields in the "view generic" screen. OFBIZ-3522
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916925 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 08:29:21 +00:00
David E. Jones
7ea17c8489
Changed back to derby after accidental change to mysql in last commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916782 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 18:42:42 +00:00
David E. Jones
f67ff5da49
Changed to not try to do a distinct count by a specific column, which was introduced in rev 897605, as it seems to cause a number of problems and is a feature that probably isn't used much since it was introduced about a month ago; reintroducing this feature will require additional effort to resolve these
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916781 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 18:41:11 +00:00
Erwan de Ferrieres
88c91bd809
some comments were left in the previous commit (916646)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916649 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 11:23:00 +00:00