Scott Gray
5e401fcd53
Updated all simple methods to use the new attributes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667748 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:03:12 +00:00
David E. Jones
82df3529e2
More cleanups of now deprecated constructors and what what
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660840 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:16:36 +00:00
David E. Jones
b9d6f8b524
Changed EntityExpr and EntityFunction subclasses to use the factory instead of constructor pattern, plus moved EntityExpr to EntityCondition factory methods; a number of EntityExpr cleanups, but many more to go
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660812 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 05:20:09 +00:00
David E. Jones
3543d6abe3
Changed the way EntityCondition sub-classes work so they use the javolution Reusable class for recycling objects; now all conditions should be created using the factory methods on the EntityCondition object instead of the direct constructors; there is a small variety of classes available there now for ease of use; also changed a bunch of old code to not use the deprecated constructors; note that still need to do a pass similar to this on EntityExpr
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660780 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 01:58:46 +00:00
Scott Gray
153653615b
Removed the rest of the calls to deprecated GenericDelegator methods, except for the findListIteratorByCondition which takes a DynamicViewEntity as a parameter not sure what to do about that one.
...
There's still all the bsh files to check though.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655235 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 03:29:04 +00:00
Scott Gray
0792342f2a
Removed more calls to deprecated GenericDelegator methods
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655016 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 06:24:19 +00:00
David E. Jones
329631a4b5
A whole bunch of cleanups to use newer and more consolidated delegator find methods; still lots of deprecation warnings, bots of deprecation warnings but this is a first pass, and things still run as before
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653029 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 09:40:51 +00:00
David E. Jones
ccb4689365
Added entity set for fixed asset, was missed originally
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@639473 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 21:43:26 +00:00
Jacopo Cappellato
920dbb91c6
Added missing service and screen definitions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@638697 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 03:58:36 +00:00
David E. Jones
999834c2e8
Fixed incorrect package reference for the config entity group
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@635428 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 04:09:23 +00:00
David E. Jones
f2bfb2e3e4
Some cleanups and fleshed out the detail and technical entity sets
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@632727 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 09:18:04 +00:00
David E. Jones
3d8d9bff51
A start on the entity groups for detailed diagrams
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631869 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 06:37:42 +00:00
David E. Jones
b58911fa4a
Fixed exporting entity eomodeld by entityGroupId
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631078 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 03:32:50 +00:00
David E. Jones
69f2a3beff
Some cleanups and additions to top level entity diagram groups
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631073 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 03:10:14 +00:00
David E. Jones
bef729776b
Added entity group definition file for some high level diagrams of top-level entities throughout the project
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631072 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 02:53:28 +00:00
David E. Jones
e8d61ef0b7
Added initial implementation of entity EOModelBundle export, including various utility methods and refactoring and such
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630279 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 18:17:21 +00:00
David E. Jones
80acfcb716
Fixed tabs to spaces; it is evil that eclipse comes with this sort of default...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628703 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 12:34:08 +00:00
David E. Jones
eb542c49ad
A few misc cleanups/improvements; some generics stuff, use FastMap/List, convenience methods for meta data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628700 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 12:21:13 +00:00
David E. Jones
edafa04bd7
Added seed-initial data set and changed all JobSandbox seed data entries to be in this instead; allows for reloading of seed data withows for reloading of seed data without redundant jobs scheduled
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627824 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 18:26:44 +00:00
Hans Bakker
9d4f24a0d3
improved implementation of rev 616995 as suggested by david.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@617966 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 09:14:56 +00:00
Hans Bakker
67a5ebe862
Entity sync did not work for deletes because the timestamps of the deleted record where also checked to be the same as the original record, this however was never true, even not after the copy of the complete database. Now the deleted record is only checked for the primary key.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616995 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 03:59:59 +00:00
David E. Jones
75c26763e5
Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed; this is tested a fair amount, but obviously needs to be watched as it is new code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587433 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 09:52:49 +00:00
Adam Heath
c69096e93a
Switch as much as possible from StringBuffer to StringBuilder.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585805 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:56:02 +00:00
Adam Heath
2ff7a8a575
Make use of the single-arg variants of makePK/makeValue, removeAll,
...
and clearCacheLine
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585803 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:46:57 +00:00
Adam Heath
2a86a44888
Allow multiple files to be installed on the command line, by splitting
...
on comma. Closes https://issues.apache.org/jira/browse/OFBIZ-1284
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585645 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 19:46:52 +00:00
David E. Jones
2e96095d1c
A few extensions to the watchEntity service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570297 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 03:23:23 +00:00
David E. Jones
e20fb4bd36
Added set element for Entity ECA rules, and a simple service to be run as an EECA for watching entire entities or single fields on entities
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570282 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:47:58 +00:00
David E. Jones
07b48643c5
As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +00:00
David E. Jones
7d70c41c12
Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Andrew Zeneski
800cb93c3c
updated data loader new command line -help to show all valid arguments
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523400 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 16:31:35 +00:00
Andrew Zeneski
5cf149b79f
fixed so loading data for just a specific component works without having to specify readers
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523181 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 05:27:10 +00:00
Andrew Zeneski
ec22d58cac
implemented new data loading arguement -component to limit data loading to a single component (by name)
...
example:
java -jar ofbiz.jar -install -component=mycomponent -readers=seed,ext,demo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520902 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 14:48:21 +00:00
David E. Jones
b5a7493883
Cleanup of LocalDispatcher creation through the GenericDispatcher object; consolidates a bunch of code and hopefully simplifies a things; should also more permanently fix the weird problem we were having with the testing services a bit ago
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516271 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 02:45:55 +00:00
David E. Jones
ff924a279a
Changed a number of places to use File.toURI().toURL() instead of just File.toURL(); thanks to Andras Robert for his research and comments on this; looking at the Java API docs it looks like this basically just escaped the characters in the eventual URL
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505358 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 16:37:05 +00:00
Jacques Le Roux
dad67935f7
A (large) patch from Scott Gray "Update ASL header" ( https://issues.apache.org/jira/browse/OFBIZ-637 ).
...
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacques Le Roux
a5632fa086
This is hte change of ASL2 headers in java files only.
...
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
Andrew Zeneski
ad6e81d0e5
existing service group files migrated to new format
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493120 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 18:27:44 +00:00
Jacques Le Roux
bd428bde64
A patch from Stefan Huehner "Code-Cleanup: new Boolean(true) -> Boolean.TRUE" ( https://issues.apache.org/jira/browse/OFBIZ-530 ).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484976 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:19:28 +00:00
Jacques Le Roux
f855cb3f2b
A patch from Stefan Huehner "Code-Cleanup: remove superflous new String and .toString() calls" ( https://issues.apache.org/jira/browse/OFBIZ-533 ).
...
This files was missing because I had to revert them to resolve previous conflict
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484974 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:15:39 +00:00
Jacques Le Roux
084ff1b883
A patch from Stefan Huehner "Code-Cleanup: remove unncessary return at end of void function" ( https://issues.apache.org/jira/browse/OFBIZ-536 ).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484972 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 11:52:56 +00:00
Jacques Le Roux
9b3b889c7b
A patch from Stefan Huehner "Remove unused variables" ( https://issues.apache.org/jira/browse/OFBIZ-525 ).
...
Issue is not closed : more patches to come
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483405 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 10:21:27 +00:00
Jacques Le Roux
eb82782d03
A patch from Stefan Huehner "Remove unused variables" ( https://issues.apache.org/jira/browse/OFBIZ-525 ).
...
Issue is not closed : more patches to come
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483235 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 21:18:30 +00:00
David E. Jones
fc96cf5ab7
Changed all build files to add NOTICE and LICENSE files to the META-INF directory in each jar file that is created in OFBiz
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:23:23 +00:00
Jacopo Cappellato
aa106bb4b4
converted deprecated minilang operations to the set operation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466421 13f79535-47bb-0310-9956-ffa450edef68
2006-10-21 16:20:54 +00:00
Jacopo Cappellato
bf32f1f46d
Applied patch from Marco Risaliti to removed some $id tags.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454293 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 06:02:40 +00:00
Jacopo Cappellato
a2a9b0618d
Removed author information from all the files of the "entityext", "example" components: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454125 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 10:44:53 +00:00
David E. Jones
d3f94c5aef
Replaced all old references to [Copyright * The Open For Business Project] which should take care of all of the legal loose ends
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446798 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 00:35:48 +00:00
David E. Jones
d350333ebd
Some fixes for the distributed cache clear services, and the default OpenJMS configuration; contributed by Peter Goron, old Undersun Jira #OFBIZ-876
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442704 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 21:03:10 +00:00
David E. Jones
bea65ea45b
Addressed some issues with i18n stuff and comparisons, type conversions; for numbers spaces are removed before parsing; for comparing with constants the en locale is assumed, ie the right value or value2 is mean to be a constant (we might have to do something with expanded strings here, but there string expansion should also generally expand numbers in the system or en locale; may still be an issue there, but the FlexibleStringExpander does a toString to this should be fine); this should fix Apahce Jira OFBIZ-133 and OFBIZ-136
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429249 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 06:11:08 +00:00
Jacopo Cappellato
c2eb35ac38
License change from MIT to ASL2.0 for the files of entity and entityext components not modified by Adam Heath.
...
Thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423883 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 10:57:51 +00:00