[rules-users] LHS Dao Calls

Edson Tirelli tirelli at post.com
Fri Apr 6 14:51:26 EDT 2007


   Rahul,

   Yes, this is new to 3.1M2 (trunk). You can call methods with parameters
if you use predicates. But it is important to note you must be careful when
doing it, because the return value must be time-constant, and there are perf
impacts if you abuse it.

   []s
   Edson

2007/4/6, Rahul Phadnis <rahul.phadnis at fatspaniel.com>:
>
> > ItemVo( statusCode : itemStatusCode != null, (*
> > itemValidationDao.isValidItemStatus(statusCode)*) )
>
> Can we call methods with arguments in the LHS? Or this
> can be done for globals but not facts? Is this a new
> feature of 3.1?
>
> -Rahul
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
  Edson Tirelli
  Software Engineer - JBoss Rules Core Developer
  Office: +55 11 3124-6000
  Mobile: +55 11 9218-4151
  JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070406/a2937c28/attachment.html 


More information about the rules-users mailing list