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(a)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(a)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(a)gmail.com>
> Subject: Re: [rules-users] [Droolsflow] Pagination of
> getTasksAssignedAsPotentialOwn
> er
> To: Rules Users List <rules-users(a)lists.jboss.org>
> Message-ID:
> <efac615a0910291314g5ad73ddfr649a989bb83e1b9d(a)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(a)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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users