Commit Graph
310 Commits
Author SHA1 Message Date
David E. Jones 2ccff0b5d8 An option I've resisted for a while due to limited flexibility when used, but we have a lot of these common cases so this may be worth it; can now define CrUD services and not have to implement them for common cases; the create, update, and delete ExampleItem services now use this entity-auto implementation instead of explicit simple-methods; those are tested and are working, and other variations on create should too but I haven't tested them yet; this also includes various refactorings to expose nderlying tools in simple method code and make it reusable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679058 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 10:24:58 +00:00
Scott Gray 37eee64c89 Applied patch from Roland OFBIZ-1848, WSDL generation was creating duplicates when a parameter was being overridden.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@678119 13f79535-47bb-0310-9956-ffa450edef68
2008-07-19 08:38:51 +00:00
Jacques Le Roux 641ff10050 Update Copyright to 2008
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
Jacques Le Roux 89cbe8b368 A patch from Markus Studer ""german translations for framework - base, minilang, service, webapp" (https://issues.apache.org/jira/browse/OFBIZ-1878) - OFBIZ-1878
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676947 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 16:02:31 +00:00
David E. Jones 204d775174 More entitygroups gone, all of framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672910 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 20:49:10 +00:00
Adam Heath 18391f98a9 The build.xml files are now much smaller and simpler; they reuse a
few global definitions.  1585 lines removed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Jacopo Cappellato dbd34520d7 Cleaned up a bunch of warning messages for deprecated methods; in preparation for the framework release.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671223 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 15:47:28 +00:00
Andrew Zeneski d9ab64888d fixed encoding issues with SOAP responses; now ignoring all internal parameters for SOAP client calls (when TimeZone was added it broke the encoding)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@669642 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 18:47:13 +00:00
David E. Jones 64399e2f2e Small change to fix NPE by checking for null instead of checking to see if there is an entry as it could be null
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661338 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 14:31:56 +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
David E. Jones e4804fe553 Applied patch from Bilgin Ibryam in Jira #OFBIZ-1756 to extend the support for by hours and by days in recurrence info and use them as part of conditions for promotions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658108 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 05:48:51 +00:00
Adrian Crum a3536990f1 Locale and Time Zone refactor and bug fixes.
1. Modified the Start class to initialize the JVM default locale and time zone - configurable through start.properties. Removed calls to UtilDateTime.getDefaultTimeZone() - no longer needed.

