Fixed: Correcting findOne() in OfbizDslDescriptorForEclipse.dsld
(OFBIZ-10159) The method findOne() which is set in the OfbizDslDescriptorForEclipse.dsld is wrong, since there is no implementation for this method, which only has a String and a List as parameters. I changed it to the correct method, so it can be used within groovy properly, also I put an implementation in the GroovyBaseScriptFile Thanks: Dennis Balkir git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820966 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ contribute(currentType(subType('groovy.lang.Script'))) {
|
||||
|
||||
method name: 'runService', type: 'java.util.Map', params: [serviceName: 'String', inputMap: 'java.util.Map']
|
||||
method name: 'makeValue', type: 'java.util.Map', params: [entityName: 'String']
|
||||
method name: 'findOne', type: 'java.util.Map', params: [entityName: 'String', inputMap: 'java.util.Map']
|
||||
method name: 'findOne', type: 'java.util.Map', params: [entityName: 'String', fields: 'java.util.Map', useCache: 'boolean']
|
||||
method name: 'findList', type: 'java.util.List', params: [entityName: 'String', inputMap: 'java.util.Map']
|
||||
method name: 'select', type: 'org.apache.ofbiz.entity.util.EntityQuery', params: [entity: 'java.util.Set']
|
||||
method name: 'select', type: 'org.apache.ofbiz.entity.util.EntityQuery', params: [entity: 'String...']
|
||||
|
||||
Reference in New Issue
Block a user