<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Michal Bali wrote:
<blockquote
 cite="mid:58f4ed90903161834r1c46d675g6140898f8f9de9ac@mail.gmail.com"
 type="cite">Hi,<br>
  <br>
I am trying this on trunk. There is currently no way how to iterate
objects in a StatelessKnowledgeSession.<br>
  <br>
I've tried to use the GetObjectsCommand, however when it is executes
the result is lost in the ether :). The collection of objects is not
handed back to the user.<br>
  <br>
I guess it should probably be added to the BatchExecutionResults? It
will then be possible to access this collection of objects.<br>
</blockquote>
You have ot specify what it is you want as an out, either as an 'out'
on an inserted fact or global or a query. <br>
<blockquote
 cite="mid:58f4ed90903161834r1c46d675g6140898f8f9de9ac@mail.gmail.com"
 type="cite"><br>
Please let me know if there is a different way how to iterate over
objects in a StatelessKnowledgeSession. I'd like to use an ObjectFilter
as well.<br>
</blockquote>
Extend the Query interface and use that to filter the iterator on a
returned query.<br>
<blockquote
 cite="mid:58f4ed90903161834r1c46d675g6140898f8f9de9ac@mail.gmail.com"
 type="cite"><br>
Best Regards,<br>
Michal<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>