New method to filter one field from a list of GenericValues (to a List of 
Strings)
----------------------------------------------------------------------------------

                 Key: OFBIZ-4307
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4307
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Mirko Vogelsmeier
            Priority: Minor


Hi there,

in the past i often got Lists of GenericValues that only contained a 
GenericValue with one field each, because the delegator already filtered the 
result.
Like you want to filter "orderHeader" for a service to work with the orderId. 
In this case you got a list of GenericValues with only the field "orderId". But 
to work with the List you still always have to do .get to extract the one field.

I added a method that is able to filter a List<GenericValue> to a List<String>.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to