Jacques Le Roux
0272162a99
revert both
...
sequenced-id(.*)field to <sequenced-id-to-env$1env-name
<now-timestamp(.*)field => <now-timestamp-to-env$1env-name
Something is wrong with these 2 tags (inconsistency between xsd and java, I'll look at it)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730397 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 13:59:08 +00:00
Jacques Le Roux
25f83d6d12
<property-to-field(.*)field-name => <property-to-field$1field
...
<store-value value-name => <store-value value-field ... Weird : I have already done this one in r730190 !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730369 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 10:40:29 +00:00
Jacques Le Roux
dbc4228779
<now-timestamp-to-env env-name => <now-timestamp field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730194 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:25:18 +00:00
Jacques Le Roux
1d979ede39
<store-value value-name = > <store-value value-field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730190 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:20:41 +00:00
Jacques Le Roux
bbedb431c2
<get-related(.*)value-name => <get-related$1value-field
...
<get-related(.*)list-name => <get-related$1list
<get-related(.*)\R(.*)list-name => <get-related$1\R$2list-name
<get-related(.*)\R(.*)value-name => <get-related$1\R$2value-field
<calculate field-name => <calculate field
<calcop(.*)field-name => <calcop$1field
<result-to-field(.*)field-name => <result-to-field(.*)field
<result-to-field(.*)field="(.*)"(.*) map-name="(.*)" => <result-to-field$1field="$4.$2"$3
<field-to-request field-name => <field-to-request field
(I had a connection break that's while I put all of them in one sole commit)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730183 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:12:15 +00:00
Jacques Le Roux
38456812e0
<field-to-result(.*)field-name => <field-to-result$1field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730116 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:14:23 +00:00
Jacques Le Roux
e2bbdc2d40
<entity-and(.*)list-name => <entity-and$1list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730114 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:11:33 +00:00
Jacques Le Roux
e01e175266
<entity-one(.*)value-name => <entity-one$1value-field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730111 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:07:14 +00:00
Jacques Le Roux
e25c1d9c67
<create-value(.*)value-name => <create-value$1value-field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730108 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:01:09 +00:00
Jacques Le Roux
4ed4fcf8b9
same but with non
...
<set-pk-fields(.*)map-name => <set-pk-fields$1map
<set-pk-fields(.*)value-name => <set-pk-fields$1value-field
I was not very clever on this one ;)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730107 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:59:10 +00:00
Jacques Le Roux
ec8447c72a
<set-pk-fields(.*)map-name => <set-pk-fields$1map
...
<set-pk-fields(.*)value-name => <set-pk-fields$1value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730104 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:55:26 +00:00
Jacques Le Roux
5e38ebc0ea
<make-value(.*)value-name => <make-value$1value-field
...
r730090 was naive fix also <iterate list-name and entry-name to <iterate list and entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730098 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:28:24 +00:00
Jacques Le Roux
87c67bc088
<first-from-list(.*)list-name => <first-from-list$1list
...
and
<first-from-list(.*)entry-name => <first-from-list$1entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730096 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:17:32 +00:00
Jacques Le Roux
55a4536933
<field-map(.*)env-name => <field-map$1from-field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730092 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:11:15 +00:00
David E. Jones
32c9cdf316
One more enhancement to entity-auto to automatically handle the oldStatusId OUT population and checking StatusValidChange for status changes; note that this does nothing to keep a status history, that should be done in a custom service called by SECA rule
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679301 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 08:24:43 +00:00
David E. Jones
987d4fc1a0
Expanded entity-auto engine to support auto fromDate; a bunch more changes to example component services to eliminate implementations possible so far; now there are just a few left
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679288 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 07:08:10 +00:00
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
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
bd2d32eaba
Started effort of cleaning up element and attribute names in simple-methods, there is a lot of work to do here to make things consistent; for more info and a list of all changes see the docs.ofbiz.org Simple Method Cleanup Effort page
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@666069 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 11:31:17 +00:00
Adrian Crum
aff0cffce9
Fixed properties file resolver in new UtilProperties code.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608315 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 02:50:58 +00:00
Adrian Crum
987b444bdf
Fix for r607823. The OFBiz custom xml properties file format requires the file extension in the resource name. Detailed explanation in the dev mailing list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608156 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 17:41:16 +00:00
David E. Jones
4364e99744
Added example of how to do statusEndDate for a status date range, plus other little cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570035 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 08:35:45 +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
David E. Jones
4516bbe6dd
Added simple-method-test to call a simple-method as a service, without a service definition; also includes some various fixes including one from Joe in Jira OFBIZ-791
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516253 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 01:28:43 +00:00
David E. Jones
175284f620
Appled patches from Joe Eckard for the ServiceTest implementation, and example to use it; Jira #OFBIZ-791; I made a small change to the patch to show the key and value for the error message Map
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515876 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:21:49 +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
David E. Jones
7802b644ce
Small cleanup, changed rather incomprehensible error message
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498538 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 06:06:09 +00:00
David E. Jones
c8ffca7540
Added resource-description attribute to permission-service element, which if not specified will default to the service-name for the main service; this is then passed to the permission service for use in error messages, etc; added example to this in the example component; also updated the header on the ExamplePermissionServices.xml file to make it more consistent
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494762 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 08:18:50 +00:00
Andrew Zeneski
30d8e24db3
added examples of using new service based security; removed all security calls from the simple methods, added the security line to the definitions, implemented a generic simple permission example
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494720 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 05:31:37 +00:00
David E. Jones
48cc1c73f1
Fixed update problem when there is no statusId on an existing Example, as an example
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488041 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 20:34:34 +00:00
Jacopo Cappellato
bf0711f3c8
Maybe it's not strictly necessary, but I think it's however fine to add the license headers to these files too (mostly text files).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463907 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 10:01:06 +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
Jacopo Cappellato
9ea4e08993
License change from MIT to ASL2.0 for the files of the example component.
...
Thanks to Scott Gray for the patch (Apache OFBIZ-87).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423842 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 09:02:21 +00:00
David E. Jones
94fe6d1cda
Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00