[rules-users] [Droolsflow] Pagination of getTasksAssignedAsPotentialOwner (Mauricio Salatino)

Mauricio Salatino salaboy at gmail.com
Fri Oct 30 18:20:46 EDT 2009


Yes, I can assist you Anderson. Let me know how you prefer to do it.
Greetings

On Fri, Oct 30, 2009 at 3:13 PM, Kris Verlaenen <
kris.verlaenen at cs.kuleuven.be> wrote:

> Anderson,
>
> We do not yet provide this kind of functionality out-of-the-box.  It
> would definitely make sense to extend the task service so you can query
> tasks using parameters like maxResults, firstResult and filterBy.  This
> would, as Mauricio explained, require the addition of additional
> parameters in the TaskServiceSession.getTasksAssignedAsPotentialOwner
> method, and the associated name query
> TasksAssignedAsPotentialOwnerWithGroups.
>
> Do you think you can assist us in adding this functionality?  Simply
> check out from source, modify the task code as necessary, write a simple
> test and provide us with the patch?
>
> Thx,
> Kris
>
> Quoting Anderson vasconcelos <anderson.vass at gmail.com>:
>
> > Hi Mauricio Salatino.
> > Analysing the code of Drools-Process-Task, i found
> > TaskServiceSession. In
> > this service , has the entitityManager , and he called the
> > TasksAssignedAsPotentialOwner.
> >
> > I just wanna to pass a parameter :
> > tasksAssignedAsPotentialOwner.setFirstResult(firstResult);
> > tasksAssignedAsPotentialOwner.setMaxResults(maxResult)
> >
> > To do this, the best way is override a lot of classes?
> > DroosProcessTask,Cannot provided this for me?
> >
> > Thanks
> >
> >
> > Message: 3
> > Date: Thu, 29 Oct 2009 15:14:50 -0500
> > From: Mauricio Salatino <salaboy at gmail.com>
> > Subject: Re: [rules-users] [Droolsflow] Pagination of
> >        getTasksAssignedAsPotentialOwn
> > er
> > To: Rules Users List <rules-users at lists.jboss.org>
> > Message-ID:
> >        <efac615a0910291314g5ad73ddfr649a989bb83e1b9d at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Yes.. also probably you need to extend the named query too..
> >
> > 2009/10/29 Anderson vasconcelos <anderson.vass at gmail.com>
> >
> > > HI
> > >
> > > It's possible to build a real pagination search  using
> > > MinaTaskClient.getTasksAssignedAsPotentialOwner() (Using Limit and
> > Offset)?
> > > Must I Override the implementation of
> > BlockingTaskSummaryResponseHandler
> > or
> > > MinaTaskClient?
> > >
> > > Thanks
> > >
> > > _______________________________________________
> > > rules-users mailing list
> > > rules-users at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/rules-users
> > >
> > >
> >
>
>
>
>
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091030/5d44525d/attachment.html 


More information about the rules-users mailing list