2. Changed all calls to ObjectType.simpleTypeConvert(...) that didn't supply the necessary Locale and TimeZone objects. This fixes a lot of localization issues, https://issues.apache.org/jira/browse/OFBIZ-1696 being one of them.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658045 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 23:50:14 +00:00
David E. Jones a713ad4bd7 Added support for groovy services, and an example of the same; cleaned up the way that bsh services work and updated the example and such to match, now returns a context as one would expect
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657701 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 00:22: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 c182253d73 Removed more calls to deprecated GenericDelegator methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655013 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 05:35:16 +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 3b7660fc3b Added feature to entity engine to support generic audit log that can be used for any field; values are converted to a string and l using the enable-audit-log attribute on the entity->field element; the Testing entity uses it now for the testName; this also has functionality to associate user info like the userLoginId with the thread so that the EE knows about it automatically, and uses a stack for flexibility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652226 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 02:02:29 +00:00
Scott Gray 1eaf3ccd19 Moved a couple of misplaced semaphore attributes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@649478 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 12:09:09 +00:00
David E. Jones 0b4bcd4807 Added stuff to get definition location URL for all artifact types
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644206 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 07:59:52 +00:00
David E. Jones d8c3eef9b1 Added more info about entities and services in the artifact info page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@639097 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 00:12:44 +00:00
David E. Jones 7a9d0173b7 Fixed issue with format of output, colons aren't good in filenames; fixed issue where triggering ecas weren't getting registered
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634192 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 08:34:45 +00:00
David E. Jones 2fa39223f3 Fixed issue with java parsing; fixed caching for ArtifactInfoFactory; small cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634183 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 07:40:48 +00:00
David E. Jones e6e09fcc68 Moved plist stuff to its own file; added simple class to look for stuff in Java code, amazingly seems to be working to find entities/seseems to be working to find entities/services in java services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634119 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 02:08:10 +00:00
David E. Jones 1af406bebf Changed plist export to use XML form, much more friendly to funny characters; a few fixes/improvements too
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633783 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 07:40:02 +00:00
David E. Jones be576cbf0c A bunch of fixes and refinements, completed first pass of successful full load for all entities/services, and an export of eomodeld forand service and an export for one service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633402 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 09:28:48 +00:00
David E. Jones 062fff4cf0 Fixed a couple of things, fleshed out a little more data gathering for artifact info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633364 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 05:04:54 +00:00
David E. Jones 2bf0afbe4a No real functional changes to operational code, just new stuff for getting meta data about entities, services, etc from the system
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633325 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 23:37:14 +00:00
David E. Jones 22a58861f5 Some refactoring of the entity eomodeld export, wrote initial service and eca calling/called graph, still needs data gathering though
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630737 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 05:47:34 +00:00
Hans Bakker 1ac8c10955 converted several framework language labels files to the xml format and added the Thai language
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630117 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 08:39:43 +00:00
David E. Jones a361298dbb Small change to use List instead of Collection for ECA rule lists in the generic cached Map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628698 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 12:16:11 +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
Si Chen e833224f24 OFBIZ-1594 ability of dispatcher to disable SECAs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@614949 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 18:08:45 +00:00
David E. Jones 5b83a1eb8b Improvement to error message to better describe what is happening when this value isn't found
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@610472 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 17:28:02 +00:00
Andrew Zeneski 0d8ed37403 fix to the synchronization of threads being removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605371 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 00:37:28 +00:00
Andrew Zeneski 81dbc56019 added initial status when using the schedule() method; changed wait() to sleep() in invoker
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605290 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 18:46:02 +00:00
Andrew Zeneski a0ffc4e42b added new service to reset scheduled jobs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605258 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 17:12:58 +00:00
Jacques Le Roux c264e55817 A patch from Eriks Dobelis "WSDL returns error if datatype of parameter is Long or Timestamp" (https://issues.apache.org/jira/browse/OFBIZ-1263) - OFBIZ-1263 where string is used for Timestamp for simplicity reasons.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605075 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 04:07:06 +00:00
David E. Jones c41422d5f0 Added comments and an if to protect a call to remove just in case this method is used in the future in anything other than the JobInvoker.run method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601382 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 16:01:51 +00:00
David E. Jones 0c171dd783 This is a fix for the lock wait timeout problem that was happening for large sets of orders and other high volume operations, and long-lived operations with lots of asynchronous service calls; this includes some diagnostic code to show the status of transactions in other threads when a lock wait timeout error is detected; the main fix here is a big cleanup of the concurrency handling in the JobManager and JobPoller objects, including the use of sleep instead of wait for more strict and consistent sync locking, and the use of different objects for locking different parts of that class since some are meant to be used by various other threads (like the queueNow and next methods) and others are only for the poller thread, like the run method; this also includes certain other small cleanups and improvements, like using FastList/FastMap more
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600164 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 16:50:00 +00:00
Jacques Le Roux 76d9f6bfc2 A patch from Adrian Crum "Improved UtilDateTime.java, Framework Default TimeZone Suppor, with getMonthNames also" (https://issues.apache.org/jira/browse/OFBIZ-1377) - OFBIZ-1377
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594088 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 11:50:09 +00:00
David E. Jones 17d28a89cf Applied patch from Adrian Crum in Jira #OFBIZ-1245, fixes some inconsistencies in previous handling of failure and error messages, a handling of failure and error messages and cleanes up some things related to the recent result-to-result changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@591241 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 06:42:53 +00:00
Andrew Zeneski 69b57d8123 reverted last change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590266 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 18:51:27 +00:00
Andrew Zeneski fef329eeaf added code to display inventory across all facilities as well as the inventory associated with just the facility from the store
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590265 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 18:47:51 +00:00
David E. Jones 2597f80af3 Based on feedback from Adrian changed to merge error messages instead of overwriting them; part of OFBIZ-1237
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589977 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 07:19:17 +00:00
David E. Jones 202d5c420d Fixed issue with new Blob on the entity level and ByteBuffer on the service level stuff related to persisting actual bytes in the db related to persisting actual bytes in the db instead of an object wrapper; also some improvements to the null value and entity, etc; the main issue here was reported by guo weizhan
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589517 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:35:19 +00:00
Scott Gray 6b6d7e6c78 Fixed problem with creating RecurrenceRules, reported by William Perng OFBIZ-1368
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588783 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 21:49:05 +00:00
Adam Heath 759fc3cd6c Undo revision 586470; I missed a spot in checkAuth that changed
the context, after a call to makeValid.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586938 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 19:13:06 +00:00
Adam Heath 9aed331614 Remove 2-arg vararg variants; beanshell doesn't handle overridden
methods correctly.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586924 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 18:18:11 +00:00