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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to