[jboss-user] [jBPM] - Re: Alternate to the deprecated methods?

Maciej Swiderski do-not-reply at jboss.com
Sat Jan 12 04:30:53 EST 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Alternate to the deprecated methods?"

To view the discussion, visit: https://community.jboss.org/message/790584#790584

--------------------------------------------------------------
> roxy1987 wrote:
> 
> Hi,
> 
> The following method/class are deprecated, what alternate method can be used for the same functionality?
> 
> 1) *taskClient.getTasksAssignedAsPotentialOwner ( http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true String userId,  http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true List< http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true String> groupIds,  http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true String language,  http://docs.jboss.org/jbpm/v5.4/javadocs/org/jbpm/task/service/TaskClientHandler.TaskSummaryResponseHandler.html TaskClientHandler.TaskSummaryResponseHandler responseHandler)* : Need to use this for retrieving group tasks.
one that is without groupIds and register UserGroupCallback that will retrieve user groups on demand when querying.


> roxy1987 wrote:
> 
> 2) *commandBasedWSHumanTaskHandler.connect()*
> 
There are dedicated handlers based on the transport, for instance for HornetQ you'll find AsyncHornetQHTWorkItemHandler, all of these handlers should have connect method.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/790584#790584]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130112/0c34c57d/attachment.html 


More information about the jboss-user mailing list