Commit Graph
689 Commits
Author SHA1 Message Date
Marco Risaliti b01d55f0a0 Remove some java compilation warnings of ContentMapFacade (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062435 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 14:42:22 +00:00
Marco Risaliti 71f4abe621 Remove some java compilation warnings of ContentServices/ContentWorker (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062430 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 14:15:09 +00:00
Marco Risaliti 4012a3c96e Remove some java compilation warnings of DataServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062286 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 22:37:29 +00:00
Marco Risaliti b4e27181f2 Remove some java compilation warnings of UploadContentAndImage (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062277 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 21:31:08 +00:00
Marco Risaliti 28b2697989 Remove some java compilation warnings of LayoutEvents (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062269 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 20:49:16 +00:00
Marco Risaliti 07335eb41f Avoid a null pointer exception
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062264 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 20:40:52 +00:00
Marco Risaliti 8b0ea1f0c8 Avoid a null pointer exception
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062250 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 20:07:24 +00:00
Marco Risaliti 05f0bf2915 Remove some java compilation warnings of ContentServicesComples (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062178 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 15:43:05 +00:00
Marco Risaliti 77c9573f03 Remove java compilation warnings of PermissionRecorder (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062164 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 14:53:40 +00:00
Marco Risaliti 28a951fb7b Remove java compilation warnings of last two old methods of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062146 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 12:46:50 +00:00
Marco Risaliti da4537dd17 Remove java compilation warnings of some old methods of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062141 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 12:12:29 +00:00
Marco Risaliti 3560e173e2 Remove java compilation warnings of createContent/createContentMethod of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062056 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 22:23:30 +00:00
Marco Risaliti 6c6fdc6dd9 Remove java compilation warnings of some old methods of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062047 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 22:16:46 +00:00
Marco Risaliti 6b80b62f9d Remove java compilation warnings of some old methods of content components (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062032 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 21:12:47 +00:00
Marco Risaliti 3f1d4bed2d No functional changes only re-formatting and change long lines slitted to long lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061500 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 20:39:23 +00:00
Marco Risaliti 71c69af454 Remove java compilation warnings from CompDocEvents/CompDocServices and changes some long lines slitted to long lines (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061486 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 20:08:18 +00:00
Marco Risaliti 4067ee4e87 Remove java compilation warnings from OutputServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061483 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 19:55:35 +00:00
Marco Risaliti 43fbad62cf Remove java compilation warning from BlogRssServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060994 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 21:17:18 +00:00
Marco Risaliti 0d3351b9ee Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059668 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 21:05:02 +00:00
Marco Risaliti 3c977e455b Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059538 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 11:34:10 +00:00
Marco Risaliti ca77476bd3 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059301 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 11:22:00 +00:00
Marco Risaliti 5ecbf7edf5 Reverted revision 1058311 for buildbot failure
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058781 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 22:57:44 +00:00
Marco Risaliti 9ba03238f6 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058311 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 20:54:25 +00:00
Marco Risaliti c568d2f8d2 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057865 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 21:00:49 +00:00
Marco Risaliti 7c1aa5f489 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057831 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 19:57:04 +00:00
Marco Risaliti ceafd4dae2 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057343 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 20:14:36 +00:00
Marco Risaliti 4e976230d7 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056972 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 16:28:21 +00:00
Erwan de Ferrieres 877ac7683d A comment slept into the lucene tests...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1051198 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 16:31:26 +00:00
Erwan de Ferrieres 2005fd7716 Resolving deprecated alerts due to itext 2.1.7 in PdfSurveyServices.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050946 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 21:31:50 +00:00
Erwan de Ferrieres 660aeb051d Adding test and test data for lucene search
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050883 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 15:57:13 +00:00
Erwan de Ferrieres eaf7180711 Migrating from lucene 2.4.1 to lucene 3.0.3
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050811 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 11:12:53 +00:00
Scott Gray 47f43a302a Remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044931 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:31:27 +00:00
Adam Heath a2fd254167 Make FreeMarkerWorker.getWrappedObject auto-cast to whatever type the
caller wants.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044232 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:21:09 +00:00
Adam Heath 45a81692b5 Deprecate the local getArg/getWrappedObject wrappers in all transforms.
Several ftl transforms had local methods, to that wrapped the same named
method in FreeMarkerWorker.  Near as I can tell, this was to reduce
local typing, by not having to always type FreeMarkerWorker.  Having
these local methods increases the permgen memory use(by increasing the
size of the bytecode).  Also, it makes it more difficult to
cross-reference; when the getArg method is seen by a developer, is it a
local method, or a static import?  Using the fully qualified variant
makes it easier to understand what is going on.

The replacement is to use the fully qualified versions in
FreeMarkerWorker.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044231 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:20:57 +00:00
Adam Heath bde3386152 Bother; this code was never ever run. The findByAnd variant it ended up
using was the Object... version.  In essence, creating a new Object[]
{map, null, String}, and then trying to convert that whole thing to a
map(which would have failed).

broken since: 745407, initial checkin
date: Wed Feb 18 08:04:48 2009 +0000

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1043997 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:14:36 +00:00
Adam Heath 10fa2ac694 In the persistRootCompDoc event, the loop over the results from service
persistContentRevisionAndItem was fetching values from the previous
iteration over the persistContentAndAssoc service.

broken since: http://svn.ofbiz.org/svn/ofbiz/trunk@6770, initial checkin
date: Fri Feb 17 22:14:40 2006 +0000

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1043996 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:14:25 +00:00
Adam Heath b1fbc9800d Remove uses of delegator.findByPrimaryKey(Cache)?, and replace with findOne.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040801 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:03:58 +00:00
Adam Heath 3f8ba48174 Make use of several copy() helper methods in UtilIO; these methods all use an internal buffer, instead of the old code that copied 1 byte or 1 character at a time.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040799 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:03:46 +00:00
Hans Bakker 71304ff538 make more use of the cache in order to speed up the ecommerce frontend
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1027347 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 03:04:48 +00:00
Scott Gray b06da51278 Remove the target mime check for text/plain when writing text, previously any target type other than text/html or text/plain would always receive an empty string as output
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996054 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:48 +00:00
Scott Gray e125415317 Generics markup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996053 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:40 +00:00
Scott Gray d15f054082 Correct direction when searching for content to index, the direction is non-intuitive but I've left it as is for now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996052 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:31 +00:00
Scott Gray d0cbebbd41 Add SUB_CONTENT to the list of contentAssocTypeIds to look for when indexing content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996051 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:16 +00:00
Scott Gray d72ba2672d Remove commented debug statements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995720 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 09:34:37 +00:00
Scott Gray b0e084508a Simplify method by passing a default value to UtilProperties.getPropertyValue(...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995719 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 09:34:29 +00:00
Scott Gray 30aff06401 Formatting fixes, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995716 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 09:26:51 +00:00
Scott Gray aea24f851c Correct a couple of copy/paste errors.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995715 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 09:26:43 +00:00
Scott Gray 8c91d61ece Generics markup, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995704 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 08:53:18 +00:00
Hans Bakker 552ab71a62 make the access of productData and content use the cache. This wil result in a 20% speed increase of the ecommerce homepage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988893 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 08:45:08 +00:00
Scott Gray 4448c4a866 No functional changes, just removing a whole bunch of unused imports and reorganizing them along the way.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981019 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 08:28:34 +00:00