Discussion:
[jboss-user] [jBPM] - Alternate to the deprecated methods?
roxy1987
2013-01-11 16:12:42 UTC
Permalink
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Alternate to the deprecated methods?"

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

--------------------------------------------------------------
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.

2) *commandBasedWSHumanTaskHandler.connect()*

Thanks.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-01-12 09:30:53 UTC
Permalink
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

--------------------------------------------------------------
Post by roxy1987
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.
Post by roxy1987
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]
roxy1987
2013-01-14 14:43:51 UTC
Permalink
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Alternate to the deprecated methods?"

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

--------------------------------------------------------------
Post by Maciej Swiderski
one that is without groupIds and register UserGroupCallback that will retrieve user groups on demand when querying.
"There is a method which doesnt take groupids as parameter but takes a registered userGroupCallBack". Is that what you meant?  I could not find the method you are talking about. Or may be I misunderstood.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
roxy1987
2013-01-14 19:23:10 UTC
Permalink
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Alternate to the deprecated methods?"

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

--------------------------------------------------------------
Great. Thankyou Maciej.
--------------------------------------------------------------

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

